Skip to content

Instantly share code, notes, and snippets.

View honzahommer's full-sized avatar
🎯
Focusing

Honza Hommer honzahommer

🎯
Focusing
View GitHub Profile
@honzahommer
honzahommer / .bash_aliases
Last active March 11, 2017 07:19
Compute Metadata Attachments
# ~/.bash_aliases: Bash alias, function and prompt definitions.
case $- in
*i*) ;;
*) return;;
esac
export HISTFILESIZE=1000
export HISTCONTROL=ignoredups
export LSCOLORS=ExGxxxxxCxxxxxCxCxExEx
@honzahommer
honzahommer / cf-alert-hide.js
Last active February 20, 2017 09:47
Hide Cloudflare's Always Online™ alert and reload page after 60 seconds
/**
* @function
* @name Anonymous self-invoked function
* @description Hide Cloudflare's Always Online™ alert and reload page after 60 seconds
* @author Honza Hommer <honza@hommer.cz>
*/
(function () {
var alert
if (alert = document.getElementById('cf_alert_div'), alert !== null && alert.innerText.indexOf('offline') === -1)
#!/usr/bin/env bash
{ # this ensures the entire script is downloaded #
if [ $EUID != 0 ]; then
echo "ERROR: You have to be root to execute this script"
exit 1
fi
DEBIAN_FRONTEND=noninteractive
#!/usr/bin/env bash
{ # this ensures the entire script is downloaded #
if [ $EUID != 0 ]; then
echo "ERROR: You have to be root to execute this script"
exit 1
fi
DEBIAN_FRONTEND=noninteractive
Ubuntu GNOME (and Debian) tweak scripts colletion...

Keybase proof

I hereby claim:

  • I am honzahommer on github.
  • I am honzahommer (https://keybase.io/honzahommer) on keybase.
  • I have a public key whose fingerprint is 78A9 F88A 5277 04EA C814 169A C345 C534 806C 79E2

To claim this, I am signing this object: