This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
/////////////////////////////// | |
// Sublime-Text Key Bindings // | |
/////////////////////////////// | |
// Author: Philipp Moers <soziflip funnycharacter gmail dot com> | |
/////////// | |
// View // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" This is a configuration file for Vimperator. | |
" Philipp Moers <soziflip funny character gmail dot com> | |
"""" SETTINGS """" | |
" open new tabs in background | |
set! browser.tabs.loadInBackground=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// based on a keyboard map from an 'xkb/symbols/de' file | |
// this file should be named de_sflip | |
// X keyboard layout mod by Philipp Moers <soziflip funny character gmail dot com> | |
// (i place this in /usr/share/X11/xkb/symbols/ and update /usr/share/X11/xkb/rules/xfree86.lst) | |
// change to this layout with 'setxkbmap -layout de_sflip basic' | |
default basic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Philipp Moers <soziflip gmail com> | |
# This script disables an xinput device if it is enabled and vice versa | |
# adjust this to your needs | |
DEVICE="PS/2 Logitech Wheel Mouse" | |
# --------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Persistent Javascript Values</title> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" charset="utf-8"></script> | |
<style type="text/css"> | |
#box { | |
border-radius: 3px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SESSION_NAME="coba" | |
SESSION_PATH="/Users/sflip/projects/commerzbank/coba/portal" | |
if (tmux has-session -t ${SESSION_NAME} 2>/dev/null); | |
then | |
echo "Session ${SESSION_NAME} exists." | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
try: | |
from netifaces import interfaces | |
except ImportError: | |
print("The python package netifaces is required.") | |
print("You can install it from the PyPI with ``pip install netifaces''.") | |
exit(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>browser</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
var nVer = navigator.appVersion; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
echo $CURRENT_DIR | |
cd $CURRENT_DIR | |
touch foobarbaz |
OlderNewer