Til
:sparkles: Curated list of useful code snippets / programming tips & knowledge. Check my Gists as well!
Install / Use
/learn @cyan33/TilREADME
TIL
:sparkles:Today I Learned
It's always rewarding to write down some thoughts. Writing blogs could be time-consuming. So, inspired by @jbranchaud, I have found a new way to summarize and share knowledge with you guys.
The catogories below could vary a lot from Front-End development, to the abstract thoughts pattern, or even to general life-living tips. Feel free to leave your thoughts or comments by opening an issue.
Categories
Data Structure and Algorithms
- XOR Swap Values
- Heap Queue / Priority Queue
- Two Sum IV - BFS & DFS
- Sorting Algorithms in Python
- Common Search Algorithms in Python
- Find the Greatest Common Devisor and the Least Common Multiple
- Find All the Divisors
- Hexadecimal conversion
Front-End
- The Difference Between React Component, Element, and Instance
- What's the Meaning of the Trailing Space at the End of An Url
- What's the difference between polyfill, shim, and fallback
- Is
setStatein ReactJS Asynchronous or Synchronous? - How to Write a Module for Both Browser and Node.js
CSS
Git
- Git Hook Example
- Gitignore Tracked Files
- What is Cherrypick in Git
- Change the Commit History with Git Rebase
- Modify-Multiple-Commits-Author
- Remove Untracked Files in Git
Vim
UNIX
- How to Copy, Move, Rename, Delete Files with UNIX
- File Navigation
- Metacharacters in Regular Expression
JavaScript
- Core Concepts in MobX
- Properties Getters
- Deep Clone for Array
- Difference Between Lodash
MergeandAssign - An Intro to Node.js
- How to Tell the Local Environment with JavaScript
- What's the Difference Between module.exports and exports
- What's the Use Case of Reduce
- Modularity in JavaScript in Short - CommonJS, AMD and ES Harmony
- Decimal to Binary and Vice Versa
- Difference between for...in and for...of
- The Set Data Structure in ES2015
Other TIL Collections
License
© 2017 Chang Yan
This repository is licensed under the MIT license.
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
