Skip to content

Instantly share code, notes, and snippets.

View jannisg's full-sized avatar

Jannis Gundermann jannisg

  • Auckland, New Zealand
View GitHub Profile
@lukeholder
lukeholder / install.md
Last active December 18, 2015 06:09
instructions for episode 0001 of learning your craft.

Setup your Digital Ocean droplet.

your machine:

ssh root@IP-ADDRESS

on the server:

passwd

@croxton
croxton / stash_nested_embeds.md
Created October 29, 2012 14:23
Stash & template partials - nested embed

Required:

Stash 2.3.4 (beta) or later

Stash template directory

	/layouts/
		standard.html

	/partials/

listing.html

@darren131
darren131 / gist:3409606
Created August 21, 2012 00:11
Responsive design mixin
// USAGE:
// resize the browser until your layout looks shit
// take note of the viewport size
// plug in that value and add the new styles...
// e.g.
//
// #logo {
// float: left;
// @include respond-to(650px) {
// float:none;
body {
margin:0;
}
p {
margin:0;
}
form {
margin:0;
@anthonyshort
anthonyshort / gist:1156513
Created August 19, 2011 10:11
CSS Copy Class
/* Define styles for blocks of content scoped within the .copy rather than
making them global. Global styles will be constantly overridden. */
@mixin text-copy {
@include improve-text-rendering;
/*
Set the baseline on all elements directly inside a copy block
Margin won't work on inline elements anyway
*/
@Kilian
Kilian / annoying.js
Created January 6, 2011 15:04
How to be an asshole
/**
* Annoying.js - How to be an asshole to your users
*
* DO NOT EVER, EVER USE THIS.
*
* Copyright (c) 2011 Kilian Valkhof (kilianvalkhof.com)
* Visit https://gist.github.com/767982 for more information and changelogs.
* Visit http://kilianvalkhof.com/2011/javascript/annoying-js-how-to-be-an-asshole/ for the introduction and weblog
* Check out https://gist.github.com/942745 if you want to annoy developer instead of visitors
*