View python sed matcher replacement
#!/bin/env python
import sys
import os
import re
matcher = re.compile('^\^')
f = open(sys.argv[1],'r')
for line in f.readlines():
if matcher.match(line) is None:
View unpack-jdk-x64.bat
@echo off
set vernum=8u144
set jdkbasename=jdk8
set "tool7z=C:\Program Files\7-Zip\7z.exe"
set "jdk_exe=%1"
echo Extracting '.rsrc/1033/JAVA_CAB10/111'
%tool7z% e %jdk_exe% .rsrc/1033/JAVA_CAB10/111
rem :: %tool7z% e %jdk_exe% .rsrc/1033/version.txt
View index.html
<html>
<head>
<title></title>
<meta content="">
<style></style>
</head>
<body>
<p>Open QtSixA, Select Tasks -> Pair Device to PC</p>
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsoAAAInCAIAAAAOLuhLAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nOzddVwU6RsA8GdmZ5uQLpFGFKVEzy4UExS7uz31jDPvZ5x65dnd3YeBgXJ2nYUgNiEh3cL2zs78/gAUYRfjUPB8vh8/ftiZ2ed9Z2F3nn3fd96X6DV0LCCEEEIIVR4K2KquAkIIIYT+WygW8wuEEEIIVSqKZTG9QAghhFBlouDD0guCJAkuj+BwAIClNYxaBSzzmeuGEEIIoapBEETd2i6+Pp6uTo5GNWoAQF5+fnTcy/sPHj59EfPetgkiaNCoio/giMRiR1e9Ws4CSyuOSJ9lWVpaqEhPkSbEyBJiNQp5pZ0KQgghhKoBS3OzYQP7uDo5at0bHfdy1/4j6ZlZFUQgggaO1LmTQwmtapq3C9Czd+EIhQRBvN3FsmpJYeHLF1mXzyoy0kBDf+IZIIQQQqg6cXVynDx+pEgorOAYmVy+ZuP26LiXug7guNX31rVP6OjKNTRUZaZwTS34NYwBgAAoSjFYgMyI27JnERzLmhSPp8qpKIVBCCGE0FfB0sJs5g8TKs4tAIDL5fp41Q+PjJJIpFoP4NSu56VlM0EYevgKbe1eXw+F7FR56iuhRslNeUmlxBEpcUxybMGLqOyroYWxT5Q5Geb+QaxKqczK+PdnhRCq/iiKWrb4f5eu3dRoNFVdF4RQZSIIYtLYEZYW5gDwPDomNT3TwtyszDEPHz/Nz883NTHhcrm1alrf+Oeu1nEYlNYCeDWMhY4uKWHHCVqtY
View findWindowPid
#!/bin/env bash
xprop _NET_WM_PID | cut -d' ' -f3