当前位置:网站首页>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
边栏推荐
- [quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)
- Cut ffmpeg as needed, and use emscripten to compile and run
- 【微信小程序】Chapter(5):微信小程序基础API接口
- 【数字IC验证快速入门】24、SystemVerilog项目实践之AHB-SRAMC(4)(AHB继续深入)
- [target detection] yolov5 Runtong voc2007 data set
- webgl_ Enter the three-dimensional world (2)
- How to understand that binary complement represents negative numbers
- Connecting FTP server tutorial
- Share the technical details of super signature system construction
- XMIND frame drawing tool
猜你喜欢
Starting from 1.5, build a microservice framework link tracking traceid
After UE4 is packaged, mesh has no material problem
Monthly observation of internet medical field in May 2022
【數據挖掘】視覺模式挖掘:Hog特征+餘弦相似度/k-means聚類
[deep learning] image hyperspectral experiment: srcnn/fsrcnn
Getting started with webgl (4)
[quick start for Digital IC Validation] 26. Ahb - sramc (6) for system verilog project practice (Basic Points of APB Protocol)
[server data recovery] data recovery case of raid failure of a Dell server
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
unnamed prototyped parameters not allowed when body is present
随机推荐
【数字IC验证快速入门】20、SystemVerilog学习之基本语法7(覆盖率驱动...内含实践练习)
[data mining] visual pattern mining: hog feature + cosine similarity /k-means clustering
A need to review all the knowledge, H5 form is blocked by the keyboard, event agent, event delegation
[Lanzhou University] information sharing of postgraduate entrance examination and re examination
Syntax of generator function (state machine)
postman生成时间戳,未来时间戳
Mathematical modeling -- what is mathematical modeling
Steps to create P8 certificate and warehousing account
从 1.5 开始搭建一个微服务框架链路追踪 traceId
【OBS】RTMPSockBuf_ Fill, remote host closed connection.
Pat grade a 1103 integer factorizatio
Points for attention in porting gd32 F4 series programs to gd32 F3 series
[quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)
Yunxiaoduo software internal test distribution test platform description document
Mesh merging under ue4/ue5 runtime
webgl_ Graphic transformation (rotation, translation, zoom)
[server data recovery] a case of RAID data recovery of a brand StorageWorks server
./ Functions of configure, make and make install
有钱人买房就是不一样
Unity's ASE realizes cartoon flame