1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2025-10-15 15:08:27 +02:00

2238 Commits

Author SHA1 Message Date
francis
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
Grzegorz Wierzowiecki
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 Homme
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 Smeyers
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 Prabhakar
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 Ziata
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‌​​​
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
slockhax
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
luka598
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 Spijker
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
Rico Sta. Cruz
a7335649e2
Fix Cloudflare beacon 2024-03-28 21:07:58 +11:00
Rico Sta. Cruz
faa73e54b0
Bump HTTP caching in assets 2024-03-28 20:10:10 +11:00
Rico Sta. Cruz
44bdd413fb
Major rewrite (!) (#2130) 2024-03-28 19:59:22 +11:00
Rico Sta. Cruz
bf059536c6
Disable publishing to gh-pages branch (#2129)
* Delete .github/workflows/deploy.yml

* Move to links.ts
2024-03-28 00:44:09 +11:00
Rico Sta. Cruz
021ec16bf1
Remove auto deployment to gh-pages (#2127) 2024-03-25 10:36:00 +11:00
Rico Sta. Cruz
1c9e012802
Add Cloudflare Pages redirects file (#2126) 2024-03-24 23:57:02 +11:00
Rico Sta. Cruz
2ac6e0ed0c
Update Node/Ruby versions (#2125)
* Update versions

* Bump GitHub workflows
2024-03-24 23:48:08 +11:00
Yudai Takada
dc91d7f64e
Remove a case that is not negative examples in the capybara sheet (#2122)
The above case is a new Bad case added by https://github.com/rstacruz/cheatsheets/pull/1798 . It is designated as Bad due to performance issues, but it is not actually a Negative example. In practice, the following would be the same test:

```ruby
expect(page).to have_button('Save')
!expect(page).to have_button('Save')
```

This is not an example that will appear on the capybara cheat sheet, because it is a problem with how RSpec is written. I think it should be removed because it creates confusion.
2024-03-22 08:53:55 +11:00
Yudai Takada
e8bfec363f
Fix some typos (#2121)
* mispelling ==> misspelling

* boundry ==> boundary

* Subsituted ==> Substituted

* expresion ==> expression

* bandwith ==> bandwidth

* Contstructor ==> Constructor

* chaning ==> changing

* retrive ==> retrieve

* mached ==> matched

* devlopment ==> development

* inheritence ==> inheritance

* browers ==> browsers

* avalible ==> available

* funciton ==> function

* calulate ==> calculate
2024-03-22 08:53:26 +11:00
Jared Wenerd
bdf7fc2505
applescript handler example (#2124) 2024-03-22 08:53:08 +11:00
Tamas Papp
dc066dc18f
Remove redundant syntax (#2111)
Either use the `function` or `()` but not both, it's redundant.
2024-03-16 00:26:36 +11:00
BSD-Yassin
46907176f9
Two changes : Correction on Fish cheatsheet & version update on Docker compose (#2115)
* fixed conditional equal operator as per the official documentation https://fishshell.com/docs/current/cmds/test.html

* updated docker compose cheatsheet, added good to remember functionalities and added V2 mention

---------

Co-authored-by: yassin <yassin.bousaadi@sword-group.com>
2024-03-16 00:25:32 +11:00
Daniel Metzler
4f18d6a46b
Update cron.md (#2116)
Added missing special strings for crontab
2024-03-16 00:24:53 +11:00
Rico Sta. Cruz
d4cac4c37e
Fix some formating issues 2024-03-16 00:23:32 +11:00