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 | |
/* | |
Plugin Name: Email Quotes | |
Description: Allows comments to have email-style '>' quotes | |
Version: 1.0 | |
Author: Lukas Werling | |
Author URI: http://github.com/lluchs | |
License: MIT | |
*/ | |
add_filter('comment_text', 'emailquotes'); |
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
<!doctype html> | |
<html> | |
<head> | |
<title>Polygon</title> | |
</head> | |
<body> | |
<section> | |
<form onsubmit='return false'> | |
<label>Number of edges: <input type=number min=3 value=5 /></label> | |
<label><input type=checkbox /> Show vertices</label> |
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 http://ccan.de/* | |
// @include http://www.ccan.de/* | |
if(parent != window && location.pathname.indexOf('navbar') == -1) { | |
parent.history.replaceState(null, '', location.pathname + location.search) | |
} |
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
@ECHO OFF | |
color 70 | |
cls | |
@ECHO For detecting differences: | |
@ECHO Old file? (the one which should be updated) | |
SET /P old=Enter: | |
cls | |
@ECHO For detecting differences: | |
@ECHO New file? (the file's current version) | |
SET /P new=Enter: |
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
{ | |
"shops":{ | |
"13":"adventure", | |
"7":"artsupply", | |
"4":"bakery", | |
"2":"bookshop", | |
"5":"danger", | |
"12":"farm", | |
"20":"gadgets", | |
"21":"garden", |
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
form = ''' | |
<form id=search> | |
<input type=text autofocus=autofocus><button type=submit>Suchen</button> | |
</form> | |
''' | |
# insert form | |
$('#nobotd > br').after form | |
form = $('#search') |
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
require 'rubygems' | |
require 'hpricot' | |
require 'mechanize' | |
require 'yaml' | |
class MCItems | |
Wiki = 'http://www.minecraftwiki.net' | |
attr_accessor :items | |
def initialize | |
@items = [] |
NewerOlder