Skip to content

Instantly share code, notes, and snippets.

View paulbremer's full-sized avatar
😂
Coding 🔥

Paul Bremer paulbremer

😂
Coding 🔥
View GitHub Profile
@media all and (min-width: px) and (max-width: px) {
}

RESPONSIVE NAV

Responsive navigation plugin without library dependencies and with fast touch screen support. It uses touch events and CSS3 transitions for the best possible performance. It also contains a “clever” workaround that makes it possible to transition from height: 0 to height: auto, which isn’t normally possible with CSS3 transitions.

http://responsive-nav.com/

@paulbremer
paulbremer / candybox2
Created November 20, 2013 08:53
Candybox2
bool candiesThrownGotChocolateBar=false, bool candyBoxBoxOpened=false, bool castleBigRoomHovenHappy=false, bool castleRoom2LitFire=false, bool castleRoom2TookObject=false, bool castleTowerFirstVisitDone=false, bool castleTowerPStoneDone=false, bool castleTowerLStoneDone=false, bool castleTowerAStoneDone=false, bool castleTowerYStoneDone=false, bool castleTowerTookTalkingCandy=false, bool castleKilledNougatMonster=false, bool cellarDone=true, bool dragonDone=true, bool dragonUnlockedCyclops=true, bool forgeFoundLollipop=true, bool forgeBoughtWoodenSword=true, bool forgeBoughtIronAxe=true, bool forgeBoughtPolishedSilverSword=true, bool forgeBoughtLightweightBodyArmour=true, bool forgeBoughtScythe=false, bool fortressRoom1ChestFound=false, bool fortressRoom3ChestFound=false, bool fourthHouseFoundLollipopOnCupboard=true, bool gameDebug=false, bool gameInvertedColors=false, bool lighthousePuzzleDone=false, bool lollipopFarmPlant1LollipopButtonUnlocked=true, bool lollipopFarmPlant10LollipopsButtonUnlocked=true, boo
@paulbremer
paulbremer / redmine_plus
Last active September 1, 2015 12:08
Redmine Plus
// ==UserScript==
// @name Redmine Plus
// @namespace
// @version 0.5
// @description redmine+
// @match https://redmine.buyways.nl/rb/taskboards/*
// @copyright 2014+, Paul Bremer
// ==/UserScript==
var reload = true;
@paulbremer
paulbremer / excerpt_length.php
Last active April 23, 2018 08:17
WordPress - Filter the excerpt length to 20 characters
/**
* Filter the except length to 20 characters.
*
* @param int $length Excerpt length.
* @return int (Maybe) modified excerpt length.
*/
function wpdocs_custom_excerpt_length( $length ) {
return 20;
}
add_filter( 'excerpt_length', 'wpdocs_custom_excerpt_length', 999 );