This file contains hidden or 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
testing |
This file contains hidden or 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 | |
# Kubernetes prompt helper for bash/zsh | |
# Displays current context and namespace | |
# Copyright 2018 Jon Mosco | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at |
This file contains hidden or 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
#!ipxe | |
dhcp | |
initrd http://ftp.jp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz | |
kernel http://ftp.jp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux auto=true priority=critical url=http://${dhcp-server}/preseed.cfg suite=stretch | |
boot |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am madandroid on github. | |
* I am madandroid (https://keybase.io/madandroid) on keybase. | |
* I have a public key ASCOYNEzQ5bFWeYhIRz6NLVrKhhkJobLZAVyIglzbc5NQQo | |
To claim this, I am signing this object: |
This file contains hidden or 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 | |
# Install dependencies | |
yum install -y ntpd lvm2 | |
### LVMs for mountpoints: | |
### requires an EBS volumes to be mounted at default secondary device location |
This file contains hidden or 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/.ssh/id_rsa b/.ssh/id_rsa | |
deleted file mode 100644 | |
index 90d89a1..0000000 | |
--- a/.ssh/id_rsa | |
+++ /dev/null | |
@@ -1,27 +0,0 @@ | |
------BEGIN RSA PRIVATE KEY----- | |
-MIIEpAIBAAKCAQEA1m6NpH2vwzUjKmCMRMg/lDig8l14tLSDuWqyJNbV1J/EZloT | |
-bPBP+k5+y36ttQZNnoMw7HrHhY9YY5Vv7W0E9Pld/a6KAzz3aXcMsFS1gsdHL1QO | |
-weNj73tuZ7PmUYVgbP4Z40acZWczkkNNpgx/daLTx3L+5rVkvzDV2qyVCHKFOu+5 |
This file contains hidden or 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/.ssh/id_rsa b/.ssh/id_rsa | |
deleted file mode 100644 | |
index 90d89a1..0000000 | |
--- a/.ssh/id_rsa | |
+++ /dev/null | |
@@ -1,27 +0,0 @@ | |
------BEGIN RSA PRIVATE KEY----- | |
-MIIEpAIBAAKCAQEA1m6NpH2vwzUjKmCMRMg/lDig8l14tLSDuWqyJNbV1J/EZloT | |
-bPBP+k5+y36ttQZNnoMw7HrHhY9YY5Vv7W0E9Pld/a6KAzz3aXcMsFS1gsdHL1QO | |
-weNj73tuZ7PmUYVgbP4Z40acZWczkkNNpgx/daLTx3L+5rVkvzDV2qyVCHKFOu+5 |
This file contains hidden or 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 $sftp_is_default { | |
$client_dir = "${m3_sftp::params::sftp_client_dir}/${brand_name}/default" | |
concat::fragment { "ftppasswd__${user_name}": | |
target => "${passwd_file}", | |
content => template("m3_sftp/conf/ftpd.passwd.erb"), | |
order => 10, | |
} |
This file contains hidden or 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/bin/env python | |
import virtinst.util | |
print "UUID:\t", virtinst.util.uuidToString(virtinst.util.randomUUID()) | |
print "MAC:\t", virtinst.util.randomMAC(type="qemu") | |
# for one-liner | |
# python -c 'from virtinst.util import *; print uuidToString(randomUUID())' | |
# python -c 'from virtinst.util import *; print randomMAC(type="qemu")' |
This file contains hidden or 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/bin/env ruby | |
require 'yaml' | |
require 'optparse' | |
require 'fileutils' | |
require 'pp' | |
require 'json' | |
$text_highlight = "\e[1;37;41m" | |
$text_reset = "\e[0m" |
NewerOlder