Skip to content

Instantly share code, notes, and snippets.

View inelgnu's full-sized avatar
:bowtie:
It's a great day to be alive

Inel inelgnu

:bowtie:
It's a great day to be alive
View GitHub Profile
@tomysmile
tomysmile / mac-setup-redis.md
Last active April 28, 2025 11:58
Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis
@joelwurtz
joelwurtz / run.sh
Created December 9, 2014 14:46
Rabbitmq as a service under docker (altmost right) :/
#!/bin/bash
chown -R rabbitmq:rabbitmq /data/log
chown -R rabbitmq:rabbitmq /data/mnesia
HOSTNAME=$(hostname)
PID_FILE="/data/mnesia/rabbit\@$HOSTNAME.pid"
function start()
{
@romaricdrigon
romaricdrigon / formController.js
Created August 21, 2013 07:46
Using AngularJS on Symfony2 forms
// An example controller binded to the form
function FormCntl($scope, $compile) {
// Consider using FosJsRouting bundle, if you want to use a Symfony2 route
$scope.formUrl = "http://url-to-fetch-my-form";
// Data from the form will be binded here
$scope.data = {};
// Method called when submitting the form
$scope.submit = function() {

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: