Skip to content

Instantly share code, notes, and snippets.

View lbenie's full-sized avatar

Lucien Bénié lbenie

View GitHub Profile

Keybase proof

I hereby claim:

  • I am lbenie on github.
  • I am lbenie (https://keybase.io/lbenie) on keybase.
  • I have a public key whose fingerprint is 867E 10E9 24BB 7B81 62B9 3C76 4E70 7278 C64C 4A55

To claim this, I am signing this object:

@lbenie
lbenie / .gitconfig
Created May 3, 2017 14:42
git config
[user]
email = my.email
name = my.name
[core]
autocrlf = false
editor = code --wait
safecrlf = true
fscache = true
preloadindex = true
[gc]
@lbenie
lbenie / .jsbeautifyrc
Last active March 16, 2017 21:14
git-guppy and gulp tasks setup
{
"indent_size": 2,
"indent_char": " ",
"indent_with_tabs": false,
"eol": "\n",
"end_with_newline": false,
"indent_level": 0,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"space_in_paren": false,
/**
* Opens a modal
* @param {Object} scope - an object to be merged with modal's scope
* @param {String} modalClass - (optional) class(es) to be applied to the modal
* @param {String} size - (optional) size to be applied to the modal
* @param {String} templateUrl - (optional) template to be applied to the modal
* @param {String} controller - (optional) controller to be applied to the modal
* @return {Object} - the instance $uibModal.open() returns
*/
function openModal(scope = {}, modalClass = 'modal-default', size = 'sm', templateUrl = 'components/modal/modal.html', controller = '') {