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
PUBLIC |
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
PUBLIC2 |
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
// Mountain Lion (10.8) - this is 'int' (32 bits always) | |
typedef enum { | |
SCNGeometryPrimitiveTypeTriangles = 0, | |
SCNGeometryPrimitiveTypeTriangleStrip = 1, | |
SCNGeometryPrimitiveTypeLine = 2, | |
SCNGeometryPrimitiveTypePoint = 3 | |
} SCNGeometryPrimitiveType; | |
// Mavericks (10.9) - this is 'long' (32 or 64 bits depending on architecture) | |
typedef NS_ENUM(NSInteger, SCNGeometryPrimitiveType) { |
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 | |
nogitdir="/tmp/nogitsubmodulesfrommake" | |
mkdir -p "$nogitdir" | |
git="$(which git)" | |
{ cat <<EOF | |
#!/usr/bin/env bash | |
if [ "\$1" = "submodule" ]; then | |
echo "*** INSANITY: someone is messing with git submodules in a Makefile" | |
echo "*** not running this command:" |
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 | |
# | |
# alias make=path/to/this/script | |
# | |
# if you don't want Makefiles to touch your | |
# git submodules. Insane. | |
# | |
nogitdir="/tmp/nogitsubmodulesfrommake" | |
mkdir -p "$nogitdir" |
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 | |
# | |
# alias make=path/to/this/script | |
# | |
# if you don't want Makefiles to touch your | |
# git submodules. Insane. | |
# | |
nogitdir="/tmp/nogitsubmodulesfrommake" | |
mkdir -p "$nogitdir" |
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
2015-04-22 14:04:35.746 PatriotChatiOS[8194:3783547] Unhandled managed exception: | |
Could not load file or assembly 'Newtonsoft.Json' or one of its dependencies. The system cannot find the file specified. (System.IO.FileNotFoundException) | |
at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity) [0x00081] in /Users/builder/data/lanes/1503/c2c00129/source/mono/mcs/class/corlib/System/AppDomain.cs:706 | |
at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef) [0x00000] in /Users/builder/data/lanes/1503/c2c00129/source/mono/mcs/class/corlib/System/AppDomain.cs:674 | |
at System.Reflection.Assembly.Load (System.Reflection.AssemblyName assemblyRef) [0x00000] in /Users/builder/data/lanes/1503/c2c00129/source/mono/mcs/class/corlib/System.Reflection/Assembly.cs:551 | |
at ObjCRuntime.Runtime.CollectReferencedAssemblies (System.Collections.Generic.List`1 assemblies, System.Reflection.Assembly assembly) [0x00019] in /Users/builder/data/lanes/1503 |
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
aaron@porkbelly monodevelop/main 👉 DYLD_LIBRARY_PATH=POTATO PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin ./autogen.sh (git)-[cycle6]- | |
>>>>> main/autogen.sh: SOME_ARBITRARY_VAR= | |
>>>>> main/autogen.sh: PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
>>>>> main/autogen.sh: DYLD_LIBRARY_PATH= |
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 python3 | |
# Written by Aaron Bockover <aaron@abock.org> | |
# Released into the Public Domain | |
import json | |
import urllib.request | |
uri = 'http://results.enr.clarityelections.com/NC/36596/80750/json/details.json' | |
response = urllib.request.urlopen(uri) | |
data = json.loads(response.read().decode('utf8')) |
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
test |
OlderNewer