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
[ | |
{ | |
"name": "WhiteFox Aria" | |
}, | |
[ | |
{ | |
"c": "#0084c2", | |
"p": "GMK", | |
"a": 6 | |
}, |
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
[ | |
{ | |
"backcolor": "#b0b0b0", | |
"name": "M65 SA/DSA Template" | |
}, | |
[ | |
{ | |
"c": "#d48600", | |
"t": "#e4dedd", | |
"p": "SA", |
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
+ export DOKKU_HOST_ROOT=/home/dokku | |
+ DOKKU_HOST_ROOT=/home/dokku | |
+ export DOKKU_DISTRO | |
++ . /etc/os-release | |
++ echo ubuntu | |
+ DOKKU_DISTRO=ubuntu | |
+ export DOCKER_BIN=docker | |
+ DOCKER_BIN=docker | |
+ export DOKKU_IMAGE=gliderlabs/herokuish:latest | |
+ DOKKU_IMAGE=gliderlabs/herokuish:latest |
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
#ifndef IMGPRINT_H | |
#define IMGPRINT_H | |
#include <stdio.h> | |
// w and h are image width and height in pixels | |
// width must always be a whole number of bytes | |
// print 24bpp RGB888 image | |
// requires true color support |
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
#include <math.h> | |
#include <stdint.h> | |
#include <libdragon.h> | |
typedef double vec3[3]; | |
const double epsl = 0.0000005; | |
// vector dot product | |
static double dot(vec3 v0, vec3 v1) { | |
double x2 = v0[0] * v1[0]; |