Skip to content

Instantly share code, notes, and snippets.

View LaminSanneh's full-sized avatar

Lamin Sanneh LaminSanneh

View GitHub Profile
@LaminSanneh
LaminSanneh / My Vagrant File Laravel 4 Development, with complementing shell provisioner below
Last active August 29, 2015 13:57
My Vagrant File Laravel 4 Development, with complementing shell provisioner below
Giving credit to Philip brown of Culttt
at http://culttt.com/2013/06/17/setting-up-vagrant-with-laravel-4/
Do not include this file.
Just use the two below and run vagrant provision
/*jslint undef: true, nomen: true, eqeqeq: true, plusplus: true, newcap: true, immed: true, browser: true, devel: true, passfail: false */
/*global window: false, readConvertLinksToFootnotes: false, readStyle: false, readSize: false, readMargin: false, Typekit: false, ActiveXObject: false */
var dbg = (typeof console !== 'undefined') ? function(s) {
console.log("Readability: " + s);
} : function() {};
/*
* Readability. An Arc90 Lab Experiment.
* Website: http://lab.arc90.com/experiments/readability
@LaminSanneh
LaminSanneh / application.controller.js
Created November 3, 2015 14:24
Sitepoint Tab Switcher
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
@LaminSanneh
LaminSanneh / pedantically_commented_playbook.yml
Created November 28, 2017 10:19 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
@LaminSanneh
LaminSanneh / JSXSpreadAttributes.md
Created December 23, 2017 10:28 — forked from sebmarkbage/JSXSpreadAttributes.md
JSX Spread Attributes

JSX Spread Attributes

If you know all the properties that you want to place on a component a head of time, it is easy to use JSX:

  var component = <Component foo={x} bar={y} />;

Mutating Props is Bad, mkay