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 | |
# my personal setting up a windows 10 host on KVM notes. | |
# | |
# README | |
# | |
# the virtio-win-* file is a an ISO that's available from redhat. get | |
# the right version of this. (http://bit.ly/2Flex3) | |
# | |
# WIN10_DISK: the destination raw image that you want to work with. |
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 python3 | |
import pprint | |
import sys | |
import pyparsing as pp | |
def printSection(str, loc, toks): | |
print("got section!") |
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
--- | |
# USE THIS AT YOUR OWN RISK!!! | |
# more info here: https://botwerks.org/post/ubiquity-airprint-for-reference/ | |
# | |
# this should be run after an upgrade to restore bonjour mcast discovery | |
# between the guest network and the host network services (printing, etc.) | |
# | |
# note: the ubiquiti access points run busybox so we need to use the available | |
# shell commands in ansible raw mode. this is service impacting so you will | |
# be punted from the AP when the apply-config operation takes place. |
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
https://casemanager.juniper.net/casemanager/#/cmdetails/* | |
post-http://www-int.juniper.net/directory/Search.asp?SearchString=* | |
https://deepthought.juniper.net/app/do/showView?tableName=RLI&taskCode=all&record_number=* | |
post-http://www-int.juniper.net/directory/tester.asp?SearchString=* | |
post-http://www-int.juniper.net/directory/tester.asp?radio1=emp&SearchString=* | |
post-https://www-int.juniper.net/directory/Search.asp?SearchType=&SearchString=* | |
https://gnats.juniper.net/web/default/* |
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
! No configuration change since last restart | |
upgrade fpd auto | |
version 15.1 | |
service config | |
service timestamps debug datetime msec | |
service timestamps log datetime | |
service password-encryption | |
! | |
hostname sulrich-xtr | |
! |
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
set cli config-output-format set | |
set cli pager off | |
set cli scripting-mode on | |
configure | |
set deviceconfig system ip-address 192.168.xx.xx | |
set deviceconfig system hostname xxx | |
set deviceconfig system default-gateway 192.168.xx.yy | |
set deviceconfig system netmask 255.255.255.0 | |
set deviceconfig system dns-setting servers primary 8.8.8.8 | |
set deviceconfig system dns-setting servers secondary 8.8.4.4 |
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
flog-lync () { | |
local LYNC_CACHE="${HOME}/Library/Caches/com.microsoft.Lync" | |
LYNCSULTS=( | |
'lync sucks so much its nearing gravitational collapse' | |
'lync is so ugly the government moved halloween to its release date' | |
'lync is the mars of conferencing systems there are no signs of life' | |
'lync makes happy meals cry' | |
) | |
local rand=$[ $RANDOM % ${#LYNCSULTS[@]} ] |
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 sulrich on github. | |
* I am sulrich (https://keybase.io/sulrich) on keybase. | |
* I have a public key whose fingerprint is 8965 16F7 4A4B 972E 7D27 78E7 F924 0D54 75AC 80C0 | |
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/zsh | |
i=$ARGV[0] | |
# path to the key file for this zone | |
KEY_FILE="${HOME}/bin/keys/Kt-MY-ZONE-HERE.key" | |
# file used to update the associated record | |
UPDATE_FILE="/tmp/host-t-MY-ZONE-HERE-update.txt" |
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/zsh | |
# path to key file associated with the key for the zone | |
KEY_FILE="${HOME}/bin/keys/K-MY-KEY-HERE.key" | |
# path to file with the appropriate entries created by the setup process | |
DELETE_FILE="/tmp/delete-t-MY-ZONE-HERE-update.txt" | |
echo -n "sending zone deletion ... " | |
/usr/bin/nsupdate -k ${KEY_FILE} ${DELETE_FILE} |