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 Stupid script with a typo | |
// @include http://*/* | |
// ==/UserScript== | |
function filterNode(node) | |
{ | |
switch (node.nodeType) | |
{ | |
case Node.ELEMENT_NODE: |
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 Facebook autopoker | |
// @version 1.0 | |
// @description Autopoke! | |
// @include http*://*.facebook.com/* | |
// @include https://www.facebook.com/ | |
// @match http://*.facebook.com/* | |
// @match https://*.facebook.com/* | |
// @exclude http://*.facebook.com/login.php |
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
<?php | |
require_once __DIR__ . '/util.php'; | |
class SQL_Table | |
{ | |
protected $pdo; | |
protected $table_name; |
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
cmake_minimum_required(VERSION 2.6) | |
project(DACT) | |
set(CMAKE_CXX_FLAGS "-pthread") | |
LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib" isSystemDir) | |
IF("${isSystemDir}" STREQUAL "-1") | |
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") | |
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) | |
ENDIF("${isSystemDir}" STREQUAL "-1") |
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
<?php | |
error_reporting(E_ALL); | |
ini_set('display_errors', true); | |
class Scope | |
{ | |
public $variables; | |
public $functions; |
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
window.conversation = (function() { | |
var conversation = []; | |
Array.prototype.forEach.call( | |
document.querySelectorAll('#MessagingMessages .MessagingMessage'), | |
function(block) { | |
var sender = block.querySelector('.uiProfilePhoto').getAttribute('alt'); | |
var timestamp = block.querySelector('abbr.timestamp').getAttribute('data-utime'); | |
var messages = []; |
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
<?xml version="1.0" encoding="iso-8859-1"?> | |
<!-- Alpino Dependency Structures DTD --> | |
<!-- | |
$Id: alpino_ds.dtd,v 1.1 2005-11-25 14:43:27 geertk Exp $ | |
We hebben het toplevel element |
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
<?php | |
function diff_images($a, $b) | |
{ | |
$max_x = max(imagesx($a), imagesx($b)); | |
$max_y = max(imagesy($a), imagesy($b)); | |
$diff = imagecreatetruecolor($max_x, $max_y); | |
for ($x = 0; $x < $max_x; ++$x) |
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
<?php | |
$input = trim(' | |
1. Max Havelaar 12.7 14.8 13.3 | |
2. Michiel [b]de[/b] Ruiter 14.4 11.8 13.3 14.4 | |
3. Awesome Stuff and others 15.568 11.3 12.1 | |
'); | |
function parse_table($input) | |
{ |
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 <iostream> | |
#define voor for | |
#define ieder ( | |
#define getal int | |
#define van = | |
#define tot ; i <= | |
#define doe ; ++i) | |
#define print std::cout << | |
#define een 1 |