Skip to content

Instantly share code, notes, and snippets.

@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>
@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 / .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 / bash_bar.sh
Created March 6, 2015 19:40
bash bar
#!/bin/bash
#########################
# example #
#########################
# $ ./bash_bar.sh 60 100
#[||||||||||||||||||||||||||||||||||||||||||||||||||||||| 60%]
#
value=$1
width=$2

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 / 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
@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
Name: arc-theme
Version: 20151214
Release: 1%{?dist}
Summary: a theme for GTK 3, GTK 2 and Gnome-Shell
BuildArch: noarch
Group: Applications/Multimedia
License: GPLv3
URL: https://github.com/horst3180/%{name}
Source0: https://github.com/horst3180/%{name}/archive/%{version}.tar.gz
@sedrubal
sedrubal / cava.spec
Created October 27, 2015 21:52
cava - RPM SPEC
Name: cava
Version: 0.3.5
Release: 1%{?dist}
Summary: Console-based Audio Visualizer for Alsa
Group: Applications/Multimedia
License: MIT
URL: https://karlstav.github.io/%{name}/
Source0: https://github.com/karlstav/%{name}/archive/%{version}.tar.gz
@sedrubal
sedrubal / k9-log.txt
Created February 23, 2016 22:22
k9 Mail LogCat for "Empty Trash"
--------- beginning of system
--------- beginning of main
02-23 23:13:59.819 V/k9 (13449): Stored uid '7713' for msgSeq 5331 into map
02-23 23:13:59.819 V/k9 (13449): conn256987670<<<#null# [5332, FETCH, [UID, 7714, FLAGS, [\Seen, <Folder>]]]
02-23 23:13:59.819 V/k9 (13449): Stored uid '7714' for msgSeq 5332 into map
02-23 23:13:59.820 V/k9 (13449): conn256987670<<<#null# [5333, FETCH, [UID, 7715, FLAGS, [\Seen, <Folder>]]]
02-23 23:13:59.820 V/k9 (13449): Stored uid '7715' for msgSeq 5333 into map
02-23 23:13:59.820 V/k9 (13449): conn256987670<<<#null# [5334, FETCH, [UID, 7716, FLAGS, [\Seen, <Folder>]]]
02-23 23:13:59.820 V/k9 (13449): Stored uid '7716' for msgSeq 5334 into map
02-23 23:13:59.820 V/k9 (13449): conn256987670<<<#null# [5335, FETCH, [UID, 7717, FLAGS, [\Seen, <Folder>]]]