Skip to content

Instantly share code, notes, and snippets.

View rnjn's full-sized avatar
🔨
building

@rnjn rnjn

🔨
building
View GitHub Profile
@rnjn
rnjn / setup-mac.sh
Created August 10, 2021 02:08
dev box setup
#!/bin/bash
# pick a name you want
sudo scutil --set HostName v
sudo scutil --set ComputerName v
sudo scutil --set LocalHostName v
dscacheutil -flushcache
#install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Keybase proof

I hereby claim:

  • I am rnjn on github.
  • I am rnjn (https://keybase.io/rnjn) on keybase.
  • I have a public key whose fingerprint is 1F04 C509 3ADC 4771 7701 54E0 9DB2 F389 31FD C499

To claim this, I am signing this object:

@rnjn
rnjn / gist:30db5d4445acfa653537
Last active August 29, 2015 14:11
managing multiple git repositories in a subfolder
find . -type d -depth 1 -print0 -exec git -C {} status --ignore-submodule=dirty \;
find . -type d -depth 1 -print0 -exec git -C {} reset --HARD \;
find . -type d -depth 1 -print0 -exec git -C {} pull --rebase \;
@rnjn
rnjn / init.part.el
Last active August 29, 2015 13:56
emacs setup
(setq installed-packages '(
color-theme
color-theme-solarized
yasnippet
auto-complete
js2-mode
ac-js2
))
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")