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
/** | |
* Border Image Test | |
*/ | |
* { | |
font-family: arial; | |
} | |
.border-wrapper { | |
width: 50%; |
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
/** | |
* Border Image Test | |
*/ | |
* { | |
font-family: arial; | |
} | |
.border-wrapper { | |
width: 50%; |
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
/** | |
* Image size test | |
*/ | |
.clearfix:after { | |
content: "."; | |
display: block; | |
clear: both; | |
visibility: hidden; | |
line-height: 0; |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(20deg, #bbb, #fff); | |
min-height: 500px; |
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
/** | |
* Pagination Styling | |
*/ | |
.wrapper { | |
background-color: #ccc; | |
height: 400px; | |
margin: 50px 20px; | |
} |
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
/** | |
* Pagination Styling | |
*/ | |
.wrapper { | |
background-color: #ccc; | |
height: 400px; | |
margin: 50px 20px; | |
} |
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
solution "SDL2_Test" | |
configurations { "debug", "release" } | |
location("make/" .. os.get() .. "/") | |
targetdir("bin/" .. os.get() .. "/%{cfg.buildcfg}/") | |
objdir("obj/" .. os.get() .. "/%{cfg.buildcfg}/") | |
project "sdl2_test" | |
kind "WindowedApp" | |
language "C" | |
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 |