Dennis Frank
dennisfrank.net
@freshmango
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Import a remote database into a local database | |
# ---------------------------------------------- | |
# | |
# Based on http://danherd.net/quick-script-synchronise-from-a-remote-expressionengine-database/ | |
# | |
# Don’t forget chmod +x to make the script executable. | |
# | |
# Change the extension to .command to run the script directly from OS X Finder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
/* | |
* Works | |
*/ | |
// Works as expected | |
@mixin okay($foo: bar) { |
Nützliche Infos zum Barcamp Braunschweig 2011
—————————————————————————————————————
Barcamp Braunschweig 2011, http://www.barcamp-braunschweig.de
19./20. November 2011, Haus der Wissenschaft Braunschweig
Infos für alle Teilnehmer
—————————————————————————————————————
Noch drei Tage bis zum Barcamp Braunschweig 2011!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Rounded image with border and shadow | |
*/ | |
.rounded { | |
border-radius: 50%; | |
box-shadow: 0 0 0 6px #fff, 0 1px 1px 6px rgba(0,0,0,.5); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Flexible inline text with background color | |
*/ | |
body { | |
width: 50%; | |
background: #363532; | |
} | |
p { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Flexible inline text with background color and large right padding | |
*/ | |
body { | |
width: 50%; | |
background: #363532; | |
} | |
p { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
## | |
# This script stands on the shoulders of giants: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# https://github.com/ptb/Mac-OS-X-Lion-Setup/blob/master/setup.sh | |
# | |
# Adjust it to your needs and install it like this: | |
# curl -sL https://raw.github.com/gist/2301333/osxtweaks.sh | sh | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Custom configuration bootsrtap file for ExpressionEngine | |
* | |
* Place config.php in your site root | |
* Add require(realpath(dirname(__FILE__) . '/../../config_bootstrap.php')); to the bottom of system/expressionengine/config/config.php | |
* Add require(realpath(dirname(__FILE__) . '/../../config_bootstrap.php')); to the bottom of system/expressionengine/config/database.php | |
* If you have moved your site root you'll need to update the require_once path | |
* |
OlderNewer