Install git:
sudo apt-get install git
Configure Git:
touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"
git config --global user.email "Your Email"
| const util = require('util') | |
| const mysql = require('mysql') | |
| const pool = mysql.createPool({ | |
| connectionLimit: 10, | |
| host: 'localhost', | |
| user: 'root', | |
| password: 'password', | |
| database: 'my_database' | |
| }) |
| #!/usr/bin/env python3 | |
| # taken from http://www.piware.de/2011/01/creating-an-https-server-in-python/ | |
| # generate server.xml with the following command: | |
| # openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes | |
| # run as follows: | |
| # python simple-https-server.py | |
| # then in your browser, visit: | |
| # https://localhost:4443 | |
| import http.server |
| [diff] | |
| tool = vsdiffmerge | |
| [difftool] | |
| prompt = true | |
| [difftool "vsdiffmerge"] | |
| cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer\\vsDiffMerge.exe\" \"$LOCAL\" \"$REMOTE\" //t | |
| keepbackup = false | |
| trustexistcode = true | |
| [merge] | |
| tool = vsdiffmerge |
Install git:
sudo apt-get install git
Configure Git:
touch ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
git config --global user.name "Your Name"
git config --global user.email "Your Email"
| # Android | |
| platforms/android/assets/www | |
| platforms/android/bin/ | |
| platforms/android/gen/ | |
| platforms/android/res/xml/config.xml | |
| # iOS | |
| platforms/ios/build/ | |
| platforms/ios/CordovaLib/build/ | |
| platforms/ios/www |
| import java.io.IOException; | |
| import java.lang.reflect.Constructor; | |
| import java.lang.reflect.Field; | |
| import java.lang.reflect.InvocationTargetException; | |
| import java.lang.reflect.Method; | |
| import android.graphics.Bitmap; | |
| import android.graphics.Matrix; | |
| import android.os.Build; |