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
/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc -c -o src/video.o src/video.c | |
src/video.c: In function 'set_mode': | |
src/video.c:25:16: error: storage size of 'regs' isn't known | |
union REGS regs; | |
^ |
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
CC = $(DJGPP_CC) | |
VENDOR = vendor | |
CFLAGS = | |
LDFLAGS = | |
BIN = game1.exe | |
SRCDIR = src | |
OBJDIR = obj | |
DISTDIR = dist |
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
#include <sys/nearptr.h> | |
#include <dos.h> | |
#include "defs.h" | |
#include "video.h" | |
byte *VGA = (byte *)0xA0000; // Pointer to the video memory. | |
word *SYS_CLOCK = (word *)0x046C; // The 18.2hz internal clock. | |
// Add the base address. |
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
#!/usr/bin/env bash | |
# Copyright (C) 2015, Michiel Sikma <[email protected]> | |
# MIT License | |
DEPS=( | |
'argparse::https://github.com/Cofyc/argparse.git::e1277bf1e3f47663fad54f84ca723db7688630d4' | |
'allegro5::https://github.com/liballeg/allegro5.git::4.4' | |
'xorshift::https://github.com/msikma/xorshift::e06c8e131c1b7bce0eea899a4235aba3ba53b6e5' | |
) | |
if [ ! -d "vendor" ]; then |
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
# Copyright (C) 2015, Michiel Sikma <[email protected]> | |
# MIT License | |
CC = $(DJGPP_CC) | |
VENDOR = vendor | |
CFLAGS = | |
LDFLAGS = | |
TITLE = CeeGee Engine | |
BIN = ceegee.exe |
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
$ ./run.js --help | |
usage: run.js [-h] [-v] [--no-caching] [--staging] [--port PORT] | |
[--api-port API_PORT] | |
{build,start,dev,lint,clean,copy} ... | |
Builds and runs the main site code. The primary function of the server is to | |
serve an HTML page with the contents returned by react-router. Requests to | |
/api/* are proxied to the API server, running at localhost:3030. | |
This server requires a more heavy-duty httpd like Apache or Nginx as reverse |
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
/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc -c -o vendor/allegro/src/allegro.o vendor/allegro/src/allegro.c -Ivendor/allegro/include -Ivendor/allegro | |
In file included from vendor/allegro/include/allegro/internal/alconfig.h:65:0, | |
from vendor/allegro/include/allegro/base.h:39, | |
from vendor/allegro/include/allegro.h:25, | |
from vendor/allegro/src/allegro.c:23: | |
vendor/allegro/include/allegro/platform/astdbool.h:29:23: error: two or more data types in declaration specifiers | |
typedef unsigned char _Bool; | |
^ | |
vendor/allegro/include/allegro/platform/astdbool.h:29:1: warning: useless type name in empty declaration | |
typedef unsigned char _Bool; |
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
$ babel --version | |
5.4.7 | |
$ cat test.js | |
async function foo() { | |
} | |
$ babel --optional es7.asyncFunctions test.js | |
/Users/msikma/Projects/pksprite/node_modules/babel-core/lib/babel/transformation/file/index.js:604 | |
throw err; | |
^ |
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
def latest_jmdict_timestamp(): | |
''' | |
Check the timestamp of the latest JMDict file. | |
''' | |
request = urllib.request.Request(JMDICT_URL) | |
response = urllib.request.urlopen(request) | |
return response.headers['last-modified'] |
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
All DOM properties of a <span> element. | |
accessKey: "" | |
attributes: NamedNodeMap | |
baseURI: "https://tweetdeck.twitter.com/" | |
childElementCount: 0 | |
childNodes: NodeList[1] | |
children: HTMLCollection[0] | |
classList: DOMTokenList[2] | |
className: "username txt-mute" |