Skip to content

Instantly share code, notes, and snippets.

View StephenRadachy's full-sized avatar
😂

Stephen Radachy StephenRadachy

😂
View GitHub Profile
FROM debian:buster-slim
LABEL description="POC Docker image that demonstrates building basisu"
LABEL author="Stephen J Radachy <stephen@radachy.com>"
# Configuration
ARG BASIS_RELEASE="2f43afcc97d0a5dafdb73b4e24e123cf9687a418"
ARG BASIS_REPO="/basisu"
# Dependencies
@StephenRadachy
StephenRadachy / Dockerfile
Last active September 5, 2022 07:36
POC Docker image that demonstrates building usd_from_gltf
FROM stephenradachy/usd-docker:19.11
LABEL description="POC Docker image that demonstrates building usd_from_gltf"
LABEL author="Stephen J Radachy <stephen@radachy.com>"
# Configuration
ARG UFG_RELEASE="3bf441e0eb5b6cfbe487bbf1e2b42b7447c43d02"
ARG UFG_REPO="/UFG"
ARG UFG_INSTALL="/usr/local/UFG"
ENV USD_DIR="/usr/local/USD"
@StephenRadachy
StephenRadachy / Dockerfile
Created November 9, 2019 23:08
POC Docker image that demonstrates building USD with python bindings
FROM python:2-slim-buster
LABEL description="POC Docker image that demonstrates building USD with python bindings"
LABEL author="Stephen J Radachy <stephen@radachy.com>"
# Configuration
ARG USD_RELEASE="19.11"
ARG USD_REPO="/USD"
ARG USD_INSTALL="/usr/local/USD"
ENV PYTHONPATH="${PYTHONPATH}:${USD_INSTALL}/lib/python"
@StephenRadachy
StephenRadachy / sidebar_plusplus.css
Created April 26, 2018 01:53
Sidebar++: A Gmail Redesign Stylish Theme
/* Sidebar++: A Gmail Redesign Stylish Theme
* Author: https://github.com/StephenRadachy
*
* Purpose - Reduce whitespace in left sidebar for more message screen realestate.
* Particulary useful on small browser windows
* Example: https://imgur.com/a/3H3avwO
*
* Install Stylish
* Chrome: https://chrome.google.com/webstore/detail/stylish-custom-themes-for/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en
* Firefox: https://addons.mozilla.org/en-US/firefox/addon/stylish/

Keybase proof

I hereby claim:

  • I am stephenradachy on github.
  • I am stephenradachy (https://keybase.io/stephenradachy) on keybase.
  • I have a public key ASCWzT1EXK_o3azsvZHLRb1nBjE0dJomnPRKjAQ5OasxMQo

To claim this, I am signing this object:

@StephenRadachy
StephenRadachy / pfsense_cron.sh
Created August 8, 2017 01:16
useful pfsense cron scripts
# Restart All OpenVPN connections
echo "<?php include('openvpn.inc'); openvpn_resync_all();?>" | /usr/local/bin/php -q >/dev/null 2>&1
# Speedtest (pip install speedtest-cli) to /var/log/speedtest.log
# format: <download as float>,<download unit (Mbit/s,Gbit/s)>,<upload as float>,<upload unit (Mbit/s,Gbit/s)>,<unix timestamp>
/usr/local/bin/speedtest | /usr/bin/grep "Download:\|Upload:" | /usr/bin/sed -E -e 's/Download: |Upload: //g' | /usr/bin/tr '[:space:]' ',' | /usr/bin/awk '{srand(); print $0 srand()}' >> ./speedtest.log
@StephenRadachy
StephenRadachy / .slate
Created February 22, 2017 05:17
Slate Configuration
# Slate documentation:
# https://github.com/jigish/slate
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
# Push Bindings
# 1/2 of screen
@StephenRadachy
StephenRadachy / wwhack.sh
Last active February 13, 2016 09:44
HIDE WWHack Presentation
###################
# #
# Basics #
# #
###################
# Updating
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
#!/bin/bash
apt-get -y update
apt-get -y upgrade
apt-get -y dist-upgrade
apt-get -y install git nginx nodejs npm
npm install -g bower
npm install -g pm2
mkdir -p /etc/nginx/ssl
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 4096
shutdown -r 0
@StephenRadachy
StephenRadachy / upgrade.sh
Last active August 29, 2015 14:25
Digital Ocean User Script to update everything apt
#!/bin/bash
apt-get -y update
apt-get -y upgrade
apt-get -y dist-upgrade
shutdown -r 0