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
/** | |
* SDE Poll Result Matrix | |
* | |
* Displays the results from a series of polls, one after the other, with | |
* pretty bar graphs. Rendered based on a tabular matrix, poll options | |
* across the top as columns, polls down the side as rows. HTML looks like: | |
* | |
* <table class="resultmatrix"> | |
* <thead> | |
* <tr> |
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
<!-- lbox --> <form id="login" action="https://ssl.sueddeutsche.de/app/lbox/" method="post"> | |
<div class="body"> | |
<label for="user">Benutzername</label> | |
<input type="text" id="user" name="login_name"> | |
<label for="password">Passwort</label> | |
<input type="password" id="password" name="login_passwort"> | |
<input type="submit" class="submit" value="Login"> | |
<input type="hidden" name="lboxaction" value="doLogin"> | |
<input type="hidden" name="referer" value="http://www.sueddeutsche.de/"> | |
</div> |
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
// my first thought... | |
var controls = { 'play': {}, 'pause': {}, 'prev': {}, 'next': {} }, | |
ul = $( '<ul class="carousel-nav"></ul>' ); | |
for ( name in controls ) { | |
controls[ name ] = $( '<li class="' + name + '"><button>' + name + '</button></li>' ) | |
.find( 'button' ) | |
.click( function () { | |
carousel.trigger( 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
if (!defaults.toggle && active.length < 1) { | |
accordion | |
.find("> li") | |
.first() | |
.addClass(defaults.activeClassLi) | |
.find(" > " + defaults.panel) | |
.addClass(defaults.activeClassPanel) | |
.show(); | |
} |
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
curl http://github.com/api/v2/yaml/repos/show/mikewest | grep ':url' | awk '{ print $2 }' | sed -e 's#http://#git://#g' -e "s#\$#.git#g" | xargs -L 1 git clone |
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
#!/usr/bin/env python | |
# encoding: utf-8; | |
from __future__ import with_statement | |
import os, sys, re | |
from png import Writer | |
from optparse import OptionParser | |
class Placeholder( object ): |
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
#!/bin/sh | |
# Run from a directory in which you'd like to shove a _lot_ of bare repositories. | |
curl -s http://github.com/api/v2/yaml/repos/show/mikewest | grep ':url:' | awk '{ print $2 }' | sed -e 's#http://#git://#' -e 's#$#.git#' | xargs -L 1 git clone --bare |
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
[10/2773] CXX obj/Tools/DumpRenderTree/TestNetscapePlugIn/TestNetscapePlugIn.main.o | |
FAILED: ../../Source/WebKit/chromium/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/Tools/DumpRenderTree/TestNetscapePlugIn/TestNetscapePlugIn.main.o.d -DCHROMIUM_BUILD -DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_WEB_INTENTS=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PROTECTOR_SERVICE=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -I../../Source/WebKit/chromium -I../../Tools/DumpRenderTree/TestNetscapePlugIn -I../../Tools/DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders -I../../Source/WebKit/chromium/third_party/npapi -I../../S |
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> | |
<style> | |
html { | |
height: 100%; | |
} | |
body { | |
display: -webkit-flex; | |
-webkit-justify-content: center; |