1. Install wine:
sudo apt install wine-stable winetricks
2. Get foobar installation here: https://mega.nz/file/HJhlEIIJ#PfjkrfPPu0TGzJ_ukgn2LX3fWRWsZK7o16beHAh4roY
Unpack it under /home/panta/.wine/drive_c/opt/
.
WITH pushes AS ( | |
SELECT | |
"git_pushes".*, | |
( | |
CASE WHEN COUNT("git_commits") = 0 | |
THEN '[]'::jsonb | |
ELSE jsonb_agg("git_commits" ORDER BY "git_commits"."id" DESC) | |
END | |
) AS commits | |
FROM "git_pushes" |
1. Install wine:
sudo apt install wine-stable winetricks
2. Get foobar installation here: https://mega.nz/file/HJhlEIIJ#PfjkrfPPu0TGzJ_ukgn2LX3fWRWsZK7o16beHAh4roY
Unpack it under /home/panta/.wine/drive_c/opt/
.
@echo off | |
setlocal | |
rem // ensure user supplied a filename with a .lnk extension | |
if /i "%~x1" neq ".lnk" ( | |
echo usage: %~nx0 shortcut.lnk | |
goto :EOF | |
) | |
rem // set filename to the fully qualified path + filename |
brs = "!f(){ git fetch --all --prune ; git for-each-ref --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))' ; };f" |
"Consume" is a "black-box" function in this format:
function consume(data, callback) {
//...
}
Caller puts in some data and is called back with the callback. Callbacks are supposed to be in the same sequence as input calls.
...............................................,,;''++##@@######@#####';'':;,:,,,,,,,,,:,::::::::::::::::::::::::
.............................................,,:'++######@####@#@@##@##++'+:::::,:,,,,:::::::::::::::::::::::::::
..........................................,,,,;'+#######@@@@#@@@@@@##@###+++'';,,;::,::::::::::::::::::::::::::::
..........................................,:,;++#######@@@@@@@@@@@@##@@###+#++'::;;::::::::::::::::::::::::::::::
........................................,.,;:++####@@@@@@@@@@@@@@#@##@@@#####++;;'+::::::::::::::::::;;:::::::::;
.......................................,,,:;++##@@@@@@@@@@@@@@@@@@##@@@@@######+'+#;:::::::::::::;;;;;;;;;;:;;;:;
........................................,';'###@@@@@@@@@@@@@@@@@@@##@@@@##@########;:::::::;;;;;;;;;;;;;;;;;;;;;;
....................................,,,,:+++##@@@@@@@@@@@@@@@@@@@@###@@@##@@@#@@###;;:::::;;;;;;;;;;;;;;;;;;;;;;;
.................................,.,:::'++####@@@@@@@@@@@@#@@@@@#@@@@@@@@@####@@###';:;:;;;;;;;;;;;;;;;;;;;;
**/ | |
createLocation(location) {} | |
/** | |
* This seems to be the same as createHref, only without prepending #/ and base path | |
* @param {RouterLocation|string} location | |
* @returns string | |
**/ | |
createPath(location) {} |
#!/usr/bin/env node | |
var fs = require('fs'); | |
var util = require('util'); | |
var DEFAULT_BPS = 10 * 1000; // 10 kb / sec | |
var source = process.argv[2]; | |
if (!source) { | |
return usage(1); |
var exec = require('child_process').exec, | |
util = require('util'); | |
var target = process.argv[2]; | |
if (!target) { | |
return usage(1); | |
} | |
var FIELDS = ['pid', 'command', 'uid', 'lock']; | |
var FIELD_OPTIONS = { |