Skip to content

Instantly share code, notes, and snippets.

View jhuet's full-sized avatar

Jérémy Huet jhuet

View GitHub Profile
@jhuet
jhuet / contributor-guidelines.md
Last active August 29, 2015 14:12
draft - Contributor guidelines for Magallanes

Contributor guidelines for Magallanes

@jhuet
jhuet / config.yaml
Last active August 29, 2015 14:08
Trying to change default Doctrine EntityManager in Symfony2.
doctrine:
# ...
orm:
# ...
entity_manager:
name: "default"
class: "\\PlatformBundle\\Doctrine\\EntityManager"
@jhuet
jhuet / gist:4094392
Created November 17, 2012 09:02
ZfcRbac SQL Schema
CREATE TABLE `rbac_permission` (
`perm_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`perm_name` varchar(32) NULL,
PRIMARY KEY (`perm_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
CREATE TABLE `rbac_role` (
`role_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`parent_role_id` int(11) unsigned NOT NULL,
@jhuet
jhuet / jshint npm install error
Created November 5, 2012 14:32
Error installing JSHint via NPM. This is the npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli 'jshint',
1 verbose cli '-g' ]
2 info using npm@1.1.65
3 info using node@v0.8.14
4 verbose read json /usr/local/lib/package.json
5 verbose read json /usr/local/lib/package.json