Skip to content

Instantly share code, notes, and snippets.

@lfuelling
lfuelling / Dockerfile
Last active February 9, 2017 22:00
dradis-ce Dockerfile (alpha)
FROM ruby:2.2
##
# Docker image for Dradis-ce.
# This is NOT the final version!
##
MAINTAINER Lukas Fülling (lukas@k40s.net)
# Install dependencies using apt
@lfuelling
lfuelling / wifi-aliases.sh
Created February 6, 2017 13:17
Bash aliases for wifi and darkmode
#!/bin/bash
# Wifi
alias wstat="networksetup -getairportpower en0"
alias won="networksetup -setairportpower en0 on"
alias woff="networksetup -setairportpower en0 off"
# Darkmode
alias darkon='osascript -e "tell application \"System Events\" to tell appearance preferences to set dark mode to true"'
alias darkoff='osascript -e "tell application \"System Events\" to tell appearance preferences to set dark mode to false"'
@lfuelling
lfuelling / install_syslinux.sh
Created March 4, 2015 14:30
Syslinux Install script
#!/bin/bash
clear
set -e
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
echo "Do you REALLY want to do this? (y/N)"
read a
if [[ $a == "Y" || $a == "y" ]]; then
@lfuelling
lfuelling / jenkins_custom.css
Created January 30, 2015 10:38
Jenkins Custom CSS
body {
background: #ffffff;
background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #ffffff));
background: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 100%);
background: -o-linear-gradient(top, #ffffff 0%, #ffffff 100%);
background: -ms-linear-gradient(top, #ffffff 0%, #ffffff 100%);
background: linear-gradient(top, #ffffff 0%, #ffffff 100%); }
h1, h2, h3, h4, h5, h6 {
@lfuelling
lfuelling / .bash_profile
Last active August 29, 2015 14:06
.bash_profile (Mac)
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management