We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
// | |
// you need the actionsheet plugin, image picker plugin and the camera plugin for this code to work | |
// | |
/** | |
* displays an action sheet for the user to select a photo from | |
* the gallery or using the camera | |
* | |
* @param _event {Object} information from the webview on the event | |
* |
.safari-only(@rules) { | |
// this detects safari 7.1+ | |
// http://stackoverflow.com/questions/16348489/is-there-a-css-hack-for-safari-only-not-chrome | |
_::-webkit-full-page-media, _:future, :root { | |
@rules(); | |
} | |
} |
# install openjdk | |
sudo apt-get install openjdk-7-jdk | |
# download android sdk | |
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz | |
tar -xvf android-sdk_r24.2-linux.tgz | |
cd android-sdk-linux/tools | |
# install all sdk packages |
var friendlify = function (fn, log) { | |
var patsOnTheBack = [ | |
'you are great', | |
'you\'re the best', | |
'wow you\'re awesome' | |
]; | |
log = log || console.log; | |
return function () { | |
var args = arguments; | |
log(patsOnTheBack[Math.floor(patsOnTheBack.length * Math.random())] + '!'); |
/** | |
* copyright stuff should go here to | |
* | |
* @author: bogdan.gradinariu@gmail.com | |
* @pluginName: myPlugin | |
* @description: a jquery plugin that does something | |
* @usage: | |
* | |
* //initialization | |
* $('selector').myPlugin(options); |
We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
#!/bin/bash | |
ANDROID_ARCHIVE="android-sdk_r20.0.3-linux.tgz" | |
ANDROID_URL="http://dl.google.com/android/$ANDROID_ARCHIVE" | |
BASE_DIR="/opt/androidsdk" | |
ANDROID_BIN="$BASE_DIR/android-sdk-linux/tools/android" | |
ANDROID_VERSIONS="android-8,android-10" | |
### Pre checks ######## |