Skip to content

Instantly share code, notes, and snippets.

@teefax
teefax / install_openlens.sh
Last active August 9, 2022 16:00 — forked from jslay88/install_openlens.sh
Build and Install OpenLens
#!/bin/bash
install_deps_windows() {
echo "Installing Build Dependencies (Windows)..."
choco install -y make visualstudio2019buildtools visualstudio2019-workload-vctools
}
install_deps_darwin() {
echo "Installing Build Dependencies (Darwin)..."
xcode-select --install
@teefax
teefax / example
Last active August 29, 2015 14:21 — forked from baudehlo/example
Subject: Thanks for signing up!
Date: {{date}}
To: {{recipient}}
From: {{sender}}
MIME-Version: 1.0
Content-Type: text/plain
Thanks for signing up for the Foobar service!
Your email address is: {{recipient}}
# /etc/network/interfaces
#
auto lo
iface lo inet loopback
# device: eth0
iface eth0 inet manual
# IPv4 bridge
# (connect ONLY your firewall/router KVM instance here, this is the WAN device!)
@teefax
teefax / oc.sh
Created February 8, 2011 12:25
open a url from os x terminal in google chrome
#!/bin/sh
URL=$1
osascript -e "
tell application \"Google Chrome\"
activate
set newWin to make new window
tell newWin
tell active tab
set URL to \"$URL\"