Skip to content

Instantly share code, notes, and snippets.

Avatar
⚠️
thisisunsafe

Lerk lfuelling

⚠️
thisisunsafe
View GitHub Profile
@lfuelling
lfuelling / Kellagroup OS Software License
Last active Dec 24, 2015
This is Version 1.5 of the Kellagroup OS Software License.
View Kellagroup OS Software License
Kellagroup OS Software License
Version 1.5, October 2014
Copyright (c) 2014 Lukas Fülling, [http://k40s.net]
Wahlebachweg 108, 34123 Kassel, Hessen, Germany.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@lfuelling
lfuelling / .bash_profile
Last active Aug 29, 2015
.bash_profile (Mac)
View .bash_profile
# ---------------------------------------------------------------------------
#
# 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
View 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 / install_syslinux.sh
Created Mar 4, 2015
Syslinux Install script
View install_syslinux.sh
#!/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 / wifi-aliases.sh
Created Feb 6, 2017
Bash aliases for wifi and darkmode
View wifi-aliases.sh
#!/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 / Dockerfile
Last active Feb 9, 2017
dradis-ce Dockerfile (alpha)
View Dockerfile
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 / spectre.c
Created Jan 8, 2018 — forked from ErikAugust/spectre.c
Spectre example code
View spectre.c
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif
@lfuelling
lfuelling / mac.sh
Last active Apr 25, 2018
macOS initial config
View mac.sh
#!/usr/bin/env bash
# mac.sh — Based on: https://mths.be/macos
# Close any open System Preferences panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
# Ask for the administrator password upfront
sudo -v
@lfuelling
lfuelling / showCows.sh
Created Jul 13, 2019
See all the available cows on your system!
View showCows.sh
#!/bin/bash
cowsay -l | xargs -n 1 | tail -n +5 | while read line; do cowsay -f $line $line && sleep 1; done
@lfuelling
lfuelling / halcyon.conf
Last active Jul 13, 2019
"jUsT uPlOaD AnD rUn iT"
View halcyon.conf
<VirtualHost *:80>
ServerName {{ halcyon_domain }}
Redirect permanent / https://{{ halcyon_domain }}/
Redirect permanent (.*) https://{{ halcyon_domain }}/
</VirtualHost>
<VirtualHost *:443>
ServerName {{ halcyon_domain }}