Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

Caveat

This setup is basically tricking x264 into recording in essentially lossless mode, which makes the files enormous, so you'll probably want to bring them in on a drive or something (think like 4.5gb a minute).

the point is that we prevent the encoding from eating much cpu, so we can get very high quality/high fps recordings. Depending on your editor, you may want to convert these to an intraframe encoding immediately, like ProRes or DNxHD (honestly not sure if DNxHD/R supports 120).

OBS Settings

Video panel

video panel

@dreww
dreww / prompt.sh
Created September 28, 2012 22:30 — forked from tobiassjosten/prompt.sh
# Configure colors, if available.
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
c_reset='\[\e[0m\]'
c_user='\[\033[1;33m\]'
c_path='\[\e[0;33m\]'
c_git_clean='\[\e[0;36m\]'
c_git_dirty='\[\e[0;35m\]'
else
c_reset=
c_user=
@dreww
dreww / gist:3704630
Created September 12, 2012 06:08
california ABC rule 143.2, .3, and .4
143.2 Attire and Conduct..
The following acts or conduct on licensed premises are deemed contrary to public welfare and morals, and
therefore no on-sale license shall be held at any premises where such conduct or acts are permitted:
(1) To employ or use any person in the sale or service of alcoholic beverages in or upon the licensed premises
while such person is unclothed or in such attire, costume or clothing as to expose to view any portion ofthe female breast
below the top of the areola or of any portion of the pubic hair, anus, cleft of the buttocks, vulva or genitals.
(2) To employ or use the services of any hostess or other person to mingle with the patrons while such hostess or
other person is unclothed or in such attire, costume or clothing as described in paragraph (1) above.
(3) To encourage or permit any person on the licensed premises to touch, caress or fondle the breasts, buttocks,
anus or genitals of any other person..
@dreww
dreww / gist:2239997
Created March 29, 2012 17:05
output from tenderlove's test.rb for spectacular
1.9.3-p125 :002 > dev = Spectacular::Device.new '192.168.1.1'
=> #<Spectacular::Device:0x007fa3b1114d18 @host="192.168.1.1", @history=#<Spectacular::History:0x007fa3b1114cf0 @groups={}>>
1.9.3-p125 :003 > dev.interfaces
=> ["mgi0", "mgi1", "mv0", "mv1", "lo0", "wlan0", "wlan1", "pppoe0", "bridge0", "gif0", "stf0"]
[[name=IF-MIB::ifIndex.1, value=1 (INTEGER)], [name=IF-MIB::ifDescr.1, value=mgi0 (OCTET STRING)], #<struct Spectacular::Device::Klass name=[1.3.6.1.2.1.2.2.1.10.1], value=5392>, #<struct Spectacular::Device::Klass name=[1.3.6.1.2.1.2.2.1.16.1], value=3604>]
[[name=IF-MIB::ifIndex.2, value=2 (INTEGER)], [name=IF-MIB::ifDescr.2, value=mgi1 (OCTET STRING)], #<struct Spectacular::Device::Klass name=[1.3.6.1.2.1.2.2.1.10.2], value=31892>, #<struct Spectacular::Device::Klass name=[1.3.6.1.2.1.2.2.1.16.2], value=38110>]
[[name=IF-MIB::ifIndex.3, value=3 (INTEGER)], [name=IF-MIB::ifDescr.3, value=mv0 (OCTET STRING)], #<struct Spectacular::Device::Klass name=[1.3.6.1.2.1.2.2.1.10.3], value=0>, #<struc
@dreww
dreww / newpost.rb
Created December 16, 2011 22:31 — forked from bru/newpost.rb
Creates a new Jekyll post, opens it in a new mvim tab, and adds to the git index
#!/usr/bin/env ruby
require Dir
unless ARGV[0]
puts 'Usage: newpost "the post title"'
exit(-1)
end
blog_root = "/Users/revelation/Projects/studyspace-status/blog"