Skip to content

Instantly share code, notes, and snippets.

@Geoffrey-T
Geoffrey-T / mariadb-bug-install.md
Last active December 28, 2015 05:19
Mariadb dependencies problem after linux (ubuntu 12.04) update

#MariaDB

The error:

In french:

Les paquets suivants contiennent des dépendances non satisfaites :
@Geoffrey-T
Geoffrey-T / elasticsearch.md
Last active December 27, 2015 11:09
Elastic search
@Geoffrey-T
Geoffrey-T / grunt-error
Created October 17, 2013 08:07
Grunt server : error watch ENOSPC
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
@Geoffrey-T
Geoffrey-T / symfony.conf
Last active December 25, 2015 02:29
Mac symfony vhost
#add this file in /Applications/MAMP/conf/apache/extra
#and Add this line :
# Include /Applications/MAMP/conf/apache/extra/symfony.conf
# In httpd.conf file /Applications/MAMP/conf/apache
# Add this in /etc/hosts -> 127.0.0.1 symfony.dev
# Restart your apache server
# test in your browser : http://symfony.dev
# enjoy ! ou pas :(
# check config with terminal : php app/check.php
# check server config in url /config.php

Des deux côtés

Yeoman

npm install -g yeoman

Yo

Génère des "squelletes" d'applications

Grunt

Lanceur de taches (compilation du JS, lancement du serveur, compilation des templates...)

@Geoffrey-T
Geoffrey-T / sf-console.md
Last active December 22, 2015 17:39
Symfony2 console

Console

Create Bundle

console generate:bundle

Generate Controller

console generate:controller

Generate Entity

console generate:entity

activate-venv() {
source ~/.virtualenvs/$1/bin/activate
}

#Python Cheat Sheet

Basics

This is a short list of different packages to install to enhace your production in Python

pip

pip is a tool for installing and managing Python packages