Skip to content
View Youtube to Youtube gaming.user.js
// ==UserScript==
// @name Youtube to Youtube gaming
// @namespace
// @version 0.1
// @description Redirects the YT watch page to the better YT gaming watch page
// @author Dykam
// @match*
// @grant none
// ==/UserScript==
#!/usr/bin/env node
// Run before first use:
// $ node install request
request = require "request"
fs = require "fs"
repo = ""
console.log "Downloading verison list"
View Program.cs
using Microsoft.Owin;
using Microsoft.Owin.Hosting;
using Owin;
using System;
using System.Net.Http;
namespace SelfHost
public class Program
View 0001-Allow-block-placement-when-a-the-placer-can-t-see-th.patch
From 556f679be36aa5423deda3681efaa66b4e7fb95e Mon Sep 17 00:00:00 2001
From: Dykam <>
Date: Thu, 16 Jan 2014 13:38:19 +0100
Subject: [PATCH] Allow block placement when a the placer can't see the player
diff --git a/src/main/java/net/minecraft/server/ b/src/main/java/net/minecraft/server/
index cb21133..41806b2 100644
--- a/src/main/java/net/minecraft/server/
A small non-complete example design and implementation of Observables/Tasks integrated into events.
It is inspired by a mix of classic Observables and .NET's Tasks/SynchronizationContext.
interface TextMessage {}
interface RawTextMessage extends TextMessage { String getValue(); }
interface Style extends TextMessage { TextStyle getStyle(); TextMessage getMessage(); }
interface Action extends TextMessage { TextAction getAction(); TextEvent getEvent(); TextMessage getMessage(); }
/* Combines multiple texts */
interface Combined extends TextMessage { List<TextMessage> getMessages(); }
View Java 6 or
// When using Java 6 or 7
Observable<Vector> positions = Fn<PlayerMoveEvent, Vector>() {
public Vector call(PlayerMoveEvent event) {
return event.getPlayer().getPosition();
.async() // continue on threadpool
.map(new Fn<Vector, Vector>() {
public Vector call(Vector vector) {
public static final <T> T bestMatch(String search, Collection<T> options, double threshold) {
T bestObj = null;
double bestScore = 0.0D;
for (T obj : options) {
double score = LiquidMetal.score(obj.toString(), search);
if (score > bestScore) {
bestObj = obj;
bestScore = score;
} else if (score == bestScore) {
bestObj = null;
View pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=""
View Result.html
<div class="InfoWindow">
<fieldset class="Directions">
<div class="Container">
<label>Van</label><input type="text" class="Dest" />
<label>naar</label><span class="Wrapped">address</span><input type="submit" value="Route zoeken" class="Search" />
Something went wrong with that request. Please try again.