Skip to content

Instantly share code, notes, and snippets.

View sandangel's full-sized avatar
๐ŸŽฏ
Improving my workflow

San Nguyen sandangel

๐ŸŽฏ
Improving my workflow
View GitHub Profile
@tanyuan
tanyuan / smart-caps-lock.md
Last active May 9, 2025 20:31
Smart Caps Lock: Remap Caps Lock to Control AND Escape

Smart Caps Lock: Remap to Control AND Escape (Linux, Mac, Windows)

ๆŠŠ Caps Lock ่ฎŠๆˆๆ™บๆ…ง็š„ Control ไปฅๅŠ Escape ๏ผš

  • ๅ–ฎ็จ่ผ•ๆŒ‰ไธ€ไธ‹ๅฐฑๆ˜ฏ Escape ใ€‚
  • ่‹ฅๆŒ‰ไธ‹ๆ™‚ๅŒๆ™‚ๆŒ‰่‘—ๅ…ถไป–้ต๏ผŒๅฐฑๆœƒๆ˜ฏ Control ใ€‚

้€™ๆ‡‰่ฉฒๆ˜ฏ Vim ๅ’Œ Emacs ็š„ๆœ€ไฝณ่งฃไบ†๏ผ(Emacs? Bash ็š„ๅฟซๆท้ตๅฐฑๆ˜ฏ Emacs ็ณปๅˆ—็š„)

  • Send Escape if you tap Caps Lock alone.
@remojansen
remojansen / class_decorator.ts
Last active September 14, 2023 14:54
TypeScript Decorators Examples
function logClass(target: any) {
// save a reference to the original constructor
var original = target;
// a utility function to generate instances of a class
function construct(constructor, args) {
var c : any = function () {
return constructor.apply(this, args);
}
@roachhd
roachhd / README.md
Last active May 19, 2025 15:24
EMOJI cheatsheet ๐Ÿ˜›๐Ÿ˜ณ๐Ÿ˜—๐Ÿ˜“๐Ÿ™‰๐Ÿ˜ธ๐Ÿ™ˆ๐Ÿ™Š๐Ÿ˜ฝ๐Ÿ’€๐Ÿ’ข๐Ÿ’ฅโœจ๐Ÿ’๐Ÿ‘ซ๐Ÿ‘„๐Ÿ‘ƒ๐Ÿ‘€๐Ÿ‘›๐Ÿ‘›๐Ÿ—ผ๐Ÿ”ฎ๐Ÿ”ฎ๐ŸŽ„๐ŸŽ…๐Ÿ‘ป

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. โœˆ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: ๐Ÿ˜„

@soarez
soarez / ca.md
Last active April 24, 2025 12:51
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.