Skip to content

Instantly share code, notes, and snippets.

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

Sandy sandangel

๐ŸŽฏ
Improving my workflow
View GitHub Profile
@tony-gutierrez
tony-gutierrez / AWS_Single_LetsEncrypt.yaml
Last active November 14, 2025 22:06
AWS Elastic Beanstalk .ebextensions config for single instance free SSL using letsencrypt certbot and nginx. http://bluefletch.com/blog/domain-agnostic-letsencrypt-ssl-config-for-elastic-beanstalk-single-instances/
# Dont forget to set the env variable "certdomain", and either fill in your email below or use an env variable for that too.
# Also note that this config is using the LetsEncrypt staging server, remove the flag when ready!
Resources:
sslSecurityGroupIngress:
Type: AWS::EC2::SecurityGroupIngress
Properties:
GroupId: {"Fn::GetAtt" : ["AWSEBSecurityGroup", "GroupId"]}
IpProtocol: tcp
ToPort: 443
@tanyuan
tanyuan / smart-caps-lock.md
Last active May 13, 2026 18:24
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 January 17, 2026 16:35
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 7, 2026 16:21
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 May 11, 2026 19:21
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.