Skip to content

Instantly share code, notes, and snippets.

@ragingwind
ragingwind / Backend Architectures Keywords and References.md
Last active April 17, 2024 10:51
Backend Architectures Keywords and References
@ragingwind
ragingwind / nginx.conf
Created August 5, 2019 09:19
Redirect old-classic browser including IE 11
worker_processes 1;
events {
worker_connections 1024;
}
http {
map $http_user_agent $outdated {
default 0;
"~MSIE [1-10]\." 1;
@ragingwind
ragingwind / nodemon.json
Created December 21, 2022 00:06
nodemon.json for monorepo
{
"verbose": true,
"ignore": [
"node_modules",
".next",
"package.json"
],
"watch": [
"examples/**/*",
"packages/model/src",
@ragingwind
ragingwind / IgnoreList
Created September 19, 2022 09:42
IgnoreList for Resilio Sync
# IgnoreList is a UTF-8 encoded .txt file that helps you specify single files, paths and rules
# for ignoring during the synchronization job. It supports "?" and "*" wildcard symbols.
#
#
# OS generated files #
$RECYCLE.BIN
$Recycle.Bin
System Volume Information
ehthumbs.db
desktop.ini
@ragingwind
ragingwind / hyper.js
Created January 4, 2022 12:50
hyper.js for CaskaydiaCove Nerd Font
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@ragingwind
ragingwind / .swcrc
Created November 2, 2021 02:23
swcrc
{
"jsc": {
"parser": {
"syntax": "ecmascript",
"jsx": false,
"dynamicImport": false,
"privateMethod": false,
"functionBind": false,
"classPrivateProperty": false,
"exportDefaultFrom": false,
@ragingwind
ragingwind / Using-SVG.markdown
Created September 26, 2014 05:19
A Pen by Jimmy Moon.
tell application "System Events"
key down {command}
keystroke {tab}
delay 0.2
key up {command}
end tell
@ragingwind
ragingwind / won-as-backquote.sh
Last active August 7, 2021 03:49
Backquote binding for won key
mkdir -p ~/Library/KeyBindings &&
echo '{ "₩" = ("insertText:", "`"); }' >> ~/Library/KeyBindings/DefaultkeyBinding.dict
@ragingwind
ragingwind / rgb.cpp
Created May 13, 2021 23:31
RGB Class for Modern C++
#include <iostream>
#include <string>
#include <map>
#include <cxxabi.h>
class RGB {
public:
using value_type = std::tuple<unsigned, unsigned, unsigned>;
RGB(unsigned r, unsigned g, unsigned b) : m_r(r), m_g(g), m_b(b) {}