This file contains 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
cd [file dirname [info script]] | |
set file1 aaa.dlw | |
set file2 aaa2.dlw | |
set f1 [open $file1] | |
fconfigure $f1 -translation binary | |
set f2 [open $file2] | |
fconfigure $f2 -translation binary |
This file contains 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
// ==UserScript== | |
// @name UTM param stripper | |
// @author Paul Irish | |
// @namespace http://github.com/paulirish | |
// @version 1.2 | |
// @description Drop the UTM params from a URL when the page loads. | |
// @extra Cuz you know they're all ugly n shit. | |
// @include http*://* | |
// ==/UserScript== |
This file contains 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
// Unserialize (to) form plugin - by Christopher Thielen | |
// adapted and desuckified (a little) by Paul Irish | |
// takes a GET-serialized string, e.g. first=5&second=3&a=b and sets input tags (e.g. input name="first") to their values (e.g. 5) | |
(function($) { | |
$.fn.unserializeForm = function(values) { |
This file contains 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
File "quine.py", line 1 | |
File "quine.py", line 1 | |
^ | |
IndentationError: unexpected indent |
This file contains 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
[user] | |
# ... | |
[alias] | |
# Note: This assumes two remotes: | |
# - origin: My fork | |
# - upstream: The "main" repo | |
# | |
# Also, the name of the main branch (usually "master" or "main") is read from the `var.master-branch` git config var. | |
# It defaults to "master". Change it for the current repo with `git config --local var.master-branch BRANCH_NAME_HERE`. |
This file contains 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
diff --git a/tools/wpt/browser.py b/tools/wpt/browser.py | |
index 66796a8968..6a581b0675 100644 | |
--- a/tools/wpt/browser.py | |
+++ b/tools/wpt/browser.py | |
@@ -2046,3 +2046,27 @@ class Epiphany(Browser): | |
# Tech Preview output looks like "Web 3.31.3-88-g97db4f40f" | |
return output.split()[1] | |
return None | |
+ | |
+class SerenityOSBrowser(Browser): |
This file contains 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 python3 | |
from collections import namedtuple | |
from pathlib import Path | |
import base64 | |
import httplib2 | |
import json | |
import os | |
import subprocess |