Skip to content

Instantly share code, notes, and snippets.

@sedrubal
sedrubal / mumble.spec
Created October 6, 2015 00:51
mumble - RPM SPEC
# Because of a bug you have to run:
#sudo ln -s /usr/include/speech-dispatcher/libspeechd.h /usr/include/libspeechd.h
#sudo ln -s /usr/include/speech-dispatcher/libspeechd_version.h /usr/include/libspeechd_version.h
# And you should verify the download by using the signature:
#https://github.com/mumble-voip/mumble/releases/download/1.2.10/mumble-1.2.10.tar.gz.sig
Name: mumble
Version: 1.2.10
Release: 1%{?dist}
Summary: Mumble VoIP Client/Server
@sedrubal
sedrubal / cmus.spec
Last active October 9, 2015 23:13
cmus - RPM SPEC
Name: cmus
Version: 2.7.1
Release: 3%{?dist}
Summary: Ncurses-Based Music Player
Group: Applications/Multimedia
License: GPLv2+
URL: https://cmus.github.io/
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz

Keybase proof

I hereby claim:

  • I am sedrubal on github.
  • I am sedrubal (https://keybase.io/sedrubal) on keybase.
  • I have a public key whose fingerprint is 1106 DDBC 2093 58B8 1396 1CC3 B83D 4C8C EB8A BFF6

To claim this, I am signing this object:

@sedrubal
sedrubal / bash_bar.sh
Created March 6, 2015 19:40
bash bar
#!/bin/bash
#########################
# example #
#########################
# $ ./bash_bar.sh 60 100
#[||||||||||||||||||||||||||||||||||||||||||||||||||||||| 60%]
#
value=$1
width=$2
@sedrubal
sedrubal / .bash_aliases
Last active August 29, 2015 14:13
bashrc
alias cd..='cd ..'
alias rtfm='man'
alias fuck='eval $(thefuck $(fc -ln -1))'
alias fuu='fuck'
alias arm='sudo -u debian-tor arm'
alias ducks='du -cks * | sort -rn | head -11'
@sedrubal
sedrubal / cleanTex.sh
Last active September 10, 2015 18:31
cleanTex
#/bin/bash
#########################################
# a small script to clean latex folders #
# author: sedrubal license: CC BY-SA #
#########################################
echo "[i] cleaning latex foo"
rm -f *.out
rm -f *.swp
@sedrubal
sedrubal / StartupHandler
Created September 29, 2013 22:15
a vb.net module, to register or unregister the current program in system-startup-entries.
Option Strict On
'TODO Add an COM-reference to C:\Windows\System32\shell32.dll
''' <summary>
''' a module, to register or unregister the current project in system-startup-entries
''' </summary>
''' <remarks>Add an COM-reference to C:\Windows\System32\shell32.dll</remarks>
Module StartUpHandler
''' <summary>