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
// A proof of concept of letting you iterate over a HashMap. | |
class Map[String, Real3] | |
{ | |
// Private Data holders that shold not be touched | |
var PRIVATE_Hash : HashMap[String, Real3] = new HashMap[String, Real3](); // holds our data | |
var PRIVATE_Array : Array[String] = new Array[String](); // used to iterate | |
// Used by ForEach | |
var All : MapRange[String, Real3] { get { return new MapRange[String, Real3](this); } } |
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
# SDL2.framework is in the correct location: | |
$ ls /Library/Frameworks | |
AEProfiling.framework AudioMixEngine.framework PluginManager.framework iTunesLibrary.framework | |
AERegistration.framework NyxAudioAnalysis.framework SDL2.framework | |
# Frameworks direction is included in path (Note: shouldn't actually matter) | |
$ echo $PATH | |
/Users/Jo/_UTIL:/Library/Frameworks:/usr/local/lib:/usr/local/include:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin | |
# Source file for a simple sdl2 program |
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
#!/bin/bash | |
# located in root | |
# cd into project directory | |
cd ${0%/*} | |
# compile library | |
clang++ -Wall -dynamiclib lib_src/myprint.cpp -o myprint.dylib | |
# compile main object file |
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
#!/bin/bash | |
#details: this file is intended to be called from inside generate_csv.sh | |
#usage: ./file_info.sh <Path to root> <Path to file> <blank lines int> <comment lines int> <code lines int> | |
#example "<ABSOLUTE_PATH>/../../" | |
OFFSET=$1 # how to get to the directory to search | |
#example:'Source/Engine/main.cpp' | |
SOURCEFILE=${2//###/ } |
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
dyld: Symbol not found: __al_mangled_main | |
Referenced from: /usr/local/lib/liballegro_main.5.0.dylib | |
Expected in: flat namespace | |
in /usr/local/lib/liballegro_main.5.0.dylib | |
Trace/BPT trap: 5 |
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
Process: FLAT [4554] | |
Path: /Dropbox/*/FLAT | |
Identifier: FLAT | |
Version: ??? (???) | |
Code Type: X86-64 (Native) | |
Parent Process: bash [4533] | |
Date/Time: 2012-06-12 14:25:04.885 -0500 | |
OS Version: Mac OS X 10.7.4 (11E53) | |
Report Version: 9 |
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
Allegro initialized! | |
Display created successfully. | |
Couldn't find image | |
Couldn't find image | |
Couldn't find image | |
Couldn't find image | |
Couldn't find image | |
Couldn't find image | |
Couldn't find image | |
Couldn't find image |
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
/** | |
* Template: aspect-ratio locked Divs floating to center with outline | |
*/ | |
.container { | |
text-align: center; | |
} | |
.image-wrapper { | |
display: inline-block; |
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
/** | |
* This should be private. | |
* Private: true | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
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
/** | |
* Template: aspect-ratio locked Divs floating to center with outline | |
*/ | |
body { | |
margin: 80px; | |
padding: 0; | |
} | |
.image-grid { | |
text-align: center; |
OlderNewer