Skip to content

Instantly share code, notes, and snippets.

@danielwrobert
danielwrobert / docker-compose.wordpress.coredev.yml
Last active December 9, 2016 14:26 — forked from dmsnell/docker-compose.wordpress.coredev.yml
A Docker container configuration for WordPress via Docker Compose.
version: '2'
services:
wordpress:
image: wordpress
ports:
- 8888:80
environment:
WORDPRESS_DB_PASSWORD: password
@danielwrobert
danielwrobert / 0_reuse_code.js
Last active August 29, 2015 14:23
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after
@danielwrobert
danielwrobert / demo.html
Created October 15, 2012 22:30 — forked from zenlor/demo.html
lazy loader
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title> - jsFiddle demo</title>
<script type='text/javascript' src='lazyload.js'></script>
<style type='text/css'>
@danielwrobert
danielwrobert / Custom.css
Created July 20, 2012 22:47 — forked from bentruyman/Custom.css
IR_Black Theme for Chrome Developer Tools
/**********************************************/
/*
/* IR_Black Skin by Kam Kuo - 2012
/*
/* Based on Todd Werth's IR_Black:
/* http://blog.toddwerth.com/entries/2
/* and Ben Truyman's Gist:
/* https://gist.github.com/1150520
/*
/* Inspired by Darcy Clarke's blog post:
*
// Seriously, why isn't this just the
// freakin' default in all browsers?
+background-clip(padding-box)
// Not sure what this does? Have a looksie...
// http://compass-style.org/examples/compass/css3/background-clip
// Crucial, if you have rounded corners on something with
// both background color and a border. Without, background