This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Less tasks used to look like this: | |
gulp.task('screen-less', function() { | |
return gulp.src('css/screen.less') | |
.pipe(plumber()) | |
.pipe(less()) | |
.pipe(gulp.dest('./css/')) | |
.pipe(livereload()); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Deparam (from string) | |
// | |
// Deserialize a params string into an object, optionally coercing numbers, | |
// booleans, null and undefined values; this method is the counterpart to the | |
// internal jQuery.param method. | |
// | |
// Usage: | |
// | |
// > deparam( params [, coerce ] ); | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Settings | |
set noautofocus | |
set nosmoothscroll | |
let barposition = "bottom" | |
let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*"] | |
" key bindings | |
unmap d | |
map <C-d> scrollPageDown | |
unmap u |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Vertical fill remaining area with flexbox. | |
*/ | |
html, body { | |
margin: 0; | |
padding: 0; | |
height: 100%; | |
} | |
body { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$market_vocab = taxonomy_vocabulary_machine_name_load('markets'); | |
$terms = array( | |
'Housing' => array( | |
'Affordable', | |
'Apartments', | |
'Condos', | |
'Student', |