Skip to content

Instantly share code, notes, and snippets.

View SchizoDuckie's full-sized avatar

SchizoDuckie

  • The Hague
View GitHub Profile
@SchizoDuckie
SchizoDuckie / ircclient.js
Created August 2, 2013 08:02
JS IRC Client using Adobe Air for sockets.
IRC = new Class({
Implements: [Options, Events],
options: {
server: 'irc.tweakers.net',
port: 6667,
host: 'localhost',
password: false,
nick: 'SchizoIRC',
userName: 'SchizoIRC',
@SchizoDuckie
SchizoDuckie / ircclient.js
Created August 1, 2013 19:41
IRC Client for Adobe Air W.I.P.
IRC = new Class({
Implements: [Options, Events],
options: {
server: 'irc.tweakers.net',
port: 6667,
host: 'localhost',
password: false,
nick: 'SchizoIRC',
userName: 'SchizoIRC',
@SchizoDuckie
SchizoDuckie / phpmytop.php
Last active May 9, 2016 14:29
/** * PHPMyTop clone #1000 by Jelle Ursem * One-file MyTop clone with divshot and jquery. * Shows you the queries currently running in your mysql database using show full processlist * Keeps prepending to the log of individual queries executed with no wrapping. * * Hover the Id of a query to see the kill option, click it to send kill $queryid to…
<?php
/**
* PHPMyTop clone #1000 by Jelle Ursem
* One-file MyTop clone with divshot and jquery.
* Shows you the queries currently running in your mysql database using show full processlist
* Keeps prepending to the log of individual queries executed with no wrapping.
*
* Hover the Id of a query to see the kill option, click it to send kill $queryid to server.
*
* Howto:
@SchizoDuckie
SchizoDuckie / apf_release.prepend.js
Created March 20, 2012 20:19
Cloud9 IDE Touch Enabler Monkeypatch
/**
* A proof of concept monkeypatch to make Cloud9 IDE work on a tablet.
* Since i'm an extremely lazy bastard I prepended this snippet directly in package/client/js/apf_release.js
*
* What does it do?
* - It fires a doubleclick for a 2-finger tap
* - It fires a mousewheel up / down event for a 2-finger swipe up / down.
*
* How does it work?
* Prepend the functions below to <cloud9>/package/client/js/apf_release.js, save, load in tablet.
@SchizoDuckie
SchizoDuckie / channels.js
Created April 5, 2011 01:21
A little patch to allow rudimentary wildcard events.
/*
---
name: Channels
description: Mediate Class events. An expanded pattern for pub/sub.
license: MIT-style license.
copyright: Copyright (c) 2010 [Ryan Florence](http://ryanflorence.com/).