Skip to content

Instantly share code, notes, and snippets.

View niklas-heer's full-sized avatar

Niklas Heer niklas-heer

View GitHub Profile

Keybase proof

I hereby claim:

  • I am niklas-heer on github.
  • I am nih (https://keybase.io/nih) on keybase.
  • I have a public key whose fingerprint is 6729 6D47 97BD 51B6 88C6 987C DA71 EE9F C954 B79A

To claim this, I am signing this object:

@niklas-heer
niklas-heer / PKGBUILD
Created February 28, 2015 17:36
hub-bin
# Maintainer: Félix "passcod" Saparelli <aur@passcod.name>
# Contributors:
# Niklas "niklas.heer" Heer <niklas.heer@gmail.com>
# Matthieu "CircleCode" Codron <codronm+circlecode@gmail.com>
pkgname=hub-bin
pkgver=2.2.0
pkgrel=5
pkgdesc="hub helps you win at git. Go-powered version"
arch=('i686' 'x86_64')
url="https://hub.github.com"
@niklas-heer
niklas-heer / .htaccess
Created December 3, 2014 10:20
.htaccess file for jekyll
# BEGIN Jekyll redirect
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#this assumes you compiled your site to "/_site"
#Map http://www.example.com to /_site.
RewriteRule ^$ /_site/ [L]
#Map http://www.example.com/x to /_site/x unless there is a x in the web root.
@niklas-heer
niklas-heer / jekyll-common-code
Last active August 29, 2015 14:10
Jekyll useful sample code-blocks
---
layout: post
title: Title
description: Description
modified: 2013-08-20
tags: [sample post, code]
image:
feature: abstract-10.jpg
credit: dargadgetz
creditlink: http://www.dargadgetz.com/ios-7-abstract-wallpaper-pack-for-iphone-5-and-ipod-touch-retina/
@niklas-heer
niklas-heer / thinklight
Created April 30, 2013 16:56
A simple Shell-Script to turn the Thinkpad-LED-Light on or off.
#!/bin/sh
if [ "$1" = "on" ]; then
echo 1 > /sys/devices/platform/thinkpad_acpi/leds/tpacpi::thinklight/brightness
elif [ "$1" = "off" ]; then
echo 0 > /sys/devices/platform/thinkpad_acpi/leds/tpacpi::thinklight/brightness
else
echo "Error: Wrong paramater! Only on/off allowed!"
fi
@niklas-heer
niklas-heer / README.md
Last active December 13, 2015 18:09 — forked from agnoster/README.md
@niklas-heer
niklas-heer / ccupdater
Created November 25, 2012 19:52
LUA: CCUpdater
--[[
Name: CC-Updater
Author: Niklas Heer
Version: 1.1
]]
--[[ Pastebin Stuff ]]
local pastebinWget = "mFisCzD5"
local pastebinUpdater = "AZp1TVjT"
local pastebinConfigFileURL = "http://pastebin.com/raw.php?i=GLdbuTgy"