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
static void lcd_font_char_xy(int xPos, int yPos, char character, FONT_INFO* fontInfo, uint16_t fgColor, uint16_t bgColor) | |
{ | |
unsigned short i = 0; | |
unsigned short j = 0; | |
unsigned short height = fontInfo->heightPages * 8; | |
unsigned short width; | |
unsigned short tableOffset = character - fontInfo->startChar;//32; | |
FONT_CHAR_INFO fontCharInfo = fontInfo->charInfo[(tableOffset)]; | |
uint16_t offset = fontCharInfo.offset; |
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 openocd -v --universal | |
Warning: Your Xcode (4.6.2) is outdated | |
Please install Xcode 4.6.3. | |
==> Downloading http://downloads.sourceforge.net/project/openocd/openocd/0.7.0/openocd-0.7.0.tar.bz2 | |
Already downloaded: /Library/Caches/Homebrew/open-ocd-0.7.0.tar.bz2 | |
tar xf /Library/Caches/Homebrew/open-ocd-0.7.0.tar.bz2 | |
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/open-ocd/0.7.0 --enable-ftdi --enable-arm-jtag-ew --enable-jlink --enable-rlink --enable-stlink --enable-ulink --enable-usbprog --enable-vsllink --enable-ep93xx --enable-at91rm9200 --enable-ecosboard --enable-opendous --enable-osbdm --enable-buspirate | |
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/open-ocd/0.7.0 --enable-ftdi --enable-arm-jtag-ew --enable-jlink --enable-rlink --enable-stlink --enable-ulink --enable-usbprog --enable-vsllink --enable-ep93xx --enable-at91rm9200 --enable-ecosboard --enable-opendous --enable-osbdm --enable-buspirate | |
checking for a BSD-compatible install... /usr/bi |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE hibernate-mapping PUBLIC | |
"-//Hibernate/Hibernate Mapping DTD 3.0//EN" | |
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> | |
<hibernate-mapping> | |
<class name="name.ryanspicer.oncewhen.corpus.Face" table="faces"> | |
<!-- snip --> | |
<set fetch="select" inverse="false" lazy="true" name="peopleAssignments" table="people_faces" cascade="all"> |
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
// glMatrix v0.9.5 | |
glMatrixArrayType=typeof Float32Array!="undefined"?Float32Array:typeof WebGLFloatArray!="undefined"?WebGLFloatArray:Array;var vec3={};vec3.create=function(a){var b=new glMatrixArrayType(3);if(a){b[0]=a[0];b[1]=a[1];b[2]=a[2]}return b};vec3.set=function(a,b){b[0]=a[0];b[1]=a[1];b[2]=a[2];return b};vec3.add=function(a,b,c){if(!c||a==c){a[0]+=b[0];a[1]+=b[1];a[2]+=b[2];return a}c[0]=a[0]+b[0];c[1]=a[1]+b[1];c[2]=a[2]+b[2];return c}; | |
vec3.subtract=function(a,b,c){if(!c||a==c){a[0]-=b[0];a[1]-=b[1];a[2]-=b[2];return a}c[0]=a[0]-b[0];c[1]=a[1]-b[1];c[2]=a[2]-b[2];return c};vec3.negate=function(a,b){b||(b=a);b[0]=-a[0];b[1]=-a[1];b[2]=-a[2];return b};vec3.scale=function(a,b,c){if(!c||a==c){a[0]*=b;a[1]*=b;a[2]*=b;return a}c[0]=a[0]*b;c[1]=a[1]*b;c[2]=a[2]*b;return c}; | |
vec3.normalize=function(a,b){b||(b=a);var c=a[0],d=a[1],e=a[2],g=Math.sqrt(c*c+d*d+e*e);if(g){if(g==1){b[0]=c;b[1]=d;b[2]=e;return b}}else{b[0]=0;b[1]=0;b[2]=0;return b}g=1/g;b[0]=c*g;b[1]=d*g;b[2]=e*g;return b};vec3.cross=function(a |
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 openexr | |
==> Downloading http://download.savannah.gnu.org/releases/openexr/openexr-1.6.1.tar.gz | |
File already downloaded in /Users/ryanspicer/Library/Caches/Homebrew | |
/usr/bin/tar xf /Users/ryanspicer/Library/Caches/Homebrew/openexr-1.6.1.tar.gz | |
==> Downloading patches | |
==> Patching | |
/usr/bin/patch -f -p1 -i 001-homebrew.diff | |
patching file configure | |
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/openexr/1.6.1 | |
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/openexr/1.6.1 |