Skip to content

Instantly share code, notes, and snippets.

View shokinn's full-sized avatar

Philip Henning shokinn

View GitHub Profile
@shokinn
shokinn / initramfs-unlocker.sh
Last active November 22, 2017 06:40 — forked from BinaryShrub/initramfs-unlocker.sh
LUKS remote decrypt (dropbear) for Ubuntu 16.04.1 on btrfs array
#!/bin/bash
## LUKS remote decrypt for Ubuntu 16.04.1 - by BinaryShrub
# NOTES:
# Tailor lines 108 - 110 to your system before running!
# Use at your own risk!
# Safety Check
if [ "$EUID" -ne 0 ]
then echo "You must run this as root"
@shokinn
shokinn / _blank_black.html
Last active September 22, 2017 09:02
Blank black page with centered text input box
<html>
<head>
<!DOCTYPE html>
<style>
@import url('https://fonts.googleapis.com/css?family=Roboto:300');
</style>
</head>
<body style="background: #000;">
<div style="width: 98%;
height: 100%;

Keybase proof

I hereby claim:

  • I am shokinn on github.
  • I am pphg (https://keybase.io/pphg) on keybase.
  • I have a public key ASDWlJytUnzhjY_VAbqAVdyTtoJu10FrfrIoXj9H5OVkhAo

To claim this, I am signing this object:

@shokinn
shokinn / windows_terminals_hotkeys.ahk
Created April 13, 2017 15:01
A little AHK-script to open WSL Terminal and Cmder
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; Start WSL Terminal
#Enter::
Run, C:\tools\wsl-terminal\open-wsl.exe -l
Return

Keybase proof

I hereby claim:

  • I am shokinn on github.
  • I am philip_henning (https://keybase.io/philip_henning) on keybase.
  • I have a public key whose fingerprint is A171 CB48 9D79 2B23 FFD1 23C7 E24C 1780 06ED 3FBF

To claim this, I am signing this object: