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
g = TitanFactory.open('test.properties') | |
r = new Random() | |
edges = 1e4 | |
key = "poozd" + r.nextInt().toString() + r.nextInt().toString() | |
label = key + "s" | |
def newKey(g, name, type) { | |
return g | |
.makeType() |
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 | |
PORT=$((RANDOM + 1024)) | |
HOST=$1 | |
poke() { | |
echo "Sleeping" | |
for i in `seq 10`; do | |
echo "netcat $HOST $PORT" | |
echo hihihi\n\n\n | nc -u -p $PORT $HOST $PORT |
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 | |
# | |
# (Above line comes out when placing in Xcode scheme) | |
# | |
API_TOKEN=<TestFlight API token here> | |
TEAM_TOKEN=<TestFlight team token here> | |
SIGNING_IDENTITY="iPhone Distribution: Development Seed" | |
PROVISIONING_PROFILE="${HOME}/Library/MobileDevice/Provisioning Profiles/MapBox Ad Hoc.mobileprovision" | |
#LOG="/tmp/testflight.log" |
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
[achDescriptions setObject:@"Quit a level in rage" forKey:@"ragequitter"]; | |
[achDescriptions setObject:@"Activated cheat mode" forKey:@"oops"]; | |
[achDescriptions setObject:@"Finish any level for at least 10 rounds" forKey:@"newbie"]; | |
[achDescriptions setObject:@"Not letting a creep escape" forKey:@"flawless"]; | |
[achDescriptions setObject:@"Complete a level on hard" forKey:@"complete"]; | |
[achDescriptions setObject:@"Every level finished on any skill" forKey:@"totality"]; | |
[achDescriptions setObject:@"Every level finished on Hard skill" forKey:@"wellplayed"]; | |
[achDescriptions setObject:@"Every level finished on Extreme skill" forKey:@"goodshow"]; | |
[achDescriptions setObject:@"Not building a tier 3 tower" forKey:@"lowtech"]; | |
[achDescriptions setObject:@"Build one of each tower on a level" forKey:@"variety"]; |
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 | |
cd `dirname $0` | |
tcpdump -n -i eth0 -G 86400 -w 'dumps/capture-%Y-%m-%dT%H:%M:%S.cap' |
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
Try: /usr/bin/cc | |
Line: /usr/bin/cc -O3 -w -pipe cmake_bootstrap_18264_test.c -o cmake_bootstrap_18264_test | |
---------- file ----------------------- | |
#ifdef __cplusplus | |
# error "The CMAKE_C_COMPILER is set to a C++ compiler" | |
#endif | |
#include<stdio.h> |
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
brew install -vd cmake | |
==> Build Environment | |
CC: /usr/bin/cc => /usr/bin/gcc-4.2 | |
CXX: /usr/bin/c++ => /usr/bin/c++-4.2 | |
LD: /usr/bin/cc => /usr/bin/gcc-4.2 | |
CFLAGS: -O3 -w -pipe | |
CXXFLAGS: -O3 -w -pipe | |
MAKEFLAGS: -j4 | |
==> Downloading http://www.cmake.org/files/v2.8/cmake-2.8.2.tar.gz | |
File already downloaded and cached to /Users/gak/Library/Caches/Homebrew |
NewerOlder