I hereby claim:
- I am jagipson on github.
- I am jagipson (https://keybase.io/jagipson) on keybase.
- I have a public key whose fingerprint is 6E36 F7D0 9840 E16D C3D2 5994 2119 914E 74DA 72F9
To claim this, I am signing this object:
# -*- mode: snippet -*- | |
# name: wgetopts | |
# key: wgetopts | |
# ${1:$(mapconcat (lambda (c) (format "%c)\n\t: #TODO: Implement option\n\t;;\n\n" c)) yas-text "")} | |
# -- | |
while getopts ":${1:opts}"; do | |
case opt in | |
${1:$(mapconcat (lambda (c) (format "%c)\n\t: #TODO: Implement option\n\t;;\n\n" c)) (replace-regexp-in-string ":" "" yas-text) "")} | |
*) | |
usage |
]$ ANSIBLE_DEBUG=1 ANSIBLE_INVENTORY_ENABLED=virtualbox ansible-inventory -vvv -i virtualbox.yaml --graph | |
5946 1547054856.76272: starting run | |
ansible-inventory 2.6.7 | |
config file = /home/jagipson/Projects/ADMIN/ansible/ansible.cfg | |
configured module search path = [u'/home/jagipson/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
ansible python module location = /usr/lib/python2.6/site-packages/ansible | |
executable location = /usr/bin/ansible-inventory | |
python version = 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] | |
Using /home/jagipson/Projects/ADMIN/ansible/ansible.cfg as config file | |
5946 1547054856.96379: Added group all to inventory |
$ ANSIBLE_INVENTORY_ENABLED=virtualbox ansible-inventory -i virtualbox.yaml --graph | |
[WARNING]: Unable to parse /images/Projects/ADMIN/ansible/virtualbox.yaml as an inventory source | |
[WARNING]: No inventory was parsed, only implicit localhost is available | |
@all: | |
|--@ungrouped: |
~/Projects/ADMIN/ansible]$ ansible-inventory -vvv -i virtualbox.yaml --graph | |
ansible-inventory 2.6.7 | |
config file = /home/jagipson/Projects/ADMIN/ansible/ansible.cfg | |
configured module search path = [u'/home/jagipson/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
ansible python module location = /usr/lib/python2.6/site-packages/ansible | |
executable location = /usr/bin/ansible-inventory | |
python version = 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] | |
Using /home/jagipson/Projects/ADMIN/ansible/ansible.cfg as config file | |
[WARNING]: Skipping unexpected key (plugin) in group (virtual), only "vars", "children" and "hosts" are valid |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Script to assemble all trump's tweets in a single JSON file | |
pushd "$(mktemp -d --tmpdir)" || exit | |
git clone https://github.com/bpb27/trump_tweet_data_archive.git | |
cd trump_tweet_data_archive |
#!/bin/bash | |
# This needed to be done | |
echo "͡° ͜ʖ ͡°" |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<dict> | |
<key>IKEv2</key> | |
<dict> | |
<key>AuthName</key> |
%pre --interpreter /usr/bin/python | |
# -*- coding: utf-8 -*- | |
import os, sys | |
from snack import * | |
def set_tty(n): | |
f = open('/dev/tty%d' % n, 'a') | |
os.dup2(f.fileno(), sys.stdin.fileno()) | |
os.dup2(f.fileno(), sys.stdout.fileno()) | |
os.dup2(f.fileno(), sys.stderr.fileno()) |
#!/bin/awk | |
# usage: yum list | ./fix_yum_list.awk | |
function reform(l) { | |
match(l, /^([^[:space:]]+)[[:space:]]+([^[:space:]]+)[[:space:]]+([^[:space:]].*$)/, f) | |
return f[1] "\t" f[2] "\t" f[3] | |
} | |
/^Installed Packages$/ { disp="installed"; next } | |
/^Available Packages$/ { disp="available"; next } |