当前位置:网站首页>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
边栏推荐
- There is a cow, which gives birth to a heifer at the beginning of each year. Each heifer has a heifer at the beginning of each year since the fourth year. Please program how many cows are there in the
- Tkinter after how to refresh data and cancel refreshing
- postman生成时间戳,未来时间戳
- 【数字IC验证快速入门】26、SystemVerilog项目实践之AHB-SRAMC(6)(APB协议基本要点)
- Syntax of generator function (state machine)
- 2022全开源企业发卡网修复短网址等BUG_2022企业级多商户发卡平台源码
- Streaming end, server end, player end
- Use of SVN
- Asynchronous application of generator function
- 有一头母牛,它每年年初生一头小母牛。每头小母牛从第四个年头开始,每年年初也生一头小母牛。请编程实现在第n年的时候,共有多少头母牛?
猜你喜欢
Monthly observation of internet medical field in May 2022
Typescript release 4.8 beta
webgl_ Enter the three-dimensional world (2)
[quick start of Digital IC Verification] 25. AHB sramc of SystemVerilog project practice (5) (AHB key review, key points refining)
【跟着江科大学Stm32】STM32F103C8T6_PWM控制直流电机_代码
The difference between full-time graduate students and part-time graduate students!
postman生成时间戳,未来时间戳
Super simple and fully automated generation super signature system (cloud Xiaoduo minclouds.com cloud service instance), free application in-house test app distribution and hosting platform, maintenan
[quick start of Digital IC Verification] 20. Basic grammar of SystemVerilog learning 7 (coverage driven... Including practical exercises)
Steps to create P8 certificate and warehousing account
随机推荐
MySQL bit type resolution
Unity之ASE实现全屏风沙效果
Share the technical details of super signature system construction
LeetCode1_ Sum of two numbers
The "go to definition" in VS2010 does not respond or prompts the solution of "symbol not found"
UE4 exports the picture + text combination diagram through ucanvasrendertarget2d
Super signature principle (fully automated super signature) [Yun Xiaoduo]
[quick start of Digital IC Verification] 23. AHB sramc of SystemVerilog project practice (3) (basic points of AHB protocol)
Cocos creator collision and collision callback do not take effect
【兰州大学】考研初试复试资料分享
Spin animation of Cocos performance optimization
The bank needs to build the middle office capability of the intelligent customer service module to drive the upgrade of the whole scene intelligent customer service
2.Golang基础知识
What is Base64?
Yunxiaoduo software internal test distribution test platform description document
Async and await
Webcodecs parameter settings -avc1.42e01e meaning
Do you know the relationship between the most important indicators of two strong wind control and the quality of the customer base
【Markdown语法高级】让你的博客更精彩(四:设置字体样式以及颜色对照表)
Pat grade a 1103 integer factorizatio