This file contains hidden or 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
.gist table { | |
margin: 0; | |
font-size: 1.4rem; | |
} | |
.gist .line-number { | |
width: 10px; | |
font-size: 1rem; | |
} |
This file contains hidden or 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 | |
folder=$1 | |
giturl=$2 | |
echo "creating folder $folder" | |
mkdir -p "$folder" | |
echo "entering folder $folder" | |
cd "$folder" |
This file contains hidden or 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 | |
if (isset($_SERVER['HTTP_CLIENT_IP']) | |
|| isset($_SERVER['HTTP_X_FORWARDED_FOR']) | |
|| !in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', 'fe80::1', '::1', 'xx.xx.xx.xx')) | |
) { | |
header('HTTP/1.0 403 Forbidden'); | |
exit('You are not allowed to access this file.'); | |
} |
This file contains hidden or 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 | |
git log --format="%ai|%h|%an|%s" --no-merges |
This file contains hidden or 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 | |
git log -n 1 --format="%ai - %h" --no-merges |
This file contains hidden or 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
<h4>Demonstration document</h4> | |
<small class="muted" style="float: right;margin-top: -50px">{{ d['scripts/version.sh|bash'] }}</small> | |
-------------------------- | |
[TOC] | |
-------------------------- | |
# Introduction |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Documentation BlogPost</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content="Working Document"> | |
<meta name="author" content="Roderik van der Veer"> | |
<!-- Le styles --> |
This file contains hidden or 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
.md|jinja|markdown: | |
- .sh|bash | |
- assets | |
- markdown: | |
tables : {} | |
toc : { anchorlink : true } | |
assets: | |
- .css | |
- .png |
This file contains hidden or 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
reports: 'ws run' |
This file contains hidden or 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
site "http://community.opscode.com/api/v1" | |
cookbook "apache2" | |
cookbook "php" | |
cookbook "git" | |
cookbook "java" | |
cookbook "symfony-hosting", :git => "https://github.com/roderik/symfony-hosting-cookbook.git" | |
cookbook "composer", :git => "https://github.com/roderik/chef-composer.git" | |
cookbook "symfony2", :git => "https://github.com/geoffreytran/chef-symfony2.git" |