Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am monty5811 on github.
  • I am monty5811 ( on keybase.
  • I have a public key whose fingerprint is CF81 DAB0 9859 59FE 10C0 6B6F 0487 EDCA 306E 2F13

To claim this, I am signing this object:

monty5811 / filtering_component.jsx
Created Mar 4, 2016
React Higher Order Component to filter an array of objects
View filtering_component.jsx
import React, { Component } from 'react';
function obj2str(obj) {
if (obj === null) {
return '';
const vals = Object.keys(obj).map(
key => {
let val = obj[key];
if (typeof(val) === 'object') {
monty5811 /
Created Oct 3, 2014
Handbrake batch convert
import os
import subprocess
handbrakePath = ""
tmpFolder = ""
outputFolder = ""
if os.path.isdir(outputFolder):
#! /usr/bin/env
import datetime
import sys
import urllib2
import PyRSS2Gen
from lxml import etree
from slugify import slugify
monty5811 / todonotes.sublime-snippet
Created Jun 26, 2014
Sublime text snippet for inserting LaTeX todonotes.
View todonotes.sublime-snippet
You can’t perform that action at this time.