Due to the high usage of this guide and the lack of comfort in Gist's commenting area, I decided to make a blog post out of this which you can find here:
http://blog.frd.mn/install-os-x-10-10-yosemite-in-virtualbox/
curl -u <username_here> https://api.github.com/user/repos -d '{"name":"curltest", "description": "testing description"}' | |
=> Enter passphrase: | |
// Example test case(below): | |
cd <local_repo_dir_path> | |
mkdir curltest | |
cd curltest | |
git init | |
touch curltest.txt | |
subl& culrtest.txt |
@Override | |
public void onLocationUpdate(Location loc, boolean isOnDemand) { | |
// Called with the GeotriggerService obtains a new location update from | |
// Android's native location services. The isOnDemand parameter lets you | |
// determine if this location update was a result of calling | |
// GeotriggerService.requestOnDemandUpdate() | |
Toast.makeText(this, "Location Update Received!", | |
Toast.LENGTH_SHORT).show(); | |
Log.d(TAG, String.format("Location update received: (%f, %f)", | |
loc.getLatitude(), loc.getLongitude())); |
[ | |
{name: 'Afghanistan', code: 'AF'}, | |
{name: 'Åland Islands', code: 'AX'}, | |
{name: 'Albania', code: 'AL'}, | |
{name: 'Algeria', code: 'DZ'}, | |
{name: 'American Samoa', code: 'AS'}, | |
{name: 'AndorrA', code: 'AD'}, | |
{name: 'Angola', code: 'AO'}, | |
{name: 'Anguilla', code: 'AI'}, | |
{name: 'Antarctica', code: 'AQ'}, |
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.9.+' | |
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.9.+' | |
} | |
} |
import android.app.Activity; | |
import android.app.ProgressDialog; | |
import android.os.AsyncTask; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.widget.ArrayAdapter; | |
import android.widget.ListView; | |
//note that it's not this name anymore, update it! | |
import dme.forecastiolib.FIOCurrently; |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
Verifying that +sirvon is my openname (Bitcoin username). https://onename.com/sirvon |
#!/bin/sh | |
# This Script aims to setup a docker environment for Linux or OSX with docker client, docker-machine and docker-compose | |
# All binaries are install in /usr/local/bin/ directory. | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
NC='\033[0m' # No Color | |
os=$(uname -s) | |
arch=$(uname -m) |
Due to the high usage of this guide and the lack of comfort in Gist's commenting area, I decided to make a blog post out of this which you can find here:
http://blog.frd.mn/install-os-x-10-10-yosemite-in-virtualbox/
language: android | |
jdk: | |
- oraclejdk7 | |
branches: | |
only: | |
- INHOUSE | |
sudo: required |