I did PCI passthrough on Archlinux and Debian with the old PCI-stub method (this was pre-4.0 era). And later I did PCI passthrough on the 4.1+ kernels on Arch and Ubuntu (16.10 I think?).
This is my attempt at doing the same on Nixos.
;; put this into profiles.clj in ~/.lein folder | |
{:user {:jvm-opts ^:replace ["-Xmx6G" | |
"-XX:-OmitStackTraceInFastThrow"] | |
:repl-options {:timeout 180000} | |
:plugins [[cider/cider-nrepl "0.49.0"] | |
[refactor-nrepl "3.10.0"] | |
[jonase/eastwood "0.3.14"] | |
[lein-ancient "1.0.0-RC3"] | |
[lein-try "0.4.3"] | |
[lein-cloverage "1.0.13"] |
curl -sSL -o /dev/null -D - http://domain.com | |
-S, --show-error Show an error message if it fails | |
-L/--location If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response | |
code), this option will make curl redo the request on the new place. | |
-o, --output FILE Write output to <file> instead of stdout | |
-D, --dump-header FILE Write the headers to this file | |
curl -v -o - -D - http://domain.com |
#!/bin/bash | |
while read LINE; do | |
curl -o /dev/null --silent --head --write-out '%{http_code}' "$LINE" | |
echo " $LINE" | |
done < url-list.txt |
#!/bin/bash | |
echo "This is a idle script (infinite loop) to keep container running." | |
echo "Please replace this script." | |
cleanup () | |
{ | |
kill -s SIGTERM $! | |
exit 0 | |
} |
I did PCI passthrough on Archlinux and Debian with the old PCI-stub method (this was pre-4.0 era). And later I did PCI passthrough on the 4.1+ kernels on Arch and Ubuntu (16.10 I think?).
This is my attempt at doing the same on Nixos.
Openbox | |
Tint2 | |
Urxvt | |
lxappearance | |
breeze dark | |
for system-wide mouse configuration, one can edit /usr/share/icons/default/index.theme | |
tint2conf is the customizer | |
sudo xbps-query -Rs rxvt |
class Tokenizer | |
attr_accessor :blocks, :current_token, :current_word, :root | |
def initialize | |
@id = 0 | |
@root = [] | |
@stack = [@root] | |
@current_word = "" | |
end |