Skip to content

Instantly share code, notes, and snippets.

View pixelknitter's full-sized avatar
🍎
Fresh juice..

Eddie Freeman pixelknitter

🍎
Fresh juice..
View GitHub Profile
@jarretmoses
jarretmoses / React Native Clear Cache
Last active July 17, 2024 15:14
Clearing the Cache of your React Native Project
RN < 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
RN >= 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
RN >= 0.63 - watchman watch-del-all && rm -rf node_modules && npm install && rm -rf /tmp/metro-* && npm run start --reset-cache
npm >= 5 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && npm install && npm start -- --reset-cache
Windows - del %appdata%\Temp\react-native-* & cd android & gradlew clean & cd .. & del node_modules/ & npm cache clean --force & npm install & npm start -- --reset-cache
IT'S SHOWTIME
HEY CHRISTMAS TREE isLessThan100
YOU SET US UP @NO PROBLEMO
HEY CHRISTMAS TREE n
YOU SET US UP 0
HEY CHRISTMAS TREE multiple
YOU SET US UP @NO PROBLEMO
STICK AROUND isLessThan100
@jhosmer
jhosmer / Crittercism_dSYM_Upload.sh
Created November 2, 2012 18:06
Upload a zipped dSYM to Crittercism
#!/bin/sh
########################################################################################################
########################################################################################################
## Author: Jonathan Hosmer (http://pythonforios.com) ##
## Date: 2 November 2012 ##
########################################################################################################
########################################################################################################
### ** How to use this script ** ###
### Add a 'Run Script' build phase and enter the path to this script ###
### Include these macros in your xcconfig Config file or the 'Build Settings' tab of the Project ###
@neonichu
neonichu / strip-lib.sh
Created January 23, 2012 12:35
Strip debug symbol from universal static libraries (tested for iOS only)
#!/bin/sh
#
## Strip debug symbol from universal static libraries
#
if [ -z "$1" ]
then
echo "$0 library"
exit 1