Skip to content

Instantly share code, notes, and snippets.

View maxxst's full-sized avatar

Maximilian Stauss maxxst

View GitHub Profile
@maxxst
maxxst / blog.fefe.de-material-redesign.css
Last active December 24, 2015 02:47 — forked from dominikschreiber/blog.fefe.de-material-redesign.css
userstyle for blog.fefe.de resembling the google material design (using deep purple 500)
/*
* $brand-primary: #673AB7; // deep purple 500
*/
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
@maxxst
maxxst / private.xml
Last active December 14, 2015 12:58 — forked from behrends/private.xml
My setup for 'KeyRemap4MacBook' to get some German Keyboard habits to US-Layout to usel: 'Open KeyRemap4MacBook Preferences...' > Go to 'Misc & Uninstall' > Click 'Open private.xml' > add all Files
<?xml version="1.0"?>
<root>
<include path="set_option_l_to_at.xml" />
<include path="set_option_e_to_euro.xml" />
<include path="umlaut_access.xml" />
</root>
@maxxst
maxxst / custom.js
Created August 2, 2012 10:24 — forked from drewjoh/custom.js
Dynamic (AJAX) loaded Bootstrap Modal (Bootstrap 2.0)
$(document).ready(function() {
// Support for AJAX loaded modal window.
// Focuses on first input textbox after it loads the window.
$('[data-toggle="modal"]').click(function(e) {
e.preventDefault();
var href = $(this).attr('href');
if (href.indexOf('#') == 0) {
$(href).modal('open');
} else {