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 | |
# pseudo namespace and remote execution lib | |
shopt -s expand_aliases | |
################ bootstrap | |
std.fail () { unset -v fail; : "${fail:?${FUNCNAME[1]} $@}"; } | |
std.assert () { $@ || std.fail "$@"; } |
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/bin/env python | |
import pyVmomi | |
import argparse | |
import atexit | |
import itertools | |
from pyVmomi import vim, vmodl | |
from pyVim.connect import SmartConnect, Disconnect | |
import humanize |
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/bin/python | |
# The Samsung trailer format is based on the implementation from ExifTool | |
# http://www.sno.phy.queensu.ca/~phil/exiftool/ | |
import mmap | |
import struct | |
import os | |
import sys |
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
*~ | |
.cache/ | |
.retry/ | |
.hide/ | |
roles/ | |
log/ | |
tmp/ | |
ext/ |
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
*~ | |
.mailmap |
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/bin/make -f | |
make := $(lastword $(MAKEFILE_LIST)) | |
$(make): pass-dummy; | |
SHELL := bash | |
.DEFAULT_GOAL := main | |
main:; @date | |
#### |
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
Host *.github.com | |
Hostname github.com | |
Host thydel.github.com | |
IdentityFile ~/.ssh/id_thydel | |
Host thyepi.github.com | |
IdentityFile ~/.ssh/id_thyepi | |
Host *.gist.github.com |
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/bin/env ansible-playbook | |
--- | |
- hosts: localhost | |
gather_facts: True | |
vars: | |
use_filter_plugins: False | |
use_ssh_config: False | |
ansible_managed_for_copy: Ansible managed |
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/bin/make -f | |
top:; @date | |
Makefile:; | |
# get various ansible versions | |
base := ~/usr/ext | |
version := devel |
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
top:; @date | |
log := find /space/log -name '*.log' | |
base := cut -d/ -f4- | |
apache-links := sed -e 's;\(.*\)/\(.*\);ln -f /space/log/\1/\2 /space/log2/\1_\2;' | |
php-links := sed -e 's;\(.*\)/php/\(.*\);ln -f /space/log/\1/\2 /space/log2/\1_php_\2;' | |
apache := $(log) | grep -v /php/ | $(base) | $(apache-links) | |
php := $(log) | grep /php/ | $(base) | $(php-links) |
NewerOlder