Skip to content

Instantly share code, notes, and snippets.

View tryone144's full-sized avatar
🙃

Bernd Busse tryone144

🙃
  • Germany
View GitHub Profile
@tryone144
tryone144 / xlib_err.c
Created August 31, 2016 14:03
Print error message for specific X11 error code.
/**
* xlib_err
* print error message for specific error code
*
* (c) 2016 Bernd Busse
**/
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#!/bin/bash
#
# (c) 2015 Bernd Busse
#
if ! pgrep stalonetray &>/dev/null; then
# start stalonetray
stalonetray --geometry 10x1 --grow-gravity W --icon-gravity SE --icon-size 16 --kludges force_icons_size --skip-taskbar true --sticky true --transparent true --tint-color black --tint-level 128 --window-strut bottom &
fi
@tryone144
tryone144 / bash-resize.sh
Created December 30, 2015 17:29
Resize images (shrink only) to screen sized .jpg
#!/bin/bash
#
# Resize images (shrink only) to screen sized .jpg
#
# (c) 2015 Bernd Busse
#
BLUE="\e[1;34m"
RED="\e[1;31m"
GREEN="\e[1;32m"
@tryone144
tryone144 / dxx-autobuild
Last active August 29, 2015 14:24
build the most current bazaar tree of DXX-REBIRTH
#!/bin/sh
#
# dxx-autobuild - build the most current bazaar tree of DXX-REBIRTH
# Copyright (C) 2015 Bernd Busse
#
# 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.
#
@tryone144
tryone144 / md2pdf
Created June 10, 2015 14:37
Wrapper to run the markdown renderer gimli
#!/usr/bin/ruby
#
# Wrapper to run gimli
#
# (c) 2015 Bernd Busse
require 'rubygems'
version = ">= 0"
@tryone144
tryone144 / CI4.png
Last active August 29, 2015 14:17
Linux Wrapper for Chicken Invaders 4
CI4.png
@tryone144
tryone144 / CI5.png
Last active August 29, 2015 14:17
Linux Wrapper for Chicken Invaders 5
CI5.png
@tryone144
tryone144 / .gitignore
Created March 3, 2015 16:22
Android-Studio .gitignore
.gradle
/gradle/
/local.properties
/gradle.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build