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
import re | |
def replace_one_hex_with_chr(m): | |
return str(unichr(int(m.group()[1:], 16))) | |
def replace_hex_with_chr(s): | |
return re.sub(r'%[0-9A-Fa-f][0-9A-Fa-f]', replace_one_hex_with_chr, s) | |
if __name__ == '__main__': | |
import sys, os |
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
<!DOCTYPE html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Test</title> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/qunit/1.11.0/qunit.js"></script> | |
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/qunit/1.11.0/qunit.css"> | |
<script src="yourJavascriptFile.js"></script> | |
<script src="yourTestScriptFile.js"></script> | |
</head> |
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
; WindowsKey-V shortcut to paste text with no formatting | |
; (like Paste Special > Plain Text, but faster and works everywhere) | |
; for AutoHotKey | |
#v:: | |
ClipSaved := ClipboardAll | |
tempClipboard = %clipboard% | |
Clipboard = %tempClipboard% | |
SendPlay ^v | |
Clipboard := ClipSaved | |
; add an arbitrary delay to increase reliability for certain apps |
NewerOlder