Setup multiple ssh key: https://coderwall.com/p/7smjkq/multiple-ssh-keys-for-different-accounts-on-github-or-gitlab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "supertesting-test2", | |
"alias": "supertesting-test2.now.sh", | |
"version": 2, | |
"builds": [ | |
{ | |
"src": "package.json", | |
"use": "@now/static-build" | |
} | |
], |
in robots.txt
User-agent: *
Disallow: /
this will not allow the crawler access your website, will work if your web haven't been indexed.
run this to debug available simulator
xcrun simctl list --json devices
basicly this json output is what react-native run-ios parse to find the matching simulator.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Login | |
$ mysql -u root -p | |
# Check privileges | |
$ SHOW GRANTS FOR 'read-only_user_name'@'%'; | |
# Remove the privileges if any | |
$ REVOKE ALL PRIVILEGES ON database_name.* FROM 'read-only_user_name'@'%'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true | |
}, | |
"plugins": [ | |
"react", | |
"react-native" | |
], | |
"ecmaFeatures": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> $ gulp ⬡ 8.9.4 [±master ●●] | |
[07:03:45] Using gulpfile /media/dehamzah/ssd/projects/projects/bps-satu-data/satudata-mobile-ionic/gulpfile.js | |
[07:03:45] Starting 'sass'... | |
[07:03:45] Starting 'index'... | |
[07:03:45] Starting 'scripts'... | |
[07:03:45] Starting 'styles'... | |
[07:03:45] Starting 'clean-templates'... | |
[07:03:45] Starting 'clean-images'... | |
[07:03:45] Starting 'lib'... | |
info: Preening: ngCordova |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################## | |
# To run: | |
# curl -sSL https://gist.githubusercontent.com/andrewelkins/1adc587feb610f586f8f40b50b7efc3a/install-docker-on-linux-mint-18.sh | bash -x | |
########################################## | |
# Kernel version http://stackoverflow.com/a/4024263 | |
versionlte() { | |
[ "$1" = "`echo -e "$1\n$2" | sort -V | head -n1`" ] | |
} | |
versionlt() { |
NewerOlder