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
**.o | |
**.8 | |
_obj/ | |
main | |
**.cgo?.go | |
**.cgo?.c | |
**.cgo?.8 | |
sdl_defs.go | |
**~ |
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
// haxe -lib neash -main Main -swf9 pollock.swf | |
import flash.display.Sprite; | |
import flash.display.Shape; | |
import flash.display.Stage; | |
import flash.display.StageScaleMode; | |
import flash.display.Bitmap; | |
import flash.display.BitmapData; |
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/perl | |
use strict; | |
use warnings; | |
use LWP::Simple; | |
use Gtk2::TrayIcon; | |
# touch last_date | |
# wget "http://www.reddit.com/static/mailgray.png" "http://www.reddit.com/static/mail.png" | |
# |
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/perl | |
use DBI; | |
use LWP::Simple; | |
my $dbh = DBI->connect("dbi:SQLite:dbname=servers.sqlite3","",""); | |
{ | |
my $sth = $dbh->prepare("CREATE TABLE servertypes (name varchar(255));"); |
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
package main | |
import ( | |
"gl" | |
"sdl" | |
) | |
func main() { | |
if sdl.Init(sdl.INIT_VIDEO) != 0 { | |
println("Video initialization failed: " + sdl.GetError()) |
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
package | |
{ | |
import flash.display.Sprite; | |
import flash.utils.getTimer; | |
public class Test extends Sprite | |
{ | |
private static var a:Array=new Array(); |
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
// ==UserScript== | |
// @name XKCD Hell playable game | |
// @namespace http://example.com/ | |
// @description Turns XKCD comic #724 into playable game | |
// @include http://xkcd.com/724/ | |
// @version 1.0 | |
// ==/UserScript== | |
/* | |
* Physaxe (http://code.google.com/p/physaxe/) copyright notice: |
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
import flash.events.Event; | |
import flash.display.Bitmap; | |
import flash.display.BitmapData; | |
private class IPoint | |
{ | |
public var x:Int; | |
public var y:Int; |
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 <SDL.h> | |
#include <SDL_image.h> | |
typedef struct {int x,y;}Point; | |
int main() | |
{ | |
SDL_Init(SDL_INIT_VIDEO); |
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 <windows.h> | |
#include <stdio.h> | |
void mouseDown(int button) | |
{ | |
switch(button) | |
{ | |
case 0: | |
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); |
OlderNewer