Skip to content

Instantly share code, notes, and snippets.

View oskarhane's full-sized avatar
🏠
Working from garden office

Oskar Hane oskarhane

🏠
Working from garden office
View GitHub Profile
@oskarhane
oskarhane / bones.php
Created August 13, 2013 19:26
Fixing WP-Foundation to it doesn't deregister jquery on wp-login.php
<?php
/* Welcome to Bones :)
This is the core Bones file where most of the
main functions & features reside. If you have
any custom functions, it's best to put them
in the functions.php file.
Developed by: Eddie Machado
URL: http://themble.com/bones/
*/
@oskarhane
oskarhane / app.js
Last active December 16, 2015 05:59
A XMPP bot client that takes commands and replies the result. You can easily add commands your self and remote load them, or manually upload them to the conf dir.
/**
* Author: Oskar Hane
* Contact: oh@oskarhane.com
* URL: http://oskarhane.com
*
* Dependenies: simple-xmpp and optimist. Install them via npm.
*
* Run with params
* -u username (e.g. you@domain.com)
* -p password
@oskarhane
oskarhane / udp.js
Created April 8, 2013 07:39
Blocket Easter Eggs - Sista uppgiften
/**
Name: Node.js UDP server
Supported Platforms: Only tested on Linux
Date: 2013-03-28
Author: Oskar Hane <oh@oskarhane.com>
Website: http://oskarhane.com
Purpose: For Blocket's Easter Egg comptetition. A UDP server which replies all requests
with a binary representation of the string "$your_ip.$current_unix_timestamp"
Usage:
1. Install Node.js via Package: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager