Commit Graph

2219 Commits

Author SHA1 Message Date
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
Rico Sta. Cruz 3e4487a8ed
Fix formatting of /bash 2024-03-16 00:21:53 +11:00
JoeSSi d328285853
new sed commands (#2104)
* delete and insert text with sed

* regex ranges and replacements

---------

Co-authored-by: joessi <jossipro9@gmail.com>
2024-02-15 07:43:19 +11:00
Rico Sta. Cruz ccd97452a6
yum: update formatting 2024-02-15 07:42:47 +11:00
Guillaume Dorschner 3be696141e
Yum cheatsheet (#2101)
See the documentation used : https://access.redhat.com/sites/default/files/attachments/rh_yum_cheatsheet_1214_jcs_print-1.pdf
2024-02-15 07:41:45 +11:00
Mateus Caruccio 7317522a8c
Adds Indirection and prefix name expansion (#2102) 2024-02-15 07:40:36 +11:00
Drew Arrigoni c7d50cdbe1
Add contains exactly and match array expectations (#2106) 2024-02-15 07:40:15 +11:00
Rico Sta. Cruz 6fbdf3efbe
Update dependencies, Ruby, Node (#2099)
* Update deps

* Update GitHub actions

* Update netlify runtimes

* Add csv

* Downgrade to Ruby 3.2.3
2024-02-04 22:35:55 +11:00
TheDarkTron e21b17f5e7
Changed basics section to start/detach/list/reattach since these is the dominant usecase (#2098) 2024-02-04 19:25:40 +11:00
Rico Sta. Cruz 95c60a03b4
Update announcement 2023-12-14 08:58:10 +11:00
Iftakhar Husan de4bb16b2d
Add multi range brace expansion to bash.md (#2071) 2023-12-14 08:54:12 +11:00
Mandeep Sekhon 1dbdb9c1aa
Fix spelling (#2069)
Changed "Conditinal" to "Conditional"
2023-12-14 08:46:17 +11:00
Mostafa Ahangarha afb4634e79
Fix typo for grep (#2075) 2023-12-14 08:45:49 +11:00
hacktivista 122e4d4992
sequel.md: many_to_many {left,right}_{id=>key} (#2073) 2023-12-14 08:45:32 +11:00
Rico Sta. Cruz af33da8de6
Update to github-pages@228 (#2067)
* Update to github-pages@228

* Add webrick
2023-10-11 21:39:23 +11:00
Sweidan Omár 3b16d4cf2c
Update vimscript.md (#2008)
Added a section on overwriting functions
2023-07-20 21:05:28 +10:00
Rico Sta. Cruz 9c2b6d725f
mako: Fix snippet and frontmatter (#1824) 2023-07-19 23:03:18 +10:00
Saikat Roy ba8d9189ae
docker system commands added (#1778)
* docker system commands added

* .cache directory removed

* .cache directory remove along with all unncessary files inside it

* .cache directory added to gitignore

* .cache in git ignore modified
2023-07-19 22:59:31 +10:00
Mi! 90dbde9990
Update fish-shell.md (#2022) 2023-07-19 22:59:12 +10:00
Jakob (Koby) Shimony a2d0c9279d
fix typo in tar.md (#2020)
* fix typo in tar.md

* Fix indentation
2023-07-19 22:58:25 +10:00