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
# TODO: | |
# - Maximize and restore a pane with Up-arrow and Down-arrow | |
# - Fix probleem met lijnregels als je kopieert uit Vim | |
# Set new leader | |
unbind C-b | |
set -g prefix C-a | |
# Set index of window and pane | |
set -g base-index 1 |
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
# ~/.tmuxinator/pp.yml | |
name: pp | |
root: ~/Sites/paprikapatterns/web/app/themes/paprikapatterns/ | |
windows: | |
- theme: | |
layout: 15b0,204x46,0,0[204x40,0,0,0,204x5,0,41{102x5,0,41,3,50x5,103,41,4,50x5,154,41,6}] | |
panes: |
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
set :application, 'foo' | |
set :repository, '_site' | |
set :scm, :none | |
set :deploy_via, :copy | |
set :copy_compression, :gzip | |
set :use_sudo, false | |
set :host, '127.0.0.1' | |
role :web, host | |
role :app, host |
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
var MyApp = { | |
addPlaceholders: function(props) { | |
// default configuration | |
var config = { | |
'class': 'placeholder' // apply CSS classes to an input displaying a placeholder | |
}; | |
// if any properties were supplied, apply them to the config object |
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 | |
// Usage and set up | |
// change your-site to the subdomain being used for your campfire url | |
// use the api token for the user you want posting the message | |
// set the room id that you want the message to be posted to | |
define('CAMPFIRE_URL', 'https://your-site.campfirenow.com/'); | |
define('CAMPFIRE_API_TOKEN', 'apitokengoeshere'); | |
$room_id = 12345; | |
$message = 'I are a robot.'; |
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
server: | |
@@jekyll --server | |
render: | |
@@echo "Building the site..." | |
@@jekyll --no-future | |
minify: | |
@@echo "Minifying the CSS..." | |
@@java -jar _build/yuicompressor.jar --verbose --type css -o _site/path/to/style.css _site/path/to/style.css |
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 | |
//Fix homepage pagination | |
if ( get_query_var('paged') ) { | |
$paged = get_query_var('paged'); | |
} else if ( get_query_var('page') ) { | |
$paged = get_query_var('page'); | |
} else { | |
$paged = 1; | |
} |
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
alias backup-webapps="ssh -t user@domain 'tar zcvf webapps.tar.gz webapps' && mkdir ~/Documents/Backups/webapps-`date +%Y%m%d` && rsync -avz user@domain:/home/user/webapps.tar.gz ~/Documents/Backups/webapps-`date +%Y%m%d`" |
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/bash | |
# s3-to-AWStat | |
# Copyright 2013 Xavier Decuyper | |
# http://www.savjee.be | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the | |
# "Software"), to deal in the Software without restriction, including | |
# without limitation the rights to use, copy, modify, merge, publish, |
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
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
banner: | |
'/*! <%= pkg.name %>.js v<%= pkg.version %>\n' + | |
' * http://<%= pkg.name %>.com/\n' + | |
' *\n' + | |
' * <%= pkg.description %>\n' + |
OlderNewer