Skip to content

Instantly share code, notes, and snippets.

View hanspagel's full-sized avatar
👀

Hans Pagel hanspagel

👀
View GitHub Profile
'preVars' =>
array (
0 =>
array (
'GETvar' => 'L',
'valueMap' =>
array (
'en' => '1',
'tr' => '2',
'es' => '3',
@hanspagel
hanspagel / revealing-module-pattern-with-instances.js
Last active February 11, 2016 15:29
revealing module pattern with instances
/* ==========================================================================
Module
========================================================================== */
var Module = (function() {
var options = {
$this: false,
};
@hanspagel
hanspagel / search-replace-wordpress.md
Last active August 29, 2015 14:17
Search & Replace URLs in WordPress Database

Go to WordPress Installation (e. g. wordpress/)

cd wordpress/

Download WP Command Line Interface

curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

Dry-Run

@hanspagel
hanspagel / SassMeister-input.scss
Last active February 11, 2016 15:31
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$rem-baseline: 16px !default;
// Function: Pixel to REM
@function rem($values...) {
@hanspagel
hanspagel / SassMeister-input.scss
Created March 16, 2015 10:50
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
// Breakpoints
$tiny: 320;
$small: 480;
$medium: 800;