Skip to content

Instantly share code, notes, and snippets.

[~]% gdb /usr/bin/i3 core.i3.4875
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
warning: Can't read pathname for load map: Input/output error.
#!/bin/bash
#i3status | dzen2 -dock -fn terminus -ta r
DZEN="dzen2 -dock -fn terminus -ta r"
GAJIM="gajim-remote get_unread_msgs_number"
IP=$(ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}')
OUT_IP=$(getip -q)
DATE_ARG="+%d.%m.%Y %H:%M"
# example uzbl config. in a real config, we should obey the xdg spec
# all settings are optional. you can use uzbl without any config at all (but it won't do much)
# keyboard behavior is vimstyle by default (all commands -> 1 key). set
# always_insert_mode to always be in insert mode and disable going out of it.
# if you do this, make sure you've set a modkey so you can reach the commands
# from insert mode by combining them with the modkey
# TODO: ability to attach misc things (spawn <foo>, script <bar>,.. to internal events)
#!/bin/bash
i3-dzen.rb | dzen2 -dock -ta r -fn "-*-terminus-medium-r-normal--14-120-75-75-C-70-iso8859-1"
# Übersicht Datentypen
verschiedene Datentypen:
* char, string: Zeichenketten (nicht weiter erläutert)
* boolean: Wahrheitswerte
* integer: Ganzzahlen
* real, single, double, extended: Gleitkommazahlen
## Wahrheitswerte
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Contributor: Your Name <youremail@domain.com>
pkgname=debian-xtrace
pkgver=1.0.0
pkgrel=1
pkgdesc="what strace is for system calls, xtrace is for X11-connections"
#!/bin/bash
./i3-dzen.rb | dzen2 -ta r -fn "-*-terminus-medium-r-normal--14-120-75-75-C-70-iso8859-1" -y 1031 -expand left -bg black -dock
# $Id: PKGBUILD,v 1.16 2008/10/23 16:13:04 partition Exp $
# Maintainer: Roman Kyrylych <roman@archlinux.org>
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Teto_z <deianys@gmail.com>
pkgname=opera-bundled
pkgver=10.01
pkgrel=5
pkgdesc="The Opera web browser, with QT4 runtime"
arch=('i686' 'x86_64')
#!/usr/bin/env ruby18
# a simple cache class, used in my dzen2 script
# usage:
# cache = Cache.new(command, time)
# where 'command' is program executed with in a shell (using backticks)
# and 'time' is the timeout in seconds
# to fetch a value:
# cache.get
# use bang method to ignore cache:
# cache.get!
#!/usr/bin/env ruby18
# encoding: utf-8
require 'time'
DZEN_CONFIG = {
:delimiter => "^fg(#333333)^p(5;-2)^ro(2)^p()^fg()^p(5)",
:ending => "^p(6)\n",
:interval => 3
}