// based on linux mint 17.3
/////////////////////////////////////////
// JAVASCRIPT & NODE DEV
/////////////////////////////////////////
// install nodejs, npm, cordova, ionic
# Extensions to install | |
AutoImport | |
PowerShell | |
# Bash as terminal | |
File -> Preferences -> Settings | |
and add | |
``` | |
{ | |
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe" |
sudo apt-get update && sudo apt-get upgrade | |
# we want to use nodejs 6 | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
sudo apt-get install -y git nodejs-legacy npm | |
npm config set unsafe-perm true | |
sudo npm install -g @angular/cli # note: the angular-cli crashes at creating projects with "ng new" so you will have to manually run "npm install" after the project has been created | |
#add docker client (to be run against e.g. Docker for windows) | |
sudo apt-get install -y docker.io |
apt-get update && apt-get upgrade | |
apt-get install openssh-server | |
# dyndns | |
apt-get install ddclient | |
# do/re-do the settings: dpkg-reconfigure ddclient | |
# 2FA | |
sudo apt-get install libpam-google-authenticator | |
# and follow http://askubuntu.com/questions/609117/how-to-setup-two-factor-authentication-in-ubuntu-for-ubuntu-users-using-google-a |
# | |
# to run | |
# START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/asksven/755df33e405910c0440e509e47241b49/raw/0bde7e3ea7e810365ed199280d36bfb0d9704327/BoxStarter%2520Workstation | |
# | |
# | |
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
cinst atom | |
#cinst google-chrome-x64 | |
cinst googlechrome.canary |
If 2fa is enabled on github switch to ssh instead of https on linux | |
1. generate an ssh keypair on your linux box | |
ssh-keygen -t {rsa|dsa} | |
2. add the public key to github: profile - settings - ssh keys | |
3. switch from https to ssh | |
Check your repo remote: |
// based on linux mint 17.3
/////////////////////////////////////////
// JAVASCRIPT & NODE DEV
/////////////////////////////////////////
// install nodejs, npm, cordova, ionic
see also http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx | |
net use z: \\<storage-account-name>.file.core.windows.net\<share-name> /u:<storage-account-name> <storage-account-key> |
#choco install google-chrome-x64 | |
#choco install googlechrome.canary | |
choco install notepadplusplus | |
choco install git | |
#choco install firefox | |
choco install fiddler4 | |
#choco install visualstudio2013ultimate | |
#choco install velocity | |
choco install calibre | |
#choco install popcorntime |
885 public static final BitDescription[] HISTORY_STATE_DESCRIPTIONS | |
886 = new BitDescription[] { | |
887 new BitDescription(HistoryItem.STATE_BATTERY_PLUGGED_FLAG, "plugged"), | |
888 new BitDescription(HistoryItem.STATE_SCREEN_ON_FLAG, "screen"), | |
889 new BitDescription(HistoryItem.STATE_GPS_ON_FLAG, "gps"), | |
890 new BitDescription(HistoryItem.STATE_PHONE_IN_CALL_FLAG, "phone_in_call"), | |
891 new BitDescription(HistoryItem.STATE_PHONE_SCANNING_FLAG, "phone_scanning"), | |
892 new BitDescription(HistoryItem.STATE_WIFI_ON_FLAG, "wifi"), | |
893 new BitDescription(HistoryItem.STATE_WIFI_RUNNING_FLAG, "wifi_running"), |
I hereby claim:
To claim this, I am signing this object: