Skip to content

Instantly share code, notes, and snippets.

Juergen Fesslmeier chinshr

  • Palo Alto, California
Block or report user

Report or block chinshr

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 HLS playlist AES-128
curl -v http://phls-live.cdn.turner.com/cnn/cnnintl/hls/2/stream_Layer4.m3u8?hdnea2=exp=1503540817~acl=%2f*~hmac=34d47f5cb1357873a807b6dbeae38205afea761187fc8ad999fc24a88ce3c30c
View arc error
jfesslmeier ~/workspace/snappytv-app/www/talkntv (jfesslmeier/SNAP-3110) $ arc land --trace
ARGV '/opt/twitter_mde/package/arc/7cc4a72709f8f4ce718966e2542aeafa0e2e789d9860f35c1d73a8e5c8191941/arcanist/bin/../scripts/arcanist.php' 'land' '--trace'
LOAD Loaded "phutil" from "/opt/twitter_mde/package/arc/7cc4a72709f8f4ce718966e2542aeafa0e2e789d9860f35c1d73a8e5c8191941/libphutil/src".
LOAD Loaded "arcanist" from "/opt/twitter_mde/package/arc/7cc4a72709f8f4ce718966e2542aeafa0e2e789d9860f35c1d73a8e5c8191941/arcanist/src".
Config: Reading user configuration file "/Users/jfesslmeier/.arcrc"...
Config: Reading system configuration file "/etc/arcconfig"...
Working Copy: Unable to find .arcconfig in any of these locations: /Users/jfesslmeier/workspace/snappytv-app/.arcconfig.
Working Copy: Path "/Users/jfesslmeier/workspace/snappytv-app/www/talkntv" is part of `git` working copy "/Users/jfesslmeier/workspace/snappytv-app".
Working Copy: Project root is at "/Users/jfesslmeier/workspace/snappytv-app".
Config: Did no
View Rjb dump
08:34:53 worker.1 | /home/ubuntu/.rvm/gems/ruby-2.2.3@vz-cpw/gems/diarize-ruby-0.3.3/lib/diarize/audio.rb:37: [BUG] Segmentation fault at 0x00000000000000
08:34:53 worker.1 | ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
08:34:53 worker.1 |
08:34:53 worker.1 | -- Control frame information -----------------------------------------------
08:34:53 worker.1 | c:0038 p:---- s:0159 e:000158 CFUNC :import
08:34:53 worker.1 | c:0037 p:0019 s:0155 e:000154 METHOD /home/ubuntu/.rvm/gems/ruby-2.2.3@vz-cpw/gems/diarize-ruby-0.3.3/lib/diarize/audio.rb:37
08:34:53 worker.1 | c:0036 p:0052 s:0150 e:000149 METHOD /home/ubuntu/vz-cpw/lib/cpw/speech/audio_splitter.rb:69
08:34:53 worker.1 | c:0035 p:0079 s:0145 e:000144 METHOD /home/ubuntu/vz-cpw/lib/cpw/speech/audio_splitter.rb:29
08:34:53 worker.1 | c:0034 p:0116 s:0141 e:000138 METHOD /home/ubuntu/vz-cpw/lib/cpw/speech/engines/base.rb:84
08:34:53 worker.1 | c:0033 p:0014 s:0135 e:000134 METHOD /home/ubuntu/vz-cpw/lib/cpw/speech/engines/google_cloud_speech_engin
@chinshr
chinshr / codeclimate.yml
Created Nov 9, 2015
Codecomplexity CC yaml
View codeclimate.yml
languages:
Ruby: true
exclude_paths:
- "app/models/video_migration.rb" # is what was intended to be ignored with the previous lib/*_migration.rb ?
- "app/smart/**/*.rb"
- "app/utviz/**/*.rb"
- "config/application.rb" #this didnt seem to be ignored by the following line.
- "config/**/*"
View codeclimate-complexity-33.rb
def perform
Rails.logger.info "AudioExtractor: creating Elastic Transcoder Job for #{ingest.video.handle}"
client.create_job({
pipeline_id: PIPELINE_ID,
input: {
key: "#{ingest.video.handle}.mp4"
},
output: {
key: "#{ingest.video.handle}.mp3",
@chinshr
chinshr / Jenkinsfile
Last active Sep 9, 2019
Best of Jenkinsfile, a collection of useful workflow scripts ready to be copied into your Jenkinsfile on a per use basis.
View Jenkinsfile
#!groovy
# Best of Jenkinsfile
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins
node {
}
@chinshr
chinshr / gist:38f525b3101af3174f71
Created Mar 26, 2015
FedEx Larkspur Dr., Healsburgh, CA", address validation error
View gist:38f525b3101af3174f71
POST https://gateway.fedex.com:443/xml/
> <AddressValidationRequest xmlns="http://fedex.com/ws/addressvalidation/v2">
<WebAuthenticationDetail>
<UserCredential>
<Key>wdnHHEULCYFPnEwq</Key>
<Password>KJgbpvpE6W5aroRiAXCAEJO0b</Password>
</UserCredential>
</WebAuthenticationDetail>
<ClientDetail>
<AccountNumber>632499744</AccountNumber>
View gist:80127d40ff3205dd784c
class ApplicationController < ...
#...
protected
# session[:current_vendor_id]
def current_vendor
@current_vendor ||= vendor_from_session unless @current_vendor == false
@chinshr
chinshr / Scaling Rails
Created Jan 6, 2015
Some low and higher hanging fruits to scale Rails apps
View Scaling Rails
<!DOCTYPE html>
<html>
<head>
<title>Scaling Rails</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
View Variant includes
def variant_includes
[:default_price, :product, collections: [:images, :collection_series], :images, :product => [:master => :images]]
end
You can’t perform that action at this time.