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
kook@idea ~/C/tauchain> cat n3test2.nq | |
:x a :y . | |
:x a :z . | |
fin. | |
:x a :y . | |
:x a :z . | |
fin. | |
kook@idea ~/C/tauchain> env LD_PRELOAD=libmarpa/dist/.libs/libmarpa.so ./tau --level 1 --shorten < n3test2.nq | |
kb input done. | |
query loaded. |
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
diff --git a/SDL-1.2.14/src/video/x11/SDL_x11events.c b/SDL-1.2.14/src/video/x11/SDL_x11events.c | |
index da57528..d0ce0f3 100644 | |
--- a/SDL-1.2.14/src/video/x11/SDL_x11events.c | |
+++ b/SDL-1.2.14/src/video/x11/SDL_x11events.c | |
@@ -817,7 +817,7 @@ printf("MapNotify!\n"); | |
#ifdef DEBUG_XEVENTS | |
printf("ConfigureNotify! (resize: %dx%d)\n", xevent.xconfigure.width, xevent.xconfigure.height); | |
#endif | |
- if(SDL_Window == xevent.xconfigure.window) | |
+ if(WMwindow == xevent.xconfigure.window) |
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
StandardFirmata_2_2_forUNO_0_3 | |
pyfirmata | |
set baudrate 57600 in sketch & pyfirmata.py | |
set port name in util.py | |
>>> import pyfirmata | |
>>> from util import get_the_board | |
>>> board=get_the_board() | |
>>> board.firmata_version |
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 <stdio.h> | |
#define foo "xxxx" | |
#define bar "yyyy" | |
const char * ggg = bar foo; | |
void main() | |
{ |
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
import sys | |
for i in sorted(sys.stdin.readlines()): | |
sys.stdout.write(i) | |
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
<?php | |
$fio = array(); | |
$a = fopen("dz-pohyby.cgi", "r"); | |
for($i=0;$i<10;$i++) | |
fgets($a); | |
while($b=fgets($a)) | |
$fio[] = explode(";", $b); | |
$fio=array_splice($fio,0,sizeof($fio)-2); | |
for($i=0;$i<sizeof($fio);$i++) |
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
<html><body><h1>It works!</h1> | |
<p>This is the default web page for this server.</p> | |
<p>The web server software is running but no content has been added, yet.</p> | |
<?php | |
$handle=opendir('/etc/apache2/conf.d'); | |
$it = array(); | |
while (false !== ($file = readdir($handle))) | |
{ |
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
#!/usr/bin/perl -w | |
# | |
# mpdtube.pl | |
# version 0.2 | |
# author Johan Ask | |
# | |
# Script to download youtube clips, convert to mp3 and add to an mpd playlist. | |
# |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple. | |
com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>IFCompilerOptions</key> | |
<dict> | |
<key>IFSettingNaturalInform</key> | |
<true/> | |
</dict> |
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
"dance of boredom" by kook | |
"sitting somewhere between pseudocode and real inform7, making inform seem much more likeable than it is, unplugged from the world, this node stares cross-eyed into space" | |
world is a room. | |