<?xml version="1.0" encoding="utf-8"?>
<tmi8:VV_TM_PUSH xmlns:tmi8="http://bison.connekt.nl/tmi8/kv6/msg">
<tmi8:SubscriberID>GOVI</tmi8:SubscriberID>
<tmi8:Version>BISON 8.1.1.0</tmi8:Version>
<tmi8:DossierName>KV6posinfo</tmi8:DossierName>
2013-10-15T15:05:30.0281371+02:00
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
// Headers | |
#include <windows.h> | |
#include "GLee.h" | |
// Globals | |
bool g_WindowOpen = true; | |
// Window event handler | |
LRESULT CALLBACK windowEvent( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam ) | |
{ |
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 "Assembler.hpp" | |
Assembler::Assembler() | |
{ | |
} | |
int Assembler::Run() | |
{ | |
if ( code.size() == 0 ) return -1; |
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
// Headers | |
#include <Windows.h> | |
#include <D3D10.h> | |
#include <D3DX10.h> | |
#include <fstream> | |
#include <vector> | |
// Parameters | |
const int WIDTH = 800; | |
const int HEIGHT = 600; |
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
// Headers | |
#include <Windows.h> | |
#include <D3D10.h> | |
// Parameters | |
const int WIDTH = 800; | |
const int HEIGHT = 600; | |
// Shader | |
#define SHADER(x) #x |
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 | |
if (!isset($_GET['profile']) || !isset($_GET['page']) || !is_numeric($_GET['page']) || $_GET['page'] < 1) { | |
die("Specify a profile id and page as GET parameter."); | |
} | |
$page = intval($_GET['page']); | |
// Get profile | |
$profile = file_get_contents('http://steamcommunity.com/id/' . $_GET['profile']); | |
preg_match("/Profile_([0-9]+)/", $profile, $id); $id = $id[1]; |
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
.text | |
message: .asciz "Hello, world!\n" | |
.global main | |
main: | |
# Initialize stack base pointer | |
movl %esp, %ebp |
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
extern exit, printf | |
section .data | |
msg db "Hello World!", 10, 0 | |
section .text | |
global main | |
main: | |
push msg | |
call printf |
The local storage functionality in browsers is a bit limited and this can lead to some rather surprising behaviour.
localStorage[0] = false;
if (localStorage[0]) {
console.log('wtf'); // runs?!
}
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 std.socket; | |
import std.stdio; | |
import std.conv; | |
static import file = std.file; | |
import gzip; | |
const string content = "{}"; | |
void main() { | |
TcpSocket server = new TcpSocket(); |
OlderNewer