Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View eriirawan's full-sized avatar
🏠
Working from home

Eri Irawan eriirawan

🏠
Working from home
  • Jakarta, Indonesia
View GitHub Profile
@mayank-shekhar
mayank-shekhar / Rename Package Name in React Native
Created February 16, 2018 07:28
Rename App ID and Package name for a React Native App.
For Android:
Manually change it in android/app/src/main/java/com/PROJECT_NAME/MainActivity.java:
package MY.APP.ID;
In android/app/src/main/java/com/PROJECT_NAME/MainApplication.java:
package MY.APP.ID;
In android/app/src/main/AndroidManifest.xml:
package="MY.APP.ID"
@gerad
gerad / pre-commit.sh
Created December 3, 2009 01:01
git pre-commit hook that checks for debugger / console.log and trailing commas - install at PROJECT/.git/hooks/pre-commit
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by git-commit with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, make this file executable.
# This is slightly modified from Andrew Morton's Perfect Patch.