$ scp source_file_path destination_file_path
Single file
| require('crypto').randomBytes(48, function(err, buffer) { var token = buffer.toString('hex'); console.log(token); }); |
Setup multiple ssh key: https://coderwall.com/p/7smjkq/multiple-ssh-keys-for-different-accounts-on-github-or-gitlab
| # 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'@'%'; |
| { | |
| "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.
| keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 |
| { | |
| "parser": "babel-eslint", | |
| "env": { | |
| "browser": true | |
| }, | |
| "plugins": [ | |
| "react", | |
| "react-native" | |
| ], | |
| "ecmaFeatures": { |