Skip to content

Instantly share code, notes, and snippets.

View neocogent's full-sized avatar

neoCogent neocogent

  • neoCogent
  • Canada
View GitHub Profile

Testing done using a Canon EOS 600D and a Canon EF-S18-55mm f/3.5-5.6 IS II.


  1. VBAT
  2. DET (common with P-GND on lens side)
  3. P-GND
  4. VDD
  5. DCL
  6. DLC
neocogent / bwlimit
Created August 22, 2017 06:50
Traffic shaping for Bitcoin full nodes
# Copyright (c) 2013 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or
#network interface on which to limit traffic
#limit of the network interface in question
#limit outbound Bitcoin protocol traffic to this rate
neocogent / gist:3f83c5bddecdf00d1a6a
Last active December 10, 2015 16:22
Using socketIO-client module to test the Bitpay Insight socket data.
#!/usr/bin/env python
# socketio client
import sys, logging
neocogent / gist:81cf598f00c2e8aeedae
Created May 17, 2015 06:04
Adding h264 support to PhotoFilmStrip
These two small changes worked for me to get h264 support. I also set the BitRate value in settings dialog to only 4000 as the default 12000 gives very large files. The options passed to Mencoder here are probably not perfect. They cause warnings in the err log file but the resulting video files have been working fine for me in XBMC. See my blog post at for more description and also generating filmstrip control parms programatically using SQL queries.
Insert this class into file /usr/lib/python2.7/dist-packages/photofilmstrip/core/renderer/ (right after the MPEG4AC3Renderer class is good).
class H264AVCRenderer(MEncoderRenderer):
def __init__(self):