Skip to content

Instantly share code, notes, and snippets.

We couldn’t find that file to show.
/**
* 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>
<!-- 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>
// 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 );
if (!defaults.toggle && active.length < 1) {
accordion
.find("> li")
.first()
.addClass(defaults.activeClassLi)
.find(" > " + defaults.panel)
.addClass(defaults.activeClassPanel)
.show();
}
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
#!/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 ):
@mikewest
mikewest / backup-github.sh
Created October 11, 2010 17:57
"Oneliner" to backup your public github repos.
#!/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
[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
<!DOCTYPE html>
<html>
<head>
<style>
html {
height: 100%;
}
body {
display: -webkit-flex;
-webkit-justify-content: center;