Skip to content

Instantly share code, notes, and snippets.

View Dahlgren's full-sized avatar

Björn Dahlgren Dahlgren

View GitHub Profile
# /home/<client>/etc/nginx/<appname>.conf
server {
server_name example.com www.example.com;
listen 80;
access_log /home/<client>/var/log/<appname>-access.log combined;
error_log /home/<client>/var/log/<appname>-error.log error;
root /home/<client>/apps/<appname>;
include app/php.conf;
@jrochkind
jrochkind / gist:2161449
Created March 22, 2012 18:40
A Capistrano Rails Guide

A Capistrano Rails Guide

by Jonathan Rochkind, http://bibwild.wordpress.com

why cap?

Capistrano automates pushing out a new version of your application to a deployment location.

I've been writing and deploying Rails apps for a while, but I avoided using Capistrano until recently. I've got a pretty simple one-host deployment, and even though everyone said Capistrano was great, every time I tried to get started I just got snowed under not being able to figure out exactly what I wanted to do, and figured I wasn't having that much trouble doing it "manually".

@endolith
endolith / Has weird right-to-left characters.txt
Last active April 30, 2024 12:48
Unicode kaomoji smileys emoticons emoji
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶