sudo apt install autoconf automake debhelper
git clone https://github.com/gasman/hdfmonkey.git
dpkg-source -b hdfmonkey
#!/bin/sh | |
strip --remove-section=.note.ABI-tag libQt6Core.so.6 |
get_cmake_property(_variableNames VARIABLES) | |
list (SORT _variableNames) | |
foreach (_variableName ${_variableNames}) | |
message(STATUS "${_variableName}=${${_variableName}}") | |
endforeach() |
#!/bin/sh | |
curl -sf -L https://static.rust-lang.org/rustup.sh | sh |
#!/bin/sh | |
alias grun="(x &) && (sleep 0.1s) && (twm &) && (sleep 0.1s) &&" |
#!/bin/sh | |
find . -type f -print0 | xargs -0 dos2unix |
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\smb] | |
"URL Protocol"="" | |
[HKEY_CLASSES_ROOT\smb\shell] | |
[HKEY_CLASSES_ROOT\smb\shell\open] | |
[HKEY_CLASSES_ROOT\smb\shell\open\command] | |
@="powershell -WindowStyle Hidden -Command \"& { Invoke-Expression $(-join('cmd /c', [URI]::UnescapeDataString('start %1').Replace('smb://', '//').Replace('/', '\\'))) }\"" |
#!/bin/sh | |
# command to asynchronously start GUI app on remote host inside XRDP session (batch command is part of "at" package) | |
ssh user@host "echo 'DISPLAY=:10 app_name' | at now" |
# | |
# torrc configuration file that allows to setup Tor-proxy on port 8080 through another proxy in LAN on port 3128 with obfs4 transport | |
# | |
# 1. On Windows install Tor as service | |
# tor -service install --options -f "c:\Users\user\AppData\Roaming\tor\torrc" | more | |
# | |
# 2. Check Tor is working (SOCKS port checking) | |
# netstat -aon | findstr ":9050" | |
# | |
# 3. Set proxy in browser to 127.0.0.1:8080 for both HTTP and HTTPS |
DO $$ | |
DECLARE | |
objs INTEGER[]; | |
r RECORD; | |
i INTEGER; | |
subquery_str TEXT; | |
with_str TEXT; | |
from_str TEXT; | |
query_str TEXT; | |
where_str TEXT; |