I hereby claim:
- I am jackprice on github.
- I am jackprice (https://keybase.io/jackprice) on keybase.
- I have a public key ASDjxgv6e-lnsewvgQepPR9fPP5SPZWY9pqL23esdbFWsQo
To claim this, I am signing this object:
/** | |
* Send data to a URL using a hidden iframe | |
* @param {String} URL The URL to send to | |
* @param {Object} data An object describing the data to send (optional) | |
* @param {String} method The method (GET / POST) (optional) | |
*/ | |
function sendData(URL, data, method){ | |
/* Check we have a URL to send to */ | |
if (typeof URL != "string"){ | |
return; |
#!/bin/bash | |
if [ $# -ne 1]; then | |
echo Usage: | |
echo $0 [URL] | |
fi | |
wget -O - $1 | egrep -e "//images.4chan.org/s/src/[0-9]*.jpg" -o | while read u; do wget "http:"$u; done |
(function(){ | |
var dpi; | |
function get_dpi(){ | |
var div = document.createElement("div"); | |
div.style.visibility = "hidden"; | |
div.style.width = "1in"; | |
div = document.body.appendChild(div); | |
var dpi = div.clientWidth; | |
div.parentElement.removeChild(div); |
# | |
# Shell script to print a motd with various bits of information about the system | |
# Included from .bashrc | |
# | |
# Get hostname | |
HOSTNAME=$(hostname) | |
# Get kernel version | |
KERNEL="$(uname -r) ($(uname -s))" |
CHAR_FULL_TRIANGLE='\356\202\260' | |
COLOR_WHITE='\e[37m' | |
COLOR_RESET='\e[0m' | |
COLOR_GREY='\e[90m' | |
COLOR_BLUE='\e[34m' | |
COLOR_GREEN='\e[32m' | |
BG_GREY='\e[100m' | |
BG_BLUE='\e[44m' | |
BG_GREEN='\e[42m' |
I hereby claim:
To claim this, I am signing this object:
2017/03/13 01:53:20 [INFO] Terraform version: 0.8.8 403a86dc557fae52f8e39676b11e1e4356b7d1a2 | |
2017/03/13 01:53:20 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"} | |
2017/03/13 01:53:20 [DEBUG] Detected home directory from env var: /Users/jack | |
2017/03/13 01:53:20 [DEBUG] Detected home directory from env var: /Users/jack | |
2017/03/13 01:53:20 [DEBUG] Attempting to open CLI config file: /Users/jack/.terraformrc | |
2017/03/13 01:53:20 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/03/13 01:53:20 [DEBUG] Detected home directory from env var: /Users/jack | |
2017/03/13 01:53:20 [TRACE] Preserving existing state lineage "63085651-34fe-42e7-a7b5-17c38c61c513" | |
2017/03/13 01:53:20 [TRACE] Preserving existing state lineage "63085651-34fe-42e7-a7b5-17c38c61c513" | |
2017/03/13 01:53:20 [TRACE] Graph after step *terraform.ConfigTransformerOld: |
install | |
cdrom | |
keyboard --vckeymap=gb --xlayouts='gb' | |
lang en_GB.UTF-8 | |
timezone Europe/London --isUtc | |
network --hostname={{ inventory_hostname }} | |
%packages |
build/%.iso: build/%.cfg | |
./build-configuration-iso.sh build/$*.cfg build/$*.iso | |
build/%.cfg: kickstart.cfg.j2 | |
ansible-playbook --limit $* template-kickstart.yml | |
.PHONY: clean | |
clean: | |
rm -rf build/* |
- hosts: all | |
connection: local | |
become: no | |
vars: | |
vsphere_hostname: "{{ lookup('env', 'VSPHERE_HOSTNAME') }}" | |
vsphere_username: "{{ lookup('env', 'VSPHERE_USERNAME') }}" | |
vsphere_password: "{{ lookup('env', 'VSPHERE_PASSWORD') }}" | |
vsphere_datacenter: changeme |