Skip to content

Instantly share code, notes, and snippets.

Christian Koepp ckoepp

Block or report user

Report or block ckoepp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ckoepp
ckoepp / i3lock
Created Jan 1, 2018
custom wrapper for i3lock with blurry screenshot
View i3lock
#!/bin/bash
TEMP_DIR=$(mktemp -d)
ORIG_SCREENSHOT_PATH="$TEMP_DIR/orig.png"
import -window root -display :0 $ORIG_SCREENSHOT_PATH
convert $ORIG_SCREENSHOT_PATH -filter Gaussian -resize 50% -define filter:sigma=1.6 -resize 200% $ORIG_SCREENSHOT_PATH
i3lock -i $ORIG_SCREENSHOT_PATH -t -f -e -p win -c 000000
rm -rf $TEMP_DIR
@ckoepp
ckoepp / isso
Created Dec 29, 2016
FreeBSD rc.d script for isso
View isso
#!/bin/sh
#
# PROVIDE: isso
# REQUIRE: networking
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable isso:
#
# isso_enable (bool): Set to "NO" by default.
@ckoepp
ckoepp / change_mac_address
Last active Jan 28, 2019
A small bash script to change a mac address - includes one line of Python to generate random numbers.
View change_mac_address
#!/bin/bash
# The MIT License (MIT)
#
# Copyright (c) 2014 Christian Koepp <christian.koepp@tum.de>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
You can’t perform that action at this time.