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
#l 2 8 images/emojis.png | |
pi $0, si 0 | |
pi $1, si 1 | |
pi $2, si 2 | |
pi $255, si 255 | |
pi $sxoffset, si 160 | |
pi $syoffset, si 2 | |
pi $sw, si 16 |
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
// 21*23/31=15 (.5806451613) | |
pi $0, si 0 | |
pi $1, si 1 | |
pi $fac1, si 21 | |
pi $fac2, si 23 | |
pi $div, si 31 | |
@muldiv |
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
#l 2 8 images/emojis.png | |
pi $0, si 0 | |
pi $1, si 1 | |
pi $sw, si 16 | |
pi $sh, si 16 | |
pi $sxi, si 0 | |
pi $syi, si 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
#l 2 8 img/msgothic_16x16pn.png | |
pi $0, si 0 | |
pi $1, si 1 | |
pi $2, si 2 | |
pi $16, si 16 | |
pi $255, si 255 | |
pi $l, si 0 | |
pi $colorsinoffset, si 40 |
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
#l 2 8 img/msgothic_16x16pn.png | |
pi $1, si 1 | |
pi $py, si 0 | |
pi $255, si 255 | |
pi $i, si 0 | |
pi $16, si 16 | |
pi $256, si 256 | |
pi $127, si 127 |
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
#l 2 4 images/kraft.png | |
#l 2 8 img/msgothic_16x16pn.png | |
pi $x, si 239, rnd $x | |
pi $y, si 239, rnd $y | |
pi $off, si 180 | |
pi $a, si 40, rnd $a, add $off | |
pi $_, si 8, spt $_ // set sprite table to z=8 | |
x $x,y $y, zi 4, spa $a // draw 32bit color sprite to ($x, $y, 4(,5,6,7) (= rgba buffer)) |
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
LDFLAGS=-lm LD=/Users/mop/m68k-amigaos/bin/m68k-amigaos-ld RANLIB=/Users/mop/m68k-amigaos/bin/m68k-amigaos-ranlib CFLAGS=-mcrt=clib2 CXX=/Users/mop/m68k-amigaos/bin/m68k-amigaos-g++ CC=/Users/mop/m68k-amigaos/bin/m68k-amigaos-gcc ./configure --host=amiga --target=amiga |
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
const http = require('http'); | |
let responseBody = ''; | |
let requestBody = '[["/"]]'; | |
let req = http.request({ | |
hostname: 'localhost', | |
port: 4001, | |
path: '/_api/agency/read', | |
method: 'post', |
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
'use strict'; | |
// quick and dirty fritzing ic schematic generator | |
let numPins = 80; | |
let name = 'FT907L'; | |
let pinsPerSide = Math.ceil(numPins/2); | |
let pins = ''; | |
let heightPerPin = 2.5; | |
for (var i=1;i<=pinsPerSide;i++) { | |
pins += `<line class='pin' x1='0.123472' y1='${i * heightPerPin}' x2='5.20347' y2='${i * heightPerPin}' fill='none' stroke='#787878' stroke-width='0.246944' stroke-linecap='round' id='connector${i-1}pin' /> |
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
cmake_minimum_required (VERSION 3.2) | |
include(FindPackageHandleStandardArgs) | |
include("cmake/HunterGate.cmake") | |
include(ExternalProject) | |
HunterGate( | |
URL "https://github.com/ruslo/hunter/archive/v0.12.45.tar.gz" | |
SHA1 "a1d363c7ffb324eb55a410715868ada32e595622" | |
) | |
project (arangodb-mesos-framework CXX) |