- Remember to change
/User/name/bin/
to the correct path where boot2docker is installed. - Copy the content of the file above to
~/Library/LaunchAgents/com.github.starfossen.boot2docker.plist
- Download and install Vagrant
- Download and install Virtual Box
- Download the file bellow; name must be "Vagrantfile"
Go to the folder where your "Vagrantfile" in your terminal/shell. Run the following commands:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:setf <language> |
I hereby claim:
- I am starefossen on github.
- I am starefossen (https://keybase.io/starefossen) on keybase.
- I have a public key whose fingerprint is 2E95 E0BE A257 E127 628E 1CF4 8525 B593 4114 1813
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import Foundation | |
import XCPlayground | |
XCPSetExecutionShouldContinueIndefinitely() | |
class RemoteAPI { | |
func getData(completionHandler: ((NSArray!, NSError!) -> Void)!) -> Void { | |
let url: NSURL = NSURL(string: "http://itunes.apple.com/search?term=Turistforeningen&media=software") | |
let ses = NSURLSession.sharedSession() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
magick_version=6.8.9-10 | |
magick_install_dir="$HOME/image_magick" | |
magick_download_url="http://imagemagick.org/download/releases/ImageMagick-$magick_version.tar.gz" | |
rm -rf $magick_install_dir/* | |
mkdir -p $magick_install_dir && cd $magick_install_dir | |
curl -L $magick_download_url | tar -zxf- | |
cd ImageMagick* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> default: gpg: | |
==> default: directory `/root/.gnupg' created | |
==> default: gpg: | |
==> default: new configuration file `/root/.gnupg/gpg.conf' created | |
==> default: gpg: | |
==> default: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run | |
==> default: gpg: | |
==> default: keyring `/root/.gnupg/secring.gpg' created | |
==> default: gpg: | |
==> default: keyring `/root/.gnupg/pubring.gpg' created |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== release test-keep-alive === | |
Path: pummel/test-keep-alive | |
events.js:141 | |
throw er; // Unhandled 'error' event | |
^ | |
Error: spawn wrk ENOENT | |
at exports._errnoException (util.js:749:11) | |
at Process.ChildProcess._handle.onexit (child_process.js:1022:32) | |
at child_process.js:1114:20 | |
at process._tickCallback (node.js:339:13) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z "$1" ]; then | |
echo "Usage: ./release.sh x.y.z" | |
exit 1 | |
fi | |
# update version in package.json | |
sed -i '' "s/\"version\":.*/\"version\": \"$1\",/g" package.json |
The National Trekking Database (Nasjonal Turbase) is the Norwegian national
platform to collect, manage, and distribute standardised trekking and outdoor
data from all participants who facilitate outdoor recreation.
| Website | http://www.nasjonalturbase.no |