code-snippets, go and fork it!

Sign in with GitHub

Lars Moelleken


Gist is a simple way to share snippets and pastes with others. All gists are Git repositories, so they are automatically versioned, forkable and usable from Git. -

helpful tip: add some #tags in your descriptions, so that you can faster find your snippets e.g. via "gist"-plugin from Sublime Text

GistBox is the best interface to GitHub Gists. Organize your snippets with labels. Edit your code. Search by description. All in one speedy app. -

helpful tip: add the "GistBox Clipper"-Addon to Chrome


A front end web development playground. - | |

A (backend end) development playground. -

A SQL playground. -

A (AngularJS) development playground. -

A (Twitter Bootstrap) development playground. -

A (Google) development playground. -

Code Snippets

A collection of code snippets for web developers, including code for HTML, CSS, JavaScript, PHP, WordPress, jQuery, HTAccess, and more! -

A collection of coding language and api snippets. Code snippets for html, css, javascript, jquery, php, sql, and facebook, instagram, twitter, google analytics, google maps, google charts, foursquare, wordpress, tumblr, and pinterest api. -



.htaccess with many options + description


PhpStrom | Color-Config from menadwork GmbH - "~\.PhpStorm...\config\colors\"


PhpStrom | Codestyle-Config from menadwork GmbH - "~\.PhpStorm...\config\codestyles\"

PhpStrom | Inspection-Config from menadwork GmbH - "~\.PhpStorm...\config\inspection\"


Dot notation for access multidimensional arrays.

CP1252 (Windows-1252) Unicode PHP Array. Asigns CP1252 (Windows-1252) escape sequences to UTF-8 escape sequences.

a php-function that will fixing utf-8 problems from inputs and prevent XSS attacks

use input filter for php (get, post, get_post, session, cookie)

generate random string via php - used (UTF8::strlen)

php redirect via header-location

date format validation: Validate a date in "YYYY-MM-DD" format. - From


reload on history-back with "history.pushState" usage

DalekJS - Grunt-Config Example


Check if Element Exists #jquery

The ".each()" method is designed to make DOM looping ... -

submit form on enter: This function will submit a form on enter when called from onkeypress. - From

get the width in percent via jquery.width() - DEMO:


digga: show dns-settings from a domain e.g. MX, IP

mysqldump & remove SECURITY DEFINER from VIEWS



sources.list -> Debian sid - workstation


Bootstrap 3 - Column Collapse Order -


Media Query Break Points - From