Skip to content

Instantly share code, notes, and snippets.

View banyudu's full-sized avatar
๐ŸŽฏ
Focusing

Yudu banyudu

๐ŸŽฏ
Focusing
View GitHub Profile
@shreeshga
shreeshga / gist:1627145
Created January 17, 2012 15:45
md5sum through brew
brew install md5sha1sum
@reu
reu / pub-sub.js
Created April 9, 2013 01:51
node.js redis pub-sub example
var redis = require("redis")
, subscriber = redis.createClient()
, publisher = redis.createClient();
subscriber.on("message", function(channel, message) {
console.log("Message '" + message + "' on channel '" + channel + "' arrived!")
});
subscriber.subscribe("test");
@yyx990803
yyx990803 / nl.sh
Last active February 21, 2025 05:40
npm list only top level modules.
alias ng="npm list -g --depth=0 2>/dev/null"
alias nl="npm list --depth=0 2>/dev/null"
@facultymatt
facultymatt / roles_invesitgation.md
Last active April 16, 2024 09:31
Roles and permissions system for Nodejs
@afternoon
afternoon / rename_js_files.sh
Created February 15, 2014 18:04
Rename .js files to .ts
find app/src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} \;
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/zscott/.rubies/ruby-trunk/bin/ruby extconf.rb
checking for sqlite3.h... yes
checking for sqlite3_libversion_number() in -lsqlite3... yes
checking for rb_proc_arity()... yes
checking for sqlite3_initialize()... yes
checking for sqlite3_backup_init()... yes
checking for sqlite3_column_database_name()... no
checking for sqlite3_enable_load_extension()... no
@azam
azam / svg2ico.sh
Last active February 24, 2025 11:46
Convert SVG to ICO using ImageMagick, with transparent background and multi-size icons
convert -density 256x256 -background transparent favicon.svg -define icon:auto-resize -colors 256 favicon.ico
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
@hoserdude
hoserdude / doge.txt
Created June 15, 2015 15:15
Doge ASCII
โ–„ โ–„
โ–Œโ–’โ–ˆ โ–„โ–€โ–’โ–Œ
โ–Œโ–’โ–’โ–ˆ โ–„โ–€โ–’โ–’โ–’โ–
โ–โ–„โ–€โ–’โ–’โ–€โ–€โ–€โ–€โ–„โ–„โ–„โ–€โ–’โ–’โ–’โ–’โ–’โ–
โ–„โ–„โ–€โ–’โ–‘โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–ˆโ–’โ–’โ–„โ–ˆโ–’โ–
โ–„โ–€โ–’โ–’โ–’โ–‘โ–‘โ–‘โ–’โ–’โ–’โ–‘โ–‘โ–‘โ–’โ–’โ–’โ–€โ–ˆโ–ˆโ–€โ–’โ–Œ
โ–โ–’โ–’โ–’โ–„โ–„โ–’โ–’โ–’โ–’โ–‘โ–‘โ–‘โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–€โ–„โ–’โ–’โ–Œ
โ–Œโ–‘โ–‘โ–Œโ–ˆโ–€โ–’โ–’โ–’โ–’โ–’โ–„โ–€โ–ˆโ–„โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–ˆโ–’โ–
โ–โ–‘โ–‘โ–‘โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–Œโ–ˆโ–ˆโ–€โ–’โ–’โ–‘โ–‘โ–‘โ–’โ–’โ–’โ–€โ–„โ–Œ
โ–Œโ–‘โ–’โ–„โ–ˆโ–ˆโ–„โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–’โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–’โ–’โ–’โ–’โ–Œ