Skip to content

Instantly share code, notes, and snippets.

View davidchchang's full-sized avatar
💭
We're Hiring!

David Chang davidchchang

💭
We're Hiring!
View GitHub Profile
@davidchchang
davidchchang / clean-everything.sh
Last active March 24, 2020 20:07 — forked from simistern/gist:bb026e68877b6d49cb54e1740328159b
Catch-all script for clearing react-native caches and resetting the build (this uses yarn)
echo "Cleaning up node modules";
rm -rf node_modules;
yarn install;
echo "Clearing all temp directories";
rm -rf $TMPDIR/react-native-packager-cache-*;
rm -rf $TMPDIR/metro-*;
rm -rf $TMPDIR/react-*;
rm -rf $TMPDIR/haste-*;
watchman watch-del-all;
echo "Cleaning up iOS folders"
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://gist.github.com/1595572).
#
@davidchchang
davidchchang / capistrano_database_yml.rb
Created September 11, 2011 16:06 — forked from weppos/capistrano_database_yml.rb
Provides a couple of tasks for creating the database.yml configuration file dynamically when deploy:setup is run.
#
# = Capistrano database.yml task
#
# Provides a couple of tasks for creating the database.yml
# configuration file dynamically when deploy:setup is run.
#
# Category:: Capistrano
# Package:: Database
# Author:: Simone Carletti <[email protected]>
# Copyright:: 2007-2010 The Authors