Skip to content

Instantly share code, notes, and snippets.

View illicitonion's full-sized avatar

Daniel Wagner-Hall illicitonion

View GitHub Profile
This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.[Learn More] l
GET
https://matrix.org/beta/img/p/p%7B%7B%20member.power_level_norm%20%7D%7D.png [HTTP/1.1 404 Not Found 119ms]
Loading mixed (insecure) display content "http://matrix.tp.mu:8008/_matrix/content/QGphbWVzYm9keTp0cC5tdQpKkGwZVKIxXVtGkuuSEvdfYt.aW1hZ2UvanBlZw==.jpeg" on a secure page[Learn More] jquery-2.1.3.min.js:3:0
Loading mixed (insecure) display content "http://base.openmarket.com/~matthew/amandine.png" on a secure page[Learn More] jquery-2.1.3.min.js:3:0
Loading mixed (insecure) display content "http://matrix.tp.mu:8008/_matrix/content/QGphc25lamFjOnRwLm11YiUFxmHmYHGSDHSHholelikh.aW1hZ2UvanBlZw==.jpeg" on a secure page[Learn More] jquery-2.1.3.min.js:3:0
Loading mixed (insecure) display content "http://negativecurvature.net/logo.png" on a secure page[Learn More] jquery-2.1.3.min.js:3:0
Loading mixed (insecure) display content "http://0.grav
Downloading PyNaCl-0.3.0.tar.gz (2.6MB)
100% |████████████████████████████████| 2.6MB 164kB/s
Complete output from command python setup.py egg_info:
c/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found
#include <ffi.h>
^
1 error generated.
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/private/var/folders/6y/6cz1cvkj7gg0ycpngjysbp3h0000gn/T/pip-build-JKn4CV/pynacl/setup.py", line 278, in <module>
git clone https://git.chromium.org/chromium/tools/depot_tools.git
mkdir -p chromium
cd chromium
gclient config http://src.chromium.org/svn/releases/$CHROME_VERSION
cat <<EOF >.gclient
solutions = [
{ "name" : "$CHROME_VERSION",
"url" : "http://src.chromium.org/svn/releases/$CHROME_VERSION",
"deps_file" : "DEPS",
"managed" : True,
$ dig www.seleniumhq.com
; <<>> DiG 9.8.3-P1 <<>> www.seleniumhq.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23159
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.seleniumhq.com. IN A
/mnt/jenkins/data/jobs$ du -h --max-depth=1
216M ./Opera Mobile S60 480x800 233 PPI Touch Tests
173M ./Firefox 10 Linux WDBS Java Tests
3.2G ./Chrome XP Java Tests
2.7G ./Firefox 20 Linux Native Java Tests
1.3G ./HtmlUnit Java Tests
16K ./Firefox 3.6 XP Native Java Tests
1.6G ./Firefox 17 XP Native Java Tests
2.0G ./Build All Java
1.4G ./Opera 12.01 XP Java Tests
@illicitonion
illicitonion / gist:4110995
Created November 19, 2012 14:40
ff36 ssl patch
Index: javascript/firefox-driver/js/files.js
===================================================================
--- javascript/firefox-driver/js/files.js (revision 17832)
+++ javascript/firefox-driver/js/files.js (working copy)
@@ -31,9 +31,7 @@
var prefix = opt_prefix || '';
var suffix = opt_suffix || '';
- var tmpdir = Components.classes['@mozilla.org/file/directory_service;1'].
- getService(Components.interfaces.nsIProperties).
Santi! I can crash your IE6 image! It's causing issues for our javascript tests... Started happening between September 18th at 3:48pm Pacific and September 19th at 12:05pm Pacific.
To reproduce:
Open IE6 in Scout
Navigate to http://ci.seleniumhq.org:2310/javascript/atoms/test/dom_test.html
See IE crash.
It's crashing on line 177 with the input from line 164. I'm having issues debugging, because I can't see enough of the environment to diagnose the crash - could you take a look?
Thanks!
@illicitonion
illicitonion / gist:2956943
Created June 19, 2012 22:39
squid config
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
# TODO(santiycr): Set up localnet ACLs
acl localnet src 10.0.0.0/8
acl localnet src 172.16.0.0/12
acl localnet src 192.168.0.0/16
acl localnet src fc00::/7
WebDriverServer.prototype.newDriver = function(window) {
if (null == this.useNativeEvents) {
var prefs =
fxdriver.moz.getService("@mozilla.org/preferences-service;1", "nsIPrefBranch");
if (!prefs.prefHasUserValue("webdriver_enable_native_events")) {
fxdriver.Logger.dumpn('webdriver_enable_native_events not set; defaulting to false');
}
this.enableNativeEvents =
prefs.prefHasUserValue("webdriver_enable_native_events") ?
prefs.getBoolPref("webdriver_enable_native_events") : false;
@illicitonion
illicitonion / rach3.py
Created May 20, 2012 02:36
Rachmaninov's Third Piano Concerto, Played by Selenium
from selenium import webdriver
from time import sleep
d = webdriver.Chrome()
d.get('http://mrcoles.com/piano/')
sleep(2)
d.execute_script('document.querySelector(\'.keys\').style.width=\'791px\' ; var es = document.querySelectorAll(\'.black\') ; for (var e = 0 ; e < es.length ; ++e) { es[e].style.width = \'1px\'; }')
keymap = {'a': [-3, 9], 'a#': [-2, 10], 'bb': [-2, 10], 'b': [-1, 11], 'c': [-12, 0, 12], 'c#': [-11, 1], 'd': [-10, 2], 'd#': [-9, 3], 'eb': [-9, 3], 'e': [-8, 4], 'f': [-7, 5], 'f#': [-6, 6], 'g': [-5, 7], 'g#': [-4, 8]}
def key(letter, pos):