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
ZOOM | |
<Ctrl>+ / <Ctrl>- / <Ctrl>0 | |
TABS | |
<Ctrl><Shift>T / <Ctrl><Shift>Tab | |
SWITCH SCREENS | |
<Alt> Up/Down/Left/Right | |
SPLIT |
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
server { | |
listen 80; ## listen for ipv4; this line is default and implied | |
root /var/virtual/www | |
index index.php; | |
server_name example.com; | |
charset utf-8; | |
access_log off; | |
location / { |
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
#!/usr/bin/php | |
<?php | |
/** | |
* This hook is a rewrite of http://git.661346.n2.nabble.com/Odd-results-writing-a-Git-pre-receive-hook-to-syntax-check-PHP-files-td5471120.html | |
* Thanks to Chris Patti for this thread | |
* @todo: detect when a new subdirectory is comitted and process all files recursive | |
*/ | |
function finish($exitCode = 0, $message = '') { | |
if (!empty($message)) { |
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/sh | |
# GITLAB | |
# By: steinkel at gmail.com | |
# App Version: 6.1 stable https://github.com/gitlabhq/gitlabhq/tree/6-1-stable | |
# ABOUT | |
# This script performs a complete installation of Gitlab for ubuntu server 12.04.1 x64: | |
# * packages update | |
# * git, postfix etc |
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 | |
### | |
# | |
# forked from https://gist.github.com/1264701/08f93534ba177f173b9382b53c419cd0de5b07ea | |
# Copyright (c) 2011 Cake Development Corporation (http://cakedc.com) | |
# | |
# Ubuntu 11.04 and 12.04 LTS based web server installation script | |
# Run this by executing the following from a fresh install of Ubuntu Server: | |
# |
NewerOlder