View k3s bootstrap + metallb
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
#!/bin/bash | |
# wipe old k3s | |
bash /usr/local/bin/k3s-agent-uninstall.sh; bash /usr/local/bin/k3s-uninstall.sh | |
# install k3s https://rancher.com/docs/k3s/latest/en/installation/install-options/ | |
curl -sfL https://get.k3s.io | \ | |
K3S_KUBECONFIG_MODE="644" \ | |
sh -s - \ | |
server \ | |
--cluster-init \ |
View cloud-init0.yaml
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
# https://github.com/rancher/k3os/blob/master/README.md#configuration-reference | |
# https://www.centlinux.com/2019/05/configure-network-on-k3os-machine.html | |
boot_cmd: | |
- "mkdir -p /mnt/e0945f92-350f-424c-a951-2a47a6c9f767 /var/lib/connman/ethernet_a8a159476f3f_cable" | |
ssh_authorized_keys: | |
- "github:travnewmatic" | |
write_files: |
View gist:c463908ead6bf212f8fe012223e5d654
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
INFO: Downloading Selenium | |
Jun 28, 2019 4:01:21 AM hudson.PluginManager dynamicLoad | |
INFO: Attempting to dynamic load /var/lib/jenkins/plugins/selenium.jpi | |
Jun 28, 2019 4:01:32 AM hudson.model.UpdateCenter$DownloadJob run | |
SEVERE: Failed to install Selenium | |
java.io.IOException: Failed to dynamically deploy this plugin | |
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2034) | |
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1726) | |
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) | |
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) |
View gist:ec4b54aa33985dc314fde97347689334
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
(setq user-mail-address "travispaulnewman@gmail.com" | |
user-full-name "Travis Newman") | |
;; workaround for TLS1.3 bug | |
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") | |
;; Make Gnus NOT ignore [Gmail] mailboxes | |
(setq gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]") | |
(setq gnus-select-method '(nntp "aioe" |
View gist:ac2c3c29b98c3daabe3886d31ce69413
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
(setq user-mail-address "name@domain.tld" | |
user-full-name "first last") | |
;; workaround for TLS1.3 bug | |
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") | |
;; Make Gnus NOT ignore [Gmail] mailboxes | |
(setq gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]") | |
(setq gnus-select-method |
View gist:e19cf91577e1582d93e9187ff602f528
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
Warning: Opening nntp server on news...failed: >>> (error news/nntp Temporary failure in name resolution); Server nntp+news previously determined to b\ | |
e down; not retrying; Opening nntp server on news...failed: >>> (error news/nntp Temporary failure in name resolution); Server nntp+news previously de\ | |
termined to be down; not retrying | |
Connecting to imap.gmail.com... | |
Opening nnimap server on imap.gmail.com... | |
Opening connection to imap.gmail.com via tls... | |
Unable to open server nnimap+imap.gmail.com due to: Process *nnimap* not running | |
Opening nnimap server on imap.gmail.com...failed: | |
Unable to contact server imap.gmail.com: |
View gist:77630dc0395c9faacf2e6c9beeb3ba30
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
(setq user-mail-address "travnewmatic@gmail.com" | |
user-full-name "Travis Newman") | |
(setq gnus-select-method | |
'(nnimap "gmail" | |
(nnimap-address "imap.gmail.com") | |
(nnimap-server-port "imaps") | |
(nnimap-stream tls))) | |
(setq smtpmail-smtp-server "smtp.gmail.com" |
View gist:253bbb7fa435a03e2d081d6c89b581d4
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
on computer that works: | |
tnewman@host0:~$ ./go-jira-bash | |
++ '[' -f /home/tnewman/.gpg-agent-info ']' | |
++ '[' '!' -f /home/tnewman/.gpg-agent.conf ']' | |
++ '[' -n '' ']' | |
+++ tty | |
++ export GPG_TTY=/dev/pts/1 | |
++ GPG_TTY=/dev/pts/1 | |
on computer that does not work: |
View gist:42d27ea3564685f41a3b97fa791d4f74
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
{ | |
"Images": [ | |
{ | |
"Architecture": "x86_64", | |
"CreationDate": "2019-04-19T10:05:37.000Z", | |
"ImageId": "ami-0eff36fb6e06d5a49", | |
"ImageLocation": "243104436078/i-0aa27c41b3bb78f6a", | |
"ImageType": "machine", | |
"Public": false, | |
"OwnerId": "243104436078", |
View gist:d29700cf4df034fcd5c8d57f66b80665
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
Desktop | |
Documents | |
Downloads | |
Dropbox | |
go | |
lynx_bookmarks.html | |
Lynx.trace | |
Music |
NewerOlder