Skip to content

Instantly share code, notes, and snippets.

View floriangaechter's full-sized avatar
🍺
I may be slow to respond.

Florian Gächter floriangaechter

🍺
I may be slow to respond.
View GitHub Profile
@floriangaechter
floriangaechter / Minifyforcer
Last active October 10, 2015 04:48
How to force users to minify their JS-files...
// You better minify this file before using it in production. To make
// sure we added a little something that will get you in legal trouble
// if you don't...
//
// .-/ \ / =-\-.
// _.-~ / \___ ______ __ _ _ _ /___| ~-._
// \ / -~|| __||_ __// || | | | /| | / __/| .\ /
// / . . || __| | |\ / ' || |__| |_/ | || (_/ | \
// / / ~| ||____| |_| /_/|_||____|____||_| \___\| |\ \
// / / |-~\ \ \ \ | || || | // / / /~-| \ \
@floriangaechter
floriangaechter / gist:1042c92fb823ac628550
Last active January 6, 2016 15:56
Twitter Bootstrap Breakpoints Bookmarklet
javascript:(function()%7Bdocument.body.innerHTML%20%2B%3D%20'%3Cdiv%20style%3D%22position%3A%20fixed%3B%20bottom%3A%200%3B%20left%3A%200%3B%20height%3A%2020px%3B%20width%3A%2030px%3B%20text-align%3A%20center%3B%20background-color%3A%20red%3B%22%3E%3Cdiv%20class%3D%22visible-xs%22%3EXS%3C%2Fdiv%3E%3Cdiv%20class%3D%22visible-sm%22%3ESM%3C%2Fdiv%3E%3Cdiv%20class%3D%22visible-md%22%3EMD%3C%2Fdiv%3E%3Cdiv%20class%3D%22visible-lg%22%3ELG%3C%2Fdiv%3E%3C%2Fdiv%3E'%7D)()
@floriangaechter
floriangaechter / .vimrc
Last active April 12, 2017 14:16
My .vimrc
set encoding=utf-8
syntax on
filetype plugin indent on
" I'm sure until here…
color seoul256
set background=dark
set nobackup
@floriangaechter
floriangaechter / .tmux.conf
Created March 9, 2016 12:56
My .tmux.conf
###########################
# Configuration
###########################
# use 256 term for pretty colors
set -g default-terminal "screen-256color"
# increase scroll-back history
set -g history-limit 5000
<?php
class ClarifyValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*
* @param string $sitePath
* @param string $siteName
* @param string $uri

Keybase proof

I hereby claim:

  • I am floriangaechter on github.
  • I am neither1nor0 (https://keybase.io/neither1nor0) on keybase.
  • I have a public key ASAHu3u91C5fOdzW7r6b6mghDFdLPgLhQ1wcWFpedKUUnwo

To claim this, I am signing this object: