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 | |
/** | |
* Dump and Die. | |
* Dumps all args passed and kills the script. | |
*/ | |
function dd() { | |
$args = func_get_args(); | |
array_map( function( $x ) { | |
dump( $x ); |
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
<snippet> | |
<content><![CDATA[ | |
;(function(document, window, $2 undefined){ | |
'use strict'; | |
$0 | |
})(document, window, $1); | |
]]></content> | |
<tabTrigger>strict</tabTrigger> | |
<scope>source.js</scope> | |
<description>IIFE wrapper for strict JavaScript</description> |
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
Show hidden characters
{ | |
"config":{ | |
"exclude": [ | |
".git/**", | |
"node_modules/**", | |
"bower_components/**" | |
], | |
"remove-empty-rulesets": false, | |
"always-semicolon": true, | |
"color-case": "lower", |
NewerOlder