Skip to content

Instantly share code, notes, and snippets.

@thoroc
thoroc / sf2-set-permissions.sh
Created December 14, 2015 14:06
Bash script to automatically set the permissions for Symfony2 based on the official docs (current version 2.8)
#!/bin/bash
#
# script to automatically set the permission for the cache and logs folder
# for a new symfony2 project.
# original code taken from the documentation pages:
# http://symfony.com/doc/current/book/installation.html
BASEFOLDER="";
if [ "$1" != "" ]; then
BASEFOLDER="$1";
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 1, 2024 03:34
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname