Skip to content

Instantly share code, notes, and snippets.

View hiphamster's full-sized avatar

Alex Yelluas hiphamster

View GitHub Profile
@hiphamster
hiphamster / cue_to_mp3.py
Created January 14, 2018 20:05 — forked from bancek/cue_to_mp3.py
CUE splitter using ffmpeg (to mp3)
cue_file = 'file.cue'
d = open(cue_file).read().splitlines()
general = {}
tracks = []
current_file = None
@hiphamster
hiphamster / 0_reuse_code.js
Created August 5, 2017 18:13
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@hiphamster
hiphamster / pandoc.css
Created August 3, 2017 03:24 — forked from killercup/pandoc.css
Add this to your Pandoc HTML documents using `--css pandoc.css` to make them look more awesome. (Tested with Markdown and LaTeX.)
/*
* I add this to html files generated with pandoc.
*/
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
@hiphamster
hiphamster / imgcmp.py
Created June 30, 2017 18:33 — forked from attilaolah/imgcmp.py
Fast image comparison with Python
import math
import Image
import Levenshtein
class BWImageCompare(object):
"""Compares two images (b/w)."""
_pixel = 255

Keybase proof

I hereby claim:

  • I am hiphamster on github.
  • I am hiphamster (https://keybase.io/hiphamster) on keybase.
  • I have a public key whose fingerprint is AFC2 84E8 92A8 F0D7 21AA E885 5006 BFD6 4676 8E0F

To claim this, I am signing this object:

@hiphamster
hiphamster / _readme.md
Last active August 29, 2015 14:17 — forked from shime/_readme.md

Having trouble installing the latest stable version of tmux?

I know, official package for your OS/distro is outdated and you just want the newest version of tmux.

Well, this script should save you some time with that.

Prerequisities

  • gcc