I hereby claim:
- I am criztovyl on github.
- I am criztovyl (https://keybase.io/criztovyl) on keybase.
- I have a public key ASADhzoMtiunuWZBZVoaKTbFieHJSTC3TZDR6lcDBcuFLAo
To claim this, I am signing this object:
# 2016 Christoph "criztovyl" Schulz | |
# No Copyright, too trivial. | |
dlextract() { | |
file=$1 | |
command=$2 | |
keep=$3 | |
wget $file && $command `basename $_` && [ "$keep" ] || rm -f $_ | |
} | |
dlunzip(){ dlextract "$1" "7z x" $2; } | |
dluntar(){ dlextract "$1" "tar -xaf" $2; } |
#!/bin/bash | |
# A script for initializing gists | |
# Copyright (C) 2015 Christoph "criztovyl" Schulz | |
# | |
# 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, |
#!/usr/bin/env ruby | |
require "nokogiri" | |
require "open-uri" | |
require "json/add/struct" | |
require "logger" | |
require "typhoeus" | |
if ARGV[0] =~ /-{1,2}h(elp)?/ | |
puts "Usage: ./%s subdomain-name" % $0 |
devpath() | |
{ | |
DEVPATH_DIR=$HOME/.local/share/devpath | |
DEVPATH_RE='.*devpath/.' | |
if [[ "$1" =~ ^-{0,2}h(elp)?$ ]] || [[ -z "$1" ]]; then | |
echo "Usage: devpath scriptName" >&2 | |
echo "or : devpath -l|--list" >&2 | |
return 0 | |
elif [[ "$1" =~ ^-{0,2}l(ist)?$ ]]; then |
gpl-comment() | |
{ | |
[[ "$1" =~ ^-{0,2}h(elp)?$ ]] && { echo -e "Tries to display the description line of a GPLed file.\nUsage: gpl-comment file"; return 0; } | |
echo $(head -n2 $1 | tail -n1 | sed 's/^\W \?//') | |
} |
#!/bin/bash | |
# A small tool to init files with a GPL header. | |
# Copyright (C) 2015 Christoph "criztovyl" Schulz | |
# | |
# 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, |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Utility for Bandcamp discographies | |
# Copyright (C) 2016 Christoph "criztovyl" Schulz | |
# | |
# 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, |
#!/bin/bash | |
# Hacky-Hacky notify-send hack for sending from cron(tab). | |
# Copyright (C) 2016 Christoph criztovyl Schulz | |
# | |
# 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, |
#!/bin/bash | |
# Utility to firefox_decrypt.py | |
# Copyright (C) 2016 Christoph criztovyl Schulz | |
# | |
# 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, |