2252 Commits
Author SHA1 Message Date
Nick-Builds-tools 9ceae55055 fix: separate RDoc and YARD references (#2232)
## Summary

- keep the RDoc cheatsheet focused on RDoc markup and directives
- move YARD-specific tags into a dedicated YARD cheatsheet
- update both references against current official documentation

## Why

The existing RDoc sheet mixes RDoc directives with YARD tags such as
`@param`, `@return`, `@raise`, and `@option`. This makes the examples
look like native RDoc syntax.

The new split keeps each reference accurate and easier to scan.

Closes #2176.
Closes #2172.

## Checks

- Prettier passes for both Markdown files
- frontmatter and fenced code blocks verified
- no promotional links or unrelated changes
2026-08-25 20:28:55 +10:00
Kait 5fc5cef0ca bash: add note that variables are expanded in normal heredocs (#2230)
This is can be unexpected and wasn't clear in the old wording.
2026-08-08 15:58:14 +10:00
Rico Sta. Cruz f3c9084480 git-extras: tighten table descriptions to 8-word limit 2026-07-05 06:44:17 +10:00
Chris​‌​‮ ‬Hayes‌​​​ 5e6201fcb0 Updates to git-extras cheatsheet (#1859)
Updates to the `git-extras` cheatsheet.

* Remove non-existent command "git impact"
* Update repo location (repo location was moved)
* Add additional git-extras commands

closes #1858
2026-07-05 06:44:07 +10:00
nicolas Trauwaen ac693623b7 screen - add copy/scrollback mode (#2189)
For the screen cheatsheet, I added the copy/scrollback mode.
2026-07-05 06:39:54 +10:00
Praveen KumarandRico Sta. Cruz 9f2601792b Add -ss, -t, -pix_fmt, -crf, and stream selection to ffmpeg
Updated FFMPEG page by adding following arguments

1. -ss
2. -t
3. -map
4. -pix_fmt
5. -crf

---------

Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
2026-07-05 06:32:46 +10:00
Alex Harrison 8ffe11412f Remove assignment from variable declaration section in go.md
Admittedly, I'm at a junior dev level, but I believe the code as written
is syntactically incorrect. I think that the `:` is required for `msg`
to be declared as a variable. I don't believe you can just use the
assignment operator (`=`) to declare `msg` as a variable by assigning it
the value of `"Hello"` in the 'Go!' language like you can in python,
dart, et al.

Go! does have type inference but it must be done with the walrus
operator (`:=`). Line 49 denotes that this is the `Variable Declaration`
section so I believe the `:` preceding the `=` is necessary.

On deeper checking, I think this line should be deleted because it's
syntactically incorrect and the shortcut for variable declaration and
assignment using the walrus operator is already covered below.
2026-07-05 06:30:43 +10:00
Janusz 'Kali' Kaliszczak 1b631cb69a Fix clipboard command description in vim.md
Keys `"*y` _/_ `"+y` should be described as `Copy to system clipboard`
and not `Paste to system clipboard`
2026-07-05 06:29:27 +10:00
Piyush Sharma bbc370cf67 Fix typo in python.md 2026-07-05 06:28:03 +10:00
Praveen KumarandRico Sta. Cruz 6b3b35472a Added rclone page (#2199)
Added cheatsheet for Rclone

---------

Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
2025-11-25 00:27:27 +11:00
Rico Sta. Cruz f4cc3b1fbb chore(node): update Node.js version to 22.21.1 in .node-version 2025-11-04 22:17:13 +11:00
Rico Sta. Cruz 4ed38842a3 Update _docs/writing-guidelines.md 2025-11-02 00:04:27 +11:00
Rico Sta. Cruz 793a2627a7 Update AGENTS.md (+1 more changes) 2025-11-01 23:54:57 +11:00
Rico Sta. Cruz 05aa18e678 Add AGENTS.md (+1 more changes) 2025-11-01 22:34:43 +11:00
97db63d83d Add Claude Code cheatsheet with comprehensive command reference (#2190)
## Summary
- Add new cheatsheet for Claude Code AI assistant CLI
- Include most commonly used commands first for better UX  
- Cover interactive mode, file operations, git integration, and advanced
features
- Add comprehensive sections for workflows, troubleshooting, and best
practices
- Follow repository formatting conventions with proper YAML frontmatter

## Features Covered
-  Interactive mode and core commands
-  File operations and git integration  
-  Advanced features (memory, image analysis)
-  Slash commands and productivity features
-  Common workflows (code review, testing, debugging)
-  IDE integrations and configuration
-  Troubleshooting and environment variables

## Test plan
- [X] Verify YAML frontmatter follows repository conventions
- [X] Check markdown formatting and table structure
- [X] Ensure most used commands are prioritized at the top
- [X] Validate all sections use proper Jekyll formatting classes
- [X] Confirm links and references are accurate

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Le Coq Francis <f.lecoq@jacquetmetals.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-08-24 08:31:43 +10:00
cubangeorge 01ee3a82c6 adding an alternate shorter way that does not depend on the basename (#2191) 2025-08-24 08:30:43 +10:00
Tyler Woodcook 1f681bd293 Remove duplicate :disabled (#2195)
`:disabled` is listed twice in this table.
2025-08-24 08:30:24 +10:00
c2ffe99a30 Add Set Theory section to vim-digraphs cheatsheet (#2186)
## Summary
- Added a new Set Theory section to the vim-digraphs cheatsheet
- Includes commonly used mathematical symbols for set theory operations
- Follows the existing format and style of the cheatsheet

## Changes
- Added Set Theory section with symbols for:
  - ∀ (forall) - `FA`
  - ∃ (exists) - `TE`
  - ∈ (element of) - `(-`
  - ∅ (empty set) - `/0`
  - ⊆ (subset or equal) - `(_`
  - ⊇ (superset or equal) - `)_`
  - ∩ (intersection) - `(U`
  - ∪ (union) - `)U`
  - ⊂ (subset) - `(C`
  - ⊃ (superset) - `)C`
- Removed duplicate set theory symbols from Math section
- Added descriptive labels for each symbol

## Test plan
- [x] Verified all digraph codes work in Vim
- [x] Checked formatting consistency with existing sections
- [x] Ensured no duplicate symbols across sections

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Greg OmniMind (claude) <gwgithub23+claude@wierzowiecki.pl>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-04 23:06:23 +10:00
Kjetil Torgrim HommeandRico Sta. Cruz b00d106985 bash: adjust example to read from file into array (#2187)
* use `$()` rather than deprecated ``
* illustrate shortcut for builtin read of file without `cat`
* don't imply this reads lines, it will split into words by default

perhaps the cheatsheet should have a section on IFS, but that's
off-topic for this patch.

Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
2025-07-01 08:25:49 +10:00
ales 1ba47a8e7e Add additional keywords to jsdocs.md (#2171)
Add common keywords to js docs cheatsheets
2025-06-29 10:51:57 +10:00
Pierre SmeyersandRico Sta. Cruz 93d0654801 Bash: add Herestring & Process substitution chapters (#2184)
This PR adds:

- link to the Heredoc refdoc (always handy for not straightforward
concepts)
- chapter about Herestring
- chapter about Process Substitution (I know it is already tackled in
the _Redirection_ chapter but I believe it deserves its own one...

Congrats for this cheatsheet, by far my most beloved one ever !!

---------

Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
2025-06-29 10:51:05 +10:00
Rico Sta. Cruz 17bd2c9b82 Fix playwright (#2188) 2025-06-29 10:08:39 +10:00
Manjunath PrabhakarandRico Sta. Cruz 0df6062c3a Updated the $X() usage as it supports chromium (#2183)
Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
2025-05-11 01:12:59 +10:00
Denis Telnov 6253384e7d Embedded Images in Markdown (#2174)
[GFM](https://loilo.github.io/gfm-preview/) now supports the ability to
embed Base64 encoded images in Markdown.
2025-01-20 14:34:19 +11:00
Mohamed ZiataandRico Sta. Cruz 83e30b2c0e 📝 Add packs.md (#2152)
Adding a page per `packs` documentation on
https://github.com/rubyatscale/packs

`packs` is a system to modualize ruby projects.

---------

Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
2024-09-24 23:25:54 +10:00
Aarsh db4b9363e0 fix: annoying browser suggestions (#2160)
I was looking for notes and then when i was searching svelte i couldn't
see the possible search hits.so i turned autocomplete off now it works
like charm.
2024-09-24 23:24:33 +10:00
Morten Siebuhr 25eaa9a78c Update tar.md to show file-listing (#2162) 2024-09-24 23:23:51 +10:00
Nick Korostelev 1fa8ae160f Python: add Set and modify Dict (#2163) 2024-09-24 23:23:27 +10:00
Cyprien 746bae2ebe Update jsdoc.md to use the @import keyword (#2159)
Added the newer import syntax that works on TS 5.5
2024-07-29 21:40:12 +10:00
David Lakin 27970b1495 Add missing syntax highlighting to python.md (#2154)
Fixes missing code highlighting in half of the Python code snippets.

The top half of the page had code examples formatted as code blocks with
4 space character indentations and no syntax highlighting as a result.

The bottom half on the other hand, used code blocks surrounded by
"```py" formatting brackets which hints to many markdown renders that
syntax highlighting should be applied.

This unifies the code blocks in the top half of the page to use the same
formatting syntax used in the bottom half with syntax highlighting.

This change was prompted by requests to add the syntax highlighting in
comments on the https://devhints.io/python page.
2024-07-16 22:32:46 +10:00
Rico Sta. Cruz edfb8bba78 Update cache GitHub action (#2147)
The `actions/cache`acrion uses the deprecated Node 16 runtime. Upgrading
actions/cache should fix this.
2024-06-27 21:00:10 +10:00
Çınar Civan 403cc72ee3 New shortcut for vim.md (#2143)
New shortcut `:q!` added for quit without checking changes in `vim.md`
file.
2024-06-27 20:38:14 +10:00
Chris​‌​‮ ‬Hayes‌​​​andRico Sta. Cruz 5c9fd725cf Include warning on polyfill.io sheet; use CF instead (#2146)
A warning is added to the polyfill.io sheet in relation to the malicious
script that is now being served by polyfill.io. Removed all links to
that domain.

The code snippets have also been updated to use Cloudflare's script
instead. This allows users to keep using polyfill securely while they
move their codebase away from using this polyfill.

Cloudflare press release:
https://blog.cloudflare.com/polyfill-io-now-available-on-cdnjs-reduce-your-supply-chain-risk

Fixes #2145

---------

Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
2024-06-27 20:35:59 +10:00
Rico Sta. Cruz fffa95b86b Bump updated for tmux 2024-04-08 18:36:29 +10:00
Mathis Chenuet 1325a4c6e6 Add search to tmux, explain mouse support for scrolling (#2036) 2024-04-08 18:34:11 +10:00
Rico Sta. Cruz 7f81a61d0d Remove vestegial files (#2135)
Files that should have been removed in the recent refactors, but
weren't.
2024-04-08 18:33:43 +10:00
Rico Sta. Cruz 42dd9eff84 Readability updates (#2134)
This PR updates the headings to avoid thin font weights and low
constrast ratios.

<table>
<tr>
<th>Before</th>
<th>After</th>
</tr>
<tr>
<td>


![image](https://github.com/rstacruz/cheatsheets/assets/74385/b7313b99-0376-49c1-84cd-e3476b2c84ff)

</td>
<td>


![image](https://github.com/rstacruz/cheatsheets/assets/74385/c2aec010-9976-4543-910b-dd9112995846)

</td>
</tr>
<tr>
<td>


![image](https://github.com/rstacruz/cheatsheets/assets/74385/e214d4a5-9a20-4a86-abc8-3261fc418192)

</td>
<td>


![image](https://github.com/rstacruz/cheatsheets/assets/74385/71a91afc-aa7b-4b8b-adf2-30a976c4a324)

</td>
</tr>
</table>
2024-04-03 23:37:00 +11:00
Rico Sta. Cruz 511de900ba Formatting updates (#2133)
- Update some sheets which have very long sections
- Remove `layout: 2017/sheet` (everything has the same layout now)
- Remove outdated sheets
2024-04-03 18:30:24 +11:00
Rico Sta. Cruz 641915c80c Prevent double-build in PR's 2024-03-30 18:53:37 +11:00
Rob Barreca d62bbeb024 Fix before/after with no arg (#2042)
No arg defaults to :each not :all 


https://www.rubydoc.info/github/rspec/rspec-core/RSpec%2FCore%2FHooks:before
2024-03-29 18:55:47 +11:00
Artem 758a48d9c5 Update pm2.md (#2080)
about counters :)
2024-03-29 18:55:36 +11:00
Sam Weaver 8e03519c2b Add example of not operator to lua.md (#2095) 2024-03-29 18:55:22 +11:00
slockhaxandRico Sta. Cruz e067bd588d Updated out of date link in go.md (#2092)
Previous link for the Go wiki was no longer valid. Updated to the
current wiki site location.

Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
2024-03-29 18:48:34 +11:00
luka598andRico Sta. Cruz ba20f0bf67 Fix typo. Add second star to the beginning of jsdoc block. (#2085)
Change this
```js
/*
 * @alias Foo.bar
 * @name Foo.bar
 */
```
to this
```js
/**
 * @alias Foo.bar
 * @name Foo.bar
 */
```

Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
2024-03-29 18:48:15 +11:00
Rico Sta. Cruz 9ef88ffade Run workflow on pull request 2024-03-29 18:46:24 +11:00
Menno SpijkerandRico Sta. Cruz 4b05ba3b0a Update kotlin.md (#2096)
Added return type on method.

Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
2024-03-29 18:44:16 +11:00
Rico Sta. Cruz a7b5dbe1e7 Remove inactive cheatsheets (#2131)
Remove some very old ones that may not be relevant anymore.
2024-03-29 18:41:21 +11:00
Rico Sta. Cruz d138253d1e Use aggressive CSS inlining 2024-03-28 23:57:44 +11:00
Rico Sta. Cruz 49f5585e62 Remove Cloudflare beacon 2024-03-28 22:01:42 +11:00
Rico Sta. Cruz feb02eb551 Update carbon CDN URL 2024-03-28 21:13:20 +11:00