Skip to content

Instantly share code, notes, and snippets.

View taylor's full-sized avatar
🐢
🌊

Taylor Carpenter taylor

🐢
🌊
View GitHub Profile
@taylor
taylor / Selenium Cheat Sheet.md
Last active March 5, 2021 06:27 — forked from kenrett/Selenium Cheat Sheet.md
Selenium Cheat Sheet - Ruby

#Getting Started

##Webpage:

<html>
<head>
    <title>Testing with Ruby and Selenium WebDriver</title>
</head>
 
<body bgcolor="antiquewhite">
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@taylor
taylor / README-persistent-local-volume-test.md
Last active November 11, 2020 01:24
Testing K8s persistent local volumes
@taylor
taylor / ubuntu-dev-setup.sh
Created October 7, 2020 15:13
my old ubuntu dev setup
#!/bin/bash -x
# vim: ft=sh
RUBY=no
POSTGRES=no
REDIS=no
MEMCACHED=no
TAYLOR_VIM=yes
TAYLOR_TMUX=yes
#! /bin/sh
set -eu
LINKERD2_VERSION=${LINKERD2_VERSION:-stable-2.4.0}
if [ "$(uname -s)" = "Darwin" ]; then
OS=darwin
else
OS=linux
@taylor
taylor / build_errors.md
Last active June 27, 2018 23:06
vagrant box build and use failure for vDNS
root@cnfdev07:/var/lib/libvirt/images# tar zcvf vDNS-$(date +%Y%m%d-%H%M).box ./metadata.json ./Vagrantfile ./vDNS.img
root@cnfdev07:/var/lib/libvirt/images# vagrant box add --name vDNS vDNS-20180627-2300.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'vDNS' (v0) for provider:
    box: Unpacking necessary files from: file:///var/lib/libvirt/images/vDNS-20180627-2300.box
==> box: Successfully added box 'vDNS' (v0) for 'libvirt'!
root@cnfdev07:/var/lib/libvirt/images# mkdir x
root@cnfdev07:/var/lib/libvirt/images# cd x
root@cnfdev07:/var/lib/libvirt/images/x# vagrant init  vDNS
#!/bin/bash
# uses scrot for capture
# and imgur for posting
SCROT=scrot
#SCROT=escrotum
post=0
scrotargs=""
selectopt="-s"
@taylor
taylor / tmux-1.8-on-CentOS-6.x.txt
Created February 16, 2017 20:43 — forked from sturadnidge/tmux-1.8-on-CentOS-6.x.txt
Install tmux 1.8 on CentOS 6.x minimal (64bit)
# download latest libevent2 and tmux sources, and extract them somewhere
# (thx bluejedi for tip on latest tmux URL)
#
# at the time of writing:
# https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
# http://sourceforge.net/projects/tmux/files/latest/download?source=files
#
# install deps
yum install gcc kernel-devel make ncurses-devel
#!/bin/bash
curl -C - -L -O http://downloads.sourceforge.net/tmux/tmux-1.8.tar.gz
curl -C - -L -O https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar zxvf tmux-1.8.tar.gz
tar zxvf libevent-2.0.21-stable.tar.gz
yum install gcc kernel-devel make ncurses-devel -y
@taylor
taylor / README.md
Last active August 29, 2015 14:07 — forked from pzol/README.md

This was a test with Poltergeist I did the other day

#!ruby
def polter
   noop

end