Skip to content

Instantly share code, notes, and snippets.

@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
@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 / 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 / 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>
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 / 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>]]]
@sedrubal
sedrubal / debug.vcard
Created March 30, 2016 13:49
A broken contact image in vcard
BEGIN:VCARD
VERSION:3.0
UID:20140129T234653.1006b69f26@192.168.0.101
PRODID:+//IDN bitfire.at//DAVdroid/0.9.1.2 vcard4android ez-vcard/0.9.8
FN:Foo Bar
N:Foo;Bar;;;
TEL;TYPE=cell;PREF=1:1234
TEL:1234
TEL:1234
TEL;TYPE=cell:1234
@sedrubal
sedrubal / opacapp1.svg
Created September 17, 2016 13:35
opacapp logo drafts
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

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: