Skip to content

Instantly share code, notes, and snippets.

View zerodogg's full-sized avatar

Eskild Hustvedt zerodogg

View GitHub Profile
@zerodogg
zerodogg / TTS-dl.pl
Last active October 17, 2016 14:18 — forked from BoltsJ/TTS-dl.pl
#!/usr/bin/perl
=item Copyright
Copyright 2016 Joseph R. Nosie
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@zerodogg
zerodogg / keybase.md
Created March 18, 2016 07:00
Keybase proof

Keybase proof [29/1177]

I hereby claim:

  • I am zerodogg on github.
  • I am zerodogg (https://keybase.io/zerodogg) on keybase.
  • I have a public key ASD3TFPZb5Vb1i4NLtdBmaYwepchsbfhVB_OLZ7AEbn_8Qo

To claim this, I am signing this object:

@zerodogg
zerodogg / gitwrap.sh
Last active December 14, 2015 09:19
Wrapper script for the git-annex precompiled linux tarball
#!/bin/sh
# Put this file into the git-annex.linux directory extracted from the tarball,
# and then symlink it into your path as "git".
# Ie:
# ln -s "$PWD/gitwrap.sh" "$HOME/bin/git"
# or
# ln -s "$PWD/gitwrap.sh" "/usr/local/bin/git"
#
# Afterwards you can verify that you're using the git annex version from
# the tarball with:
@zerodogg
zerodogg / seb.py
Created August 1, 2012 20:46 — forked from Schnouki/seb.py
Simple encrypted backup (designed for a bunch of small files, like mails in the Maildir format). More details on http://schnouki.net/2011/02/11/secure-remote-backup-for-my-mail-folder/
#!/usr/bin/env python3
#
# Simple encrypted backup
#
# Copyright 2011 Thomas Jost
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later
# version.
@zerodogg
zerodogg / graph_from_text.pl
Created November 22, 2010 13:11
Quick and dirty wrapper around Graph::Easy
#!/usr/bin/perl
# graph_from_text
# Copyright (C) Eskild Hustvedt 2007
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@zerodogg
zerodogg / fetchTranslations.pl
Created December 2, 2009 15:19
Script to fetch and install translations from transifex
#!/usr/bin/perl
# fetchTranslations
# Hack to retrieve and install translations from transifex
# Copyright (C) Eskild Hustvedt 2009
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
@zerodogg
zerodogg / gist:208248
Created October 12, 2009 08:30
Dynamically load git bash completion
# Dynamically load git bash completion
function __LoadGitBashCompl ()
{
# Remove the existing placeholder completion
complete -r git
# Load the full completion if it exists
if [ -e "/etc/bash_completion.d/git" ]; then
source "/etc/bash_completion.d/git"
_git "$@"
else
#
# Patch managed by http://www.holgerschurig.de/patcher.html
#
--- //home/zerodogg/tt/src/config.c~termwidth
+++ //home/zerodogg/tt/src/config.c
@@ -209,19 +209,35 @@
if (!strcasecmp(arg, "ON"))
{
@zerodogg
zerodogg / masontest.pl
Created September 30, 2009 09:33
A quick implementation of a perl -c -like command for Mason.
#!/usr/bin/perl
# masontest - a quick implementation of a perl -c -like command for Mason.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. See <http://www.gnu.org/licenses/>.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@zerodogg
zerodogg / userContent.css
Created September 30, 2009 08:38
github userContent.css for firefox with minimum font-size 13
/*
* Get the github menu to render properly when firefox is set to
* minimum font-size 13.
*
* Put in ~/.mozilla/firefox/[PROFILE]/chrome/userContent.css
*/
@-moz-document domain(github.com) {
#header .userbox {
margin-top: 0.6em !important;
}