当前位置:网站首页>A wave of open source notebooks is coming
A wave of open source notebooks is coming
2022-07-07 15:46:00 【Cut a little cold】
“ Copy ” You should not be unfamiliar with the word , It has a scientific name called “ Quick reference table ”(cheatsheet) It is a form used to quickly find your knowledge points and answers , Because of its small size 、 Imperceptible and other characteristics , Frequently appear in examination rooms and speeches ...

Friendship tips ️: Cheating in the exam is a pleasure , Catch is the crematorium !
I remember an exam in College , The teacher allowed each of us to bring one A4 Paper size “ Copy ” Enter the examination room , You can write anything on both sides . I take that one Dense and dense There is no blank “ Copy ”, Step into the examination room with confidence . This course has the highest score in all my classes , Later, the make-up students came to me to copy this “ Copy ”.
today , Although I won't take the exam anymore , But I still keep a cheat sheet handy . such as : When writing code, I suddenly can't remember grammar 、 code snippet 、 command , At this time, a cheat sheet ( Quick reference table ) Can work wonders ! With it, you can find the answer in an instant , Copy / Paste Can solve the problem , Greatly improved development efficiency .
below , It is specially prepared for programmers 「 Open source notes 」 aggregate , It contains Python、JavaScript、Linux、Git、K8s etc. , It is easy to read due to its large variety , I divided them into : Language 、 Command and synthesis are three categories .
Gossip , Go straight to the project !
One 、 Language class
Writing code is like writing a composition. There are times when you pick up your pen and forget your words , But this must not be allowed to interrupt the atmosphere of immersive coding . The following checklist items cover :Python、C++、Rust、JS Language , It can make you forget grammar 、 When the operation fails , Instantly retrieve the memory and switch back to the coding process .
1.1 Python(python-cheatsheet)
Star Count :29.5k| chinese : no

Python The grammar of is very simple , It's also because it's simple that many people don't spend time deliberately remembering , With this project, you don't have to be grammar . It's right Python Common data types 、 function 、 Libraries are classified , It can help you quickly find the code fragments and syntax explanations you want , Only “ Fill in the blanks ” These codes can come right away .
from threading import Thread, RLock, Semaphore, Event, Barrier
from concurrent.futures import ThreadPoolExecutor
<Thread> = Thread(target=<function>) # Use `args=<collection>` to set the arguments.
<Thread>.start() # Starts the thread.
<bool> = <Thread>.is_alive() # Checks if the thread has finished executing.
<Thread>.join() # Waits for the thread to finish.
It is strongly recommended to new contacts Python My friends , Feel good, remember to come back and praise !
On-line :https://gto76.github.io/python-cheatsheet
project :https://github.com/gto76/python-cheatsheet
1.2 C++(cpp-cheatsheet)
Star Count :1.9k| chinese : no
C++ It was a required course when I was in College ! It is also the first programming language for many college students ( The nightmare ), If you mention C++ Grammar brain is a ball of paste , It's better to look at this project. Maybe you can build a clear C++ Knowledge system , At its worst, it can be copied / Paste and write what can run C++ Code .
#include <iostream> // Include iostream (std namespace)
cin >> x >> y; // Read words x and y (any type) from stdin
cout << "x=" << 3 << endl; // Write line to stdout
cerr << x << y << flush; // Write to stderr and flush
c = cin.get(); // c = getchar();
cin.get(c); // Read char
cin.getline(s, n, '\n'); // Read line into char s[n] to '\n' (default)
if (cin) // Good state (not EOF)?
// To read/write any type T:
istream& operator>>(istream& i, T& x) {i >> ...; x=...; return i;}
ostream& operator<<(ostream& o, const T& x) {return o << ...;}
project :https://github.com/mortennobel/cpp-cheatsheet
1.3 Rust(cheats.rs)
Star Count :2.9k| chinese : no

A lot of people say Rust Easy to learn, not easy to write . Here comes the Savior ! This project not only provides basic grammar quick reference , There are also notes to be paid attention to when explaining the execution sequence and writing . If you think it's not enough , The project also includes sample code (EX)、 Books (BK)、 standard (STD) And other related materials .

On-line :https://cheats.rs
project :https://github.com/ralfbiedert/cheats.rs
1.4 JavaScript(modern-js-cheatsheet)
Star Count :23k| chinese : no
Now the back-end will write some front-end more or less , Maybe because I haven't learned systematically JavaScript grammar , In most cases, we write while checking . The code examples of this project are particularly rich , I hope this can save the struggling JS Partners in the grammar puzzle .
async function getUser() { // The returned promise will be rejected!
throw "User not found !";
}
async function getAvatarByUsername(userId) => {
const user = await getUser(userId);
return user.avatar;
}
async function getUserAvatar(username) {
var avatar = await getAvatarByUsername(username);
return { username, avatar };
}
getUserAvatar('mbeaudru')
.then(res => console.log(res))
.catch(err => console.log(err)); // "User not found !"
project :https://github.com/mbeaudru/modern-js-cheatsheet
in addition , Here's another one React+TypeScript A quick look-up of , Together with :
This project is different from the previous project , It elicits knowledge points in the form of questions and answers , And give answers and sample code .
project :https://github.com/typescript-cheatsheets/react
Two 、 command
In addition to programming language in coding , It's also inseparable from many other things , such as : Tools 、 System 、 Services, etc. , To use them efficiently, you need to remember commands , But the order is too miscellaneous 、 Too much to remember . The following items cover , frequently-used Git、Linux、K8s command , Collect it quickly and it will be used one day !
2.1 Git(git-tips)
Star Count :13.9k| chinese : yes
Git Version management tool , It is often used in daily development . In understanding work area 、commit、 Temporary storage area 、 Local repository 、 Remote warehouse After the concept, you can get started , But when encountering some special scenes , We need the following project to save the site ! When you don't know what to use Git When the command completes the operation or there is any simple method , Directly in this project Ctrl/Cmd+f
Search , The order to solve the problem can be found immediately .
Deletions have been merged into master The branch of
git branch --merged master | grep -v '^\*\| master' | xargs -n 1 git branch -d
project :https://github.com/521xueweihan/git-tips
Here's another one GitHub Officially made Git Quick reference table .
Address :https://education.github.com/git-cheat-sheet-education.pdf
2.2 Linux(linux-command)
Star Count :19k| chinese : yes
Developers are usually inseparable Linux operating system , and Linux The server is also a command line operation , If you don't know the command, you can't even open a file , however Linux There are too many orders for , I really can't remember everything . With this project , You can search as you like , It also supports Chinese search .

On-line :https://wangchujiang.com/linux-command
project :https://github.com/jaywcjlove/linux-command
besides , Another large and comprehensive project has to be mentioned tldr:
An open source Linux Command query tool , A simplified version of man And “ as the medicine took effect , the symptoms lessened ”, It can be called 《 new edition Linux Encyclopedia of commands 》( english ).
project :https://github.com/tldr-pages/tldr
2.3 Kubernetes(cheatsheet-kubernetes-A4)
Star Count :1.5k| chinese : no
With the unstoppable nature of cloud ,K8s It has also become one of the necessary skills for operation and maintenance and programmers . The project tries to be on a A4 Show its common commands on paper , Hence the name .

project :https://github.com/dennyzhang/cheatsheet-kubernetes-A4
It is worth mentioning that the author also wrote Docker edition , Good in pairs .
project :https://github.com/dennyzhang/cheatsheet-docker-A4
3、 ... and 、 comprehensive
I have seen the quick look-up table of the above sub areas , Here are some comprehensive projects , The project use methods introduced in this part have their own characteristics : There is something that can be printed , There are also commands to check directly , There are also web pages that can be used online , To be honest, I want to order one for myself 「 Fabulous 」 了 !
3.1 Data processing (ds-cheatsheets)
Star Count :10.7k| chinese : no
Data processing is a wide range of fields , There are many knowledge points, including :SQL、R、Pandas、Jupyter、 big data 、 Data visualization, etc . This project covers all the above contents , And from basic to practical . a key ! Provides a high appearance 、 Full color PDF It can be printed out , On the wall 、 It's convenient to check it often under the screen .

project :https://github.com/FavioVazquez/ds-cheatsheets
3.2 Online website (cheatsheets)
Star Count :11.8k| chinese : no
This is an open source 、 Comprehensive checklist website , Covering the front end 、 Back end 、 Operation and maintenance 、IDE In many ways , And the interface is friendly and concise, and it supports online viewing .

On-line :https://devhints.io
project :https://github.com/rstacruz/cheatsheets
3.2 Command line (cheat.sh)
Star Count :29.2k| chinese : no
Finally, this project is great , It's called 「 The only quick reference table you need 」. It not only supports direct query from the command line :

It also supports website online query :

Either way , All geeks are full !
On-line :https://cheat.sh
project :https://github.com/chubin/cheat.sh
Four 、 Last
The above is all shared in this issue 「 Open source notes 」 project , Have you found your dish ?
Often the most handy cheat sheet , It's a cheat sheet made by yourself ! I hope these open source projects in this issue can add some content to your Codex , Or provide some ideas on the convenience of use , So as to build the most suitable for yourself 、 The most handy “ Weapon of magic ”!
Someone might ask : Now there are AI Programming assistant (Copilot) What other notes are needed ?
Copilot It's really more convenient , But I think the process of making a cheat sheet is also Sorting and precipitation of knowledge The process of , And maintaining an open source manuscript can not only leave a strong impression on yourself , Why not help others ! As the saying goes :“ From open source , Give back to open source ”.
Last , If you think the content of this issue is good : Praise 、 For collection 、 Please forward , Your support is my greatest encouragement ! See you next time ~
Focus on 「HelloGitHub」 Receive updates as soon as possible
边栏推荐
- Stm32f103c8t6 PWM drive steering gear (sg90)
- Gd32 F3 pin mapping problem SW interface cannot be burned
- [quick start of Digital IC Verification] 23. AHB sramc of SystemVerilog project practice (3) (basic points of AHB protocol)
- 【數字IC驗證快速入門】26、SystemVerilog項目實踐之AHB-SRAMC(6)(APB協議基本要點)
- 如何在opensea批量发布NFT(Rinkeby测试网)
- The significance of XOR in embedded C language
- How to release NFT in batches in opensea (rinkeby test network)
- The "go to definition" in VS2010 does not respond or prompts the solution of "symbol not found"
- Ue4/ue5 multi thread development attachment plug-in download address
- 【原创】一切不谈考核的管理都是扯淡!
猜你喜欢
Mesh merging under ue4/ue5 runtime
Yunxiaoduo software internal test distribution test platform description document
Use of SVN
The download button and debug button in keil are grayed out
Spin animation of Cocos performance optimization
Async and await
Configure mongodb database in window environment
OpenGL's distinction and understanding of VAO, VBO and EBO
Getting started with webgl (2)
HW初级流量监控,到底该怎么做
随机推荐
Write sequence frame animation with shader
How to release NFT in batches in opensea (rinkeby test network)
Implementation of crawling web pages and saving them to MySQL using the scrapy framework
OpenGL's distinction and understanding of VAO, VBO and EBO
MySQL bit type resolution
[quick start of Digital IC Verification] 26. Ahb-sramc of SystemVerilog project practice (6) (basic points of APB protocol)
Getting started with webgl (1)
Webgl texture
【OBS】RTMPSockBuf_ Fill, remote host closed connection.
Yunxiaoduo software internal test distribution test platform description document
unnamed prototyped parameters not allowed when body is present
[Lanzhou University] information sharing of postgraduate entrance examination and re examination
从 1.5 开始搭建一个微服务框架链路追踪 traceId
C Alibaba cloud OSS file upload, download and other operations (unity is available)
[server data recovery] data recovery case of raid failure of a Dell server
Nacos conformance protocol cp/ap/jraft/distro protocol
【数字IC验证快速入门】18、SystemVerilog学习之基本语法5(并发线程...内含实践练习)
./ Functions of configure, make and make install
When opening the system window under UE4 shipping, the problem of crash is attached with the plug-in download address
【Markdown语法高级】让你的博客更精彩(四:设置字体样式以及颜色对照表)