This file contains 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
k3sup install \ | |
--host=172.16.10.11 \ | |
--user=ootput \ | |
--k3s-version=v1.21.1+k3s1 \ | |
--local-path=config.minipcarmy.yaml \ | |
--context minipcarmy \ | |
--cluster \ | |
--tls-san 172.16.10.5 \ | |
--k3s-extra-args="--disable servicelb --node-taint node-role.kubernetes.io/master=true:NoSchedule" |
This file contains 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
@@ -12,7 +12,7 @@ function searchFormHelper(options){ | |
return '<form action="//google.com/search" method="get" accept-charset="UTF-8" class="' + className + '">' + | |
'<input type="search" name="q" results="0" class="' + className + '-input"' + (text ? ' placeholder="' + text + '"' : '') + '>' + | |
(button ? '<button type="submit" class="' + className + '-submit">' + (typeof button === 'string' ? button : text) + '</button>' : '') + | |
- '<input type="hidden" name="q" value="site:' + config.url + '">' + | |
+ '<input type="hidden" name="sitesearch" value="' + config.url + '">' + | |
'</form>'; | |
} |
This file contains 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
When asked about start and end we are going to use percentages like so. | |
(parted) mkpart | |
Partition name? []? 1 | |
File system type? [ext2]? ext4 | |
Start? 0% | |
End? 100% | |
You could also do this from the command line like |
This file contains 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
http://cynicaltux.blogspot.it/2014/03/round-off-your-crunchbang-waldorf-part-i.html | |
//10.254.0.10/tv_episodes /data/tv_episodes cifs credentials=/usr/local/etc/whisper.credentials,file_mode=0664,dir_mode=0775,gid=adm,uid=1000,user 0 0 | |
//10.254.0.10/hd_movies /data/hd_movies cifs credentials=/usr/local/etc/whisper.credentials,file_mode=0664,dir_mode=0775,gid=adm,uid=1000,user 0 0 | |
//10.254.0.10/downloads /data/downloads cifs credentials=/usr/local/etc/whisper.credentials,file_mode=0664,dir_mode=0775,gid=adm,uid=1000,user 0 0 | |
/usr/local/etc/whisper.credentials: | |
username=10.254.0.10/ootput | |
password=**** |
This file contains 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
{% if modules.readernaut %} | |
<h3><span>${ "Readernaut" }</span></h3> | |
<table><tr> | |
{% for book in modules.readernaut.books %} | |
<td> | |
<a href="$book.book_edition.permalink"> | |
<img src="$book.book_edition.covers.cover_small" alt="$book.book_edition.title" /> | |
</a> | |
</td> | |
{% endfor %} |
This file contains 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
#!/usr/local/bin/bash | |
# | |
# Parses DHCP options from OpenVPN to update resolv.conf. | |
# To use set as ‘up’ and ‘down’ script in your openvpn config: | |
# up /etc/openvpn/update-resolv-conf | |
# down /etc/openvpn/update-resolv-conf | |
# | |
# credit: | |
# * Thomas Hood <jdthood@yahoo.co.uk> | |
# * Chris Hanson |
This file contains 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
-- look_ootput_dark.lua drawing engine configuration file for Ion. | |
---- <ootput @ freenode> | |
if not gr.select_engine("de") then return end | |
de.reset() | |
de.defstyle("*", { | |
background_colour = "black", | |
foreground_colour = "#204a87", |
This file contains 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
-- look-ootput.lua drawing engine configuration file for Ion. | |
---- <http://metawire.org/~ootput> | |
if not gr.select_engine("de") then return end | |
de.reset() | |
de.defstyle("*", { | |
shadow_colour = "grey20", | |
highlight_colour = "grey20", |
This file contains 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
diff --git a/init.freebsd b/init.freebsd | |
index 8d9ba4b..3f65b31 100755 | |
--- a/init.freebsd | |
+++ b/init.freebsd | |
@@ -69,7 +69,7 @@ verify_sickbeard_pid() { | |
sickbeard_stop() { | |
echo "Stopping $name" | |
verify_sickbeard_pid | |
- ${WGET} -O - -q --user=${SBUSR} --password=${SBPWD} "http://${HOST}:${PORT}/home/shutdown/" >/dev/null | |
+ ${WGET} -O - -q --user=${SBUSR} --password=${SBPWD} "http://${HOST}:${PORT}/home/shutdown/?pid=${pid}" >/dev/null |
NewerOlder