Skip to content

Instantly share code, notes, and snippets.

@aichingm
aichingm / PKGBUILD
Created Oct 16, 2018
ccat PKGBUILD
View PKGBUILD
# Maintainer: Mario Aichinger <aichingm@gmail.com>
pkgname=ccat
pkgver=1.1.0
pkgrel=2
pkgdesc="Colorizes output for cat."
arch=('any')
url="https://github.com/jingweno/ccat"
license=('CUSTOM')
makedepends=('go' 'git')
@aichingm
aichingm / PKGBUILD
Last active Apr 30, 2018
A PKGBUILD for the gtk3 version of guake
View PKGBUILD
# Maintainer: Mario Aichinger <aichingm@gmail.com>
pkgname=guake-gtk3-git
pkgver=3.2.0.29.gd6a6ee1
pkgrel=1
pkgdesc="Top-down terminal for Gnome using gtk3 and vte3"
arch=('i686' 'x86_64' 'armv7h')
url="https://github.com/Guake/guake"
license=('GPL')
depends=('python' 'gtk3' 'libkeybinder3' 'vte-common' 'vte3' 'python-pbr' 'python-gobject' 'gettext' 'gobject-introspection-runtime')
@aichingm
aichingm / ssh-telegram.sh
Last active Apr 8, 2016 — forked from matriphe/ssh-telegram.sh
Bash Script to notify via Telegram Bot API when user log in SSH
View ssh-telegram.sh
# save it as /etc/profile.d/ssh-telegram.sh
# use jq to parse JSON from ipinfo.io
# get jq from here http://stedolan.github.io/jq/
USERID="<target_user_id>"
KEY="<bot_private_key>"
TIMEOUT="10"
URL="https://api.telegram.org/bot$KEY/sendMessage"
DATE_EXEC="$(date "+%d %b %Y %H:%M")"
TMPFILE='/tmp/ipinfo-$DATE_EXEC.txt'
if [ -n "$SSH_CLIENT" ]; then
You can’t perform that action at this time.