This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| # License APGL | |
| Copyright (C) 2024 Mario Aichinger <aichingm@gmail.com> | |
| This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public | |
| License as published by the Free Software Foundation, version 3. | |
| This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied | |
| warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |