Fix checksum errors either by ignoring them or installing latest chocolatey first and foremost, then supply our own checksums if they're not available.
This file contains hidden or 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
START iexplore http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/Xioustic/d458c703774fe4ef5926/raw/b6a01dc4a62ed698df2a384213de0430a2c8eccd/boxstarter-updates.txt |
This file contains hidden or 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
/* wsHook.js | |
* https://github.com/skepticfx/wshook | |
* Reference: http://www.w3.org/TR/2011/WD-websockets-20110419/#websocket | |
*/ | |
var wsHook = {}; | |
(function() { | |
// Mutable MessageEvent. | |
// Subclasses MessageEvent and makes data, origin and other MessageEvent properites mutatble. | |
function MutableMessageEvent(o) { |
I wanted to pipe ffmpeg output to VLC on Windows which took a little while to figure out. ffmpeg cannot detect
what format to use when piping, so I went through some obvious options but it was unclear what was best. So I
wrote an extremely naive benchmarking script that would run a common stream for two minutes and then take the
CPU/Memory usage data from tasklist /v
before killing the two processes.
system
Proc: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz 3.39GHz
This file contains hidden or 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
REM Place this somewhere on your PATH | |
@echo off | |
"C:\PATH\TO\Sublime Text\sublime_text.exe" %* |
This file contains hidden or 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
qsaArr = (el, query) => Array.prototype.slice.call(el.querySelectorAll(query)) | |
qsArr = (el, query) => Array.prototype.slice.call(el.querySelector(query)) | |
var results = qsaArr(document, '#main-content > #searchResult > tbody > tr'); | |
var resultsJson = results.map((r) => { | |
let obj = {} | |
obj.el = r | |
obj.name = r.querySelector('.detName').textContent.trim() | |
obj.category = r.querySelector('.vertTh').textContent.trim() | |
obj.magnet = qsaArr(r, 'td > a').map(e => e.href)[0] |
I hereby claim:
- I am xioustic on github.
- I am xioustic (https://keybase.io/xioustic) on keybase.
- I have a public key ASBdkzgaeGYJyIthtHJ6u6kQ4Bbwo6aYonOQHAJAIdwy7Qo
To claim this, I am signing this object:
This file contains hidden or 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
// hello | |
// i need to do taxes and i have to log my mileage retroactively | |
// my accountant said google timeline is fine | |
// google timeline is slow to iterate through by hand | |
// it's also slow to log by hand | |
// this script handles enough that i can put it in a csv file and work on it from there | |
var STOP_DATE = '2017-01-01' | |
var DEBUG = false |
This file contains hidden or 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
# gets the line number in this script of the "PAYLOAD:" line | |
echoPayloadLinenum() { | |
echo $(grep --text --line-number '^PAYLOAD:$' $0 | cut -d ':' -f 1) | |
} | |
# prints only the payload | |
echoPayload() { | |
local payload_linenum=$(echoPayloadLinenum) | |
local crypted_linenum=$((payload_linenum + 1)) | |
OlderNewer