Skip to content

Instantly share code, notes, and snippets.

A <a>plugin</a> is defined in the HTML5 specification. [[!HTML5]]
The <code><<@font-face>></code> Cascading Style Sheets (CSS) rule is defined
in the CSS Fonts Module Level 3 specification. [[!CSS3-FONTS]]
The <code>XMLHttpRequest</code> object is defined in the <code>XMLHttpRequest</code>
specification. [[!XMLHTTPREQUEST]]
git grep -n -l -e 'throwDOMException\(\w*\)' -- '*.h' '*.cpp' '*.cc' | \
xargs -L1 sed -i '' \
-e 's/throwDOMException(\([a-zA-Z]*\))/throwUninformativeAndGenericDOMException(\1)/g'
STDERR: ASSERTION FAILED: m_key != PTHREAD_KEYS_MAX
STDERR: ../../Source/WTF/wtf/ThreadIdentifierDataPthreads.cpp(65) : static ThreadIdentifier WTF::ThreadIdentifierData::identifier()
STDERR: 1 0x87568c6 WTF::ThreadIdentifierData::identifier()
STDERR: 2 0x875829f WTF::currentThread()
STDERR: 3 0x7ecd180 WTF::ThreadRestrictionVerifier::isSafeToUse() const
STDERR: 4 0x7ecc975 WTF::RefCountedBase::ref()
STDERR: 5 0x7ecc4d6 WebKit::WebCString::WebCString(WTF::CString const&)
STDERR: 6 0x7ecc459 WebKit::WebCString::WebCString(WTF::CString const&)
STDERR: 7 0x82dfd58 WebKit::WebURL::WebURL(WebCore::KURL const&)
STDERR: 8 0x82dfce9 WebKit::WebURL::WebURL(WebCore::KURL const&)
CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-location-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-location-minimal.html. Domains, protocols and ports must match.
CONSOLE MESSAGE: line 20: Exception! TypeError
Exception! TypeError
<!DOCTYPE html>
<html>
<head>
<style>
html {
height: 100%;
}
body {
display: -webkit-flex;
-webkit-justify-content: center;
[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
@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
#!/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 ):
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
if (!defaults.toggle && active.length < 1) {
accordion
.find("> li")
.first()
.addClass(defaults.activeClassLi)
.find(" > " + defaults.panel)
.addClass(defaults.activeClassPanel)
.show();
}