Note this script is not executable. Please read through and manually apply each command.
pkgin up
pkgin -y in \
bash \
coreutils \
curl \
gcc47 \
| solution "brigade" | |
| configurations { "Debug", "Release" } | |
| location "build" | |
| defines { | |
| "WIN32", | |
| "_WIN32_WINNT=0x0600", | |
| "_CRT_SECURE_NO_WARNINGS=1", | |
| "_SCL_SECURE_NO_WARNINGS=1", | |
| "_WINDOWS", |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| git clone https://github.com/jystic/network-info.git | |
| curl https://gist.githubusercontent.com/fire/5a5236653f4ad5099321/raw/db7518eef55a37ed57811716811c553fec701ac9/network-info.patch > network-info.patch | |
| patch network-info/cbits/network-unix.c network-info.patch | |
| mkdir test | |
| cd test/ | |
| cabal sandbox init | |
| cabal sandbox add-source ../network-info | |
| cabal install git-annex --bindir=$HOME/bin -f"-assistant -webapp -webdav -pairing -xmpp -dns" |
| @rem @echo off | |
| @rem --------- | |
| @rem Variables | |
| @rem --------- | |
| @rem Input/Ouput Root Directories | |
| set "source_dir=C:\Users\Admin\Code\Git\quassel" | |
| set "build_dir=C:\Users\Admin\Code\Git\quassel\build" |
| Follow these steps | |
| ============ | |
| 1) Create a folder on local disk Eg: C:\Users\keerthip\Documents\Dropbox | |
| 2) Create a Drive Letter Mapping eg:(H:) to the folder path in windows with following command | |
| subst H: C:\Users\keerthip\Documents\Dropbox | |
| 3) Install Dropbox desktop software in advanced Mode. | |
| Select the new local drive H: and sync either selective folders or all folder to local drive ( which is original folder path) | |
| 4) Wait till content is fully synced from web account | |
| 5) Pause Syncing and Exit Dropbox | |
| 6) Delete local folder drive mapping with following command |
Install JDK 1.8
See if JAVA_HOME ENV variable is set to 1.8. If not, add this line in your ~/.bashrc:
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
And apply the changes to your session:
source ~/.bashrc
| /* | |
| Serve is a very simple static file server in go | |
| Usage: | |
| -p="8100": port to serve on | |
| -d=".": the directory of static files to host | |
| Navigating to http://localhost:8100 will display the index.html or directory | |
| listing file. | |
| */ | |
| package main |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| ) | |
| var urls = []string{ | |
| "http://pulsoconf.co/", | |
| "http://golang.org/", |