Skip to content

Instantly share code, notes, and snippets.

View mitchellmorris's full-sized avatar
🏠
Working from home

Mitchell Morris mitchellmorris

🏠
Working from home
View GitHub Profile
@the-david
the-david / compile_and_install_phalcon_mamp.md
Created April 27, 2014 06:04
Compile and Install Phalcon for MAMP on OS X
  • Find the path to your MAMP PHP bin directory. This is located in the MAMP folder within the Applications directory.
/Applications/MAMP/bin/php/phpx.x.x/bin
  • Open Terminal and run the following command.
  • Note: Replace phpx.x.x with the version you're targeting (e.g. php5.5.10).
export PATH=/Applications/MAMP/bin/php/phpx.x.x/bin:$PATH
@rjmoggach
rjmoggach / responsive-margins.less
Last active August 30, 2017 00:47
Responsive Margin & Padding Shortcuts for Twitter Bootstrap Using LESS CSS
//
// Responsive Margin & Padding Shortcuts for Twitter Bootstrap 3.0
// ---------------------------------------------------------------
// This is an addition to Twitter Bootstrap that allows additional margin and padding shortcuts
// for enhanced layout control purposes. It should be included after the bootstrap.less
// import statement or precompiled as you see fit. It differs from bootstrap standards in
// that for any given screen size it predetermines the margin/padding size. All you have to
// do is specify the size you want xs,sm,md,lg, or xl. The exception is for items that you
// want to be centered using auto left/right margins. This can be device responsive by
// specifying mc-xs, mc-sm, mc-md, or mc-lg depending on when you want that behavior.