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:
I hereby claim:
To claim this, I am signing this object:
#!/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" |
## Just source this file in your .$SHELLrc | |
# Import SSH-Keys from KeePass KeeAgent | |
# Enable msysgit socken in KeeAgent! | |
if [[ -z $SSH_AUTH_SOCK ]]; then | |
export SSH_AUTH_SOCK="/tmp/.ssh-auth-sock" | |
fi | |
if [[ ! -f /tmp/msysgit2unix-socket.pid ]]; then | |
~/bin/msysgit2unix-socket.py /mnt/c/Users/$USER/keeagent.sock:$SSH_AUTH_SOCK |
#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 |
I hereby claim:
To claim this, I am signing this object:
<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%; |
CURRENCY_MAP = { | |
'$': 'USD', | |
'₽': 'RUB', // there is a missing character in editor font | |
'€': 'EUR', | |
'฿': 'THB' | |
} | |
function _formatToCurrency(formatString) { | |
var currencyRegexp = /\[.*(.)\]/g; | |
var currency = currencyRegexp.exec(formatString)[1]; |
# | |
# This script is depricated go to this repo to get the latest version: | |
# https://github.com/shokinn/emby-updater | |
# | |
# | |
# | |
# If you still need the old (bash) version, you can find it in the older Versions of this gist. | |
# |
#!/bin/bash | |
# | |
# App update script | |
# by Philip "ShokiNN'" Henning <mail@philip-henning.com> | |
# | |
# License: MIT | |
# Copyright 2018 Philip Henning | |
# | |
# 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 copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
#!/bin/bash | |
die () { | |
echo -e >&2 "$@" | |
exit 1 | |
} | |
# check if script runs as root or via sudo | |
[ "$UID" -eq 0 ] || die "You have to run this script as root!" |