チートシートとは
普段使うコードとか、よく忘れやすい、コピペするコードを集めた情報です。
自分が使う言語のチートシートを書いておきます。
チートシート集
| URL | 内容 |
|---|---|
| https://github.com/detailyang/awesome-cheatsheet | チートシート集 |
Python
| URL | 内容 |
|---|---|
| https://github.com/PythonCharmers/python-future | Py2/3-compatible code |
| https://github.com/ehmatthes/pcc/releases/download/v1.0.0/beginners_python_cheat_sheet_pcc_all.pdf | Pythonの基本的チートシート(全部乗せ) |
| https://perso.limsi.fr/pointal/_media/python:cours:mementopython3-english.pdf | Python 3 Cheat Sheet |
| https://qiita.com/hatai/items/34c91d4ee0b54bd7cb8b | Awesome Python (日本語) |
| https://github.com/lucrae/django-cheat-sheet | Django チートシート |
Perl
| URL | 内容 |
|---|---|
| https://perldoc.perl.org/perlcheat | Perlの簡単なチートシート |
| https://michaelgoerz.net/refcards/perl_refcard.pdf | Perl の詳細なチートシート(pdf) |
| https://cheatography.com/mishin/cheat-sheets/perl-reference-card/ | Perl の詳細なチートシート(HTML) みやすい |
bash
MySQL/SQL
| URL | 内容 |
|---|---|
| https://coolshell.cn/articles/3463.html | SQL分を書く際の参考になる |
| https://devhints.io/mysql | MySQLチートシート |
VIM
| URL | 内容 |
|---|---|
| https://vim.rtorr.com/lang/ja | vimのチートシート(日本語) |
Vue.js
| URL | 内容 |
|---|---|
| https://marozed.com/vue-cheatsheet/ | カラフルなチートシート |
tmux
| URL | 内容 |
|---|---|
| https://gist.github.com/andreyvit/2921703 | tmuxの基本コマンドが抑えてある。 |
curl HTTP cheat sheet
https://github.com/curl/curl-cheat-sheet より
| Verbose | Hide progress | extra info | Write output | Timeout |
|---|---|---|---|---|
| -v | -s | -w “format” | -O | -m |
| –trace-ascii | -o | |||
| POST | multipart | PUT | HEAD | custom |
| -d “string” | -F name=value | -T | -I | -X “METHOD” |
| -d @file | -F name=@file | |||
| Basic auth | read cookies | write cookies | send cookies | user-agent |
| -u user:password | -b | -c | -b “c=1; d=2” | -A “string” |
| Use proxy | Headers, add/remove | follow redirs | gzip | insecure |
| -x | -H “name: value” | -L | –compressed | -k |
| -H “name:” | エラーメッセージ出力抑制 | |||
| -Ss |