Skip to content

Instantly share code, notes, and snippets.

melMass / 0_reuse_code.js
Created Nov 11, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
melMass /
Created Oct 11, 2016 — forked from aerickson/
Get total rsync progress using Python
# from
import subprocess
import re
import sys
print('Dry run:')
cmd = 'rsync -az --stats --dry-run ' + sys.argv[1] + ' ' + sys.argv[2]
proc = subprocess.Popen(cmd,
melMass /
Created Oct 5, 2016 — forked from dbr/
IRIDAS .look to .csp LUT
"""From the seemingly undocumented IRIDAS .look format to .csp
import re
import os
import sys
import struct
import binascii
import xml.etree.ElementTree as ET



Headings from h1 through h6 are constructed with a # for each level:

# h1 Heading
## h2 Heading
### h3 Heading
melMass /
Created May 1, 2016 — forked from tokejepsen/
Nuke: Batch Edit Tool
import os
import difflib
import nuke
import nukescripts
class KnobsPanel(nukescripts.PythonPanel):
def __init__(self, knobs):
nukescripts.PythonPanel.__init__(self, 'KnobsPanel')
View gist:e290aea88a4ab0c7a5c6


Sélectionner lesimages d'une largeur de 300 pixels :


Sélectionner les deux premiers titres <h3> d'une page :

melMass /
Last active Nov 1, 2015 — forked from todgru/


  • du -sh {directory} list display size of directory in human readable format.
  • du -sh * show size of each directory in the current path
  • df disk space usage
$ du -sh *
 11M  Applications
melMass / voices.txt
Created Nov 1, 2015 — forked from ttscoff/voices.txt
Voices available to say command on OS X 10.10.3
View voices.txt
# Voices available to `say` on OS X
# "*" indicates new additions since 10.8
Agnes (en_US)
Albert (en_US)
Alex (en_US)
*Alice (it_IT)
*Alva (sv_SE)
*Amelie (fr_CA)
*Anna (de_DE)