Skip to content

Instantly share code, notes, and snippets.

@ttyS0
ttyS0 / special-transcode.rb
Last active March 9, 2022 14:44 — forked from lisamelton/special-transcode.rb
Ruby script for Windows and Linux to transcode or copy essential media tracks into a smaller, more portable format while remaining high enough quality to be mistaken for the original.
#!/usr/bin/env ruby
#
# special-transcode.rb
#
# Copyright (c) 2019-2022 Don Melton
#
require 'English'
require 'fileutils'
require 'json'
@ttyS0
ttyS0 / classic-transcode.rb
Last active February 22, 2022 00:34 — forked from lisamelton/classic-transcode.rb
Cross-platform Ruby script to transcode or copy essential media tracks into a smaller, more portable format while remaining high enough quality to be mistaken for the original.
#!/usr/bin/env ruby
#
# classic-transcode.rb
#
# Copyright (c) 2019-2022 Don Melton
#
require 'English'
require 'fileutils'
require 'json'
@ttyS0
ttyS0 / build.sh
Created May 24, 2019 18:07
BoxCLI Builder
#!/usr/bin/env bash
NODE_REQUIRED="v10"
# True if $1 is an executable in $PATH
function is_bin_in_path {
builtin type -P "$1" &> /dev/null
}
# check for node
@ttyS0
ttyS0 / packer-permissions.json
Created August 8, 2017 13:42 — forked from ogrodnek/packer-permissions.json
packer IAM permissions
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "NonResourceBasedReadOnlyPermissions",
"Action": [
"ec2:DescribeSubnets",
"ec2:DescribeSnapshots",
"ec2:DescribeImages",
"ec2:DescribeVolumes",
@ttyS0
ttyS0 / cf-template.cf
Created December 28, 2015 15:47
CFEngine Config Template
###############################################################################
#
# filename.cf
#
# File Title ( wiki link )
#
# This lists the promises in their order of operation.
#
###############################################################################
@ttyS0
ttyS0 / keybase.md
Last active September 7, 2015 18:19
keybase.md

Keybase proof

I hereby claim:

  • I am ttys0 on github.
  • I am ttys0 (https://keybase.io/ttys0) on keybase.
  • I have a public key whose fingerprint is 216F 5E14 0CDD 5CF5 9EBC 6672 730A 5E34 C5D2 91E1

To claim this, I am signing this object: