This file contains 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
I/ActivityManager( 95): Starting activity: Intent { cmp=com.facebook.katana/.LoginActivity (has extras) } | |
D/AddAccount( 95): addAccount failed: android.accounts.AuthenticatorException: User canceled |
This file contains 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 Criterion | |
import Criterion.Main | |
import System.IO | |
import Data.Text (Text(..)) | |
import qualified Data.Text as T | |
import qualified Data.Text.IO as TIO | |
lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ultricies nulla sapien. Mauris eget dui eros. Vivamus eleifend condimentum leo sit amet tempus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vestibulum auctor mattis ante vitae dictum. Praesent sed lacus nisl. In molestie ultricies lorem, non pulvinar felis bibendum a. Donec id urna eget enim tincidunt condimentum. Curabitur id nibh ut risus tincidunt faucibus sit amet ut augue. Mauris aliquet leo elementum dui convallis egestas. Curabitur consequat lobortis dapibus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas." | |
tlipsum = (T.pack lipsum) |
This file contains 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
require 'formula' | |
class Go <Formula | |
head 'https://go.googlecode.com/hg/', :revision => 'release' | |
homepage 'http://golang.org' | |
aka 'google-go' | |
skip_clean 'bin' |
This file contains 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
#!/usr/bin/env bash | |
set -e | |
die() { | |
echo "$1"; | |
exit 1; | |
} | |
# Fetch and install Lua/LuaRocks into the local directory |
This file contains 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
# Installs Mongrel/ZeroMQ/Sqlite into a sandboxed environment | |
set -o errexit | |
set -o nounset | |
PWD=`pwd` | |
SANDBOX="$PWD/sandbox" | |
mkdir -p "$SANDBOX/src" | |
pushd "$SANDBOX/src" |
This file contains 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
#!/usr/bin/env bash | |
set -e | |
die() { | |
echo "$1"; | |
exit 1; | |
} | |
# Fetch and install Lua/LuaRocks/Kepler into the local directory |
This file contains 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 atom | |
import re | |
import gdata.contacts.data | |
import gdata.contacts.client | |
import gdata.gauth | |
# This script updates all contacts with email addresses @comlab.ox.ac.uk to | |
# @cs.ox.ac.uk to go along with the renaming of our department. | |
sourcename = "some-name-for-this-script-v1" |
This file contains 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
#!/usr/bin/env bash | |
set -e | |
die() { | |
echo "$1"; | |
exit 1; | |
} | |
# Fetch and install LuaJIT/LuaRocks into the local directory |
This file contains 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
include $(GOROOT)/src/Make.inc | |
TARG=foo | |
GOFILES=\ | |
foo.go \ | |
include $(GOROOT)/src/Make.pkg |
This file contains 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
" 2a. scan current file for %! TEX root = foo.tex | |
let texfile = matchlist(getline(1), '%!TEX root = \(.*\)')[1] | |
if texfile != "" | |
return texfile | |
endif |
OlderNewer