Skip to content

Instantly share code, notes, and snippets.

Dave Shapiro dsshap

Block or report user

Report or block dsshap

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View output.txt
2018-02-08T04:52:46.707Z [info] [proxy] ProxyServerMediaSubsession[rtsp://,H264]::createNewStreamSource(session id 0)
2018-02-08T04:52:46.708Z [info] [proxy] Initiated: ProxyServerMediaSubsession[rtsp://,H264]
2018-02-08T04:52:46.708Z [info] ProxyServerMediaSubsession[rtsp://,H264]::createNewRTPSink()
2018-02-08T04:52:46.708Z [info] ProxyServerMediaSubsession[rtsp://,H264]::closeStreamSource()
2018-02-08T04:52:46.708Z [info] ProxyServerMediaSubsession[rtsp://,PCMU]::createNewStreamSource(session id 0)
2018-02-08T04:52:46.708Z [info] Initiated: ProxyServerMediaSubsession[rtsp://,PCMU]
2018-02-08T04:52:46.708Z [info] ProxyServerMediaSubsession[rtsp://,PCMU]::createNewRTPSink()
2018-02-08T04:52:46.708Z [info] ProxyServerMediaSubsession[rts
View sidekiq_hard_worker1.yml
:logfile: /var/log/sidekiq_worker
:concurrency: 40
- !ruby/array:Chef::Node::ImmutableArray
- high
- 7
- !ruby/array:Chef::Node::ImmutableArray
- default
- 5
dsshap / logs.txt
Created Aug 23, 2016
Yate Startup
View logs.txt
root@raspberrypi:/# yate -s
Supervisor (21214) is starting
Yate (21215) is starting Tue Aug 23 22:56:46 2016
Loaded module iSAC floating point - based on WebRTC iSAC library version 4.3.0 (SPL version 1.2.0)
Loaded module RegexRoute
Loaded module Javascript
Loaded module GSM - based on libgsm-1.0.10
Loaded module MUX
Loaded module ToneDetector
Loaded module PBX
View recusive.rb
def acquire_values_recursively(list_node, val_array=[])
return [] if list_node.nil?
val_array << list_node.value
unless list_node.next_node.nil?
acquire_values_recursively(list_node.next_node, val_array)
return val_array
- compared to -
View gist:9de471ad5d530e977ef5
Dec 27 11:28:34 dsshap-iPhone someapp[14703] <Error>: assertion failed: 12B411: libxpc.dylib + 71820 [AD580443-238D-3997-8D09-004C210D0C18]: 0x7d
Dec 27 11:28:34 dsshap-iPhone someapp[14703] <Warning>: Pixate Freestyle v2.1.4 (API 2) - Build 2014/06/23
Dec 27 11:28:34 dsshap-iPhone someapp[14703] <Warning>: Warning: sync SCNetworkReachability (by-name) query on main thread
Dec 27 11:28:34 dsshap-iPhone someapp[14703] <Warning>: Flurry: Starting session on Agent Version [Flurry_iOS_140_5.4.0]
Dec 27 11:28:35 dsshap-iPhone someapp[14703] <Warning>: uninitialized constant MenuManager::SWRevealViewController (NameError)
Dec 27 11:28:39 dsshap-iPhone ReportCrash[14705] <Notice>: Formulating crash report for process someapp[14703]

Tinder API documentation

I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> (horribly quick and dirty, you've been warned!)

Note: this was written in April/May 2014 and the API may have changed since

API Details

dsshap / gist:5400025
Last active Dec 16, 2015
View gist:5400025
module C
class B
include C
*bunch of constant shit
dsshap / gist:5205792
Created Mar 20, 2013
Sublime Layouts
View gist:5205792
"id": "view",
"children": [{
"id": "layout",
"children": [{
"command": "set_layout",
"caption" : "1-2 Grid",
"keys": ["super+alt+shift+5"],
dsshap / gist:4225296
Created Dec 6, 2012
Sidekiq Autoscaler
View gist:4225296
Sidekiq.configure_client do |config|
config.redis = { :size => 1 }
if heroku
config.client_middleware do |chain|
chain.add Autoscaler::Sidekiq::Client, heroku
dsshap / gist:4120134
Created Nov 20, 2012
Heroku ENV in Dev
View gist:4120134
heroku_env = File.join(Rails.root, 'config', 'heroku_env.rb')
load(heroku_env) if File.exists?(heroku_env)
ENV['foo'] = "bar"
You can’t perform that action at this time.