This file contains 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
/*================================================== | |
= Bootstrap 3 Media Queries = | |
==================================================*/ | |
/*========== Mobile First Method ==========*/ |
This file contains 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
[ | |
{ | |
"keys": ["ctrl+shift+r"], "command": "browser_refresh", "args": { | |
"auto_save": true, | |
"delay": 0.5, | |
"activate_browser": true, | |
"browser_name" : "Google Chrome" | |
} | |
}, | |
{ "keys": ["ctrl+w"], "command": "close_file" }, |
This file contains 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
{ | |
"auto_complete_selector": "source, text", | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"font_face": "Monaco", | |
"font_options": "subpixel_antialias", | |
"font_size": 10, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ |
This file contains 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
(this(?:\s+)?->(?:\s+)?(?:input|form_validation)(?:\s+)?->(?:\s+)?(?:get_post|get|post|set_rules)(?:\s+)?\((?:\s+)?(?:'|\")(?<param>[^'\"]+)(?:'|\")(?:.*?)?(?:\s+)?\)|_(?:REQUEST|GET|POST)(?:\s+)?\[(?:\s+)?(?:'|\")(?J)(?<param>.+?)(?:'|\")(?:\s+)?\]) |
This file contains 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
(function( $ ) { | |
"use strict"; | |
$(function() { | |
// Your code here | |
}); | |
}(jQuery)); |
This file contains 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 | |
print_r( array_diff_key( get_defined_vars(), array_flip(array('_GET','_SERVER','_POST','_COOKIE','_FILES'))) ); |
This file contains 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[<?${TM_PHP_OPEN_TAG_WITH_ECHO:php echo} $1; ?>]]></content> | |
<tabTrigger>php_echo</tabTrigger> | |
<scope>string.quoted.double, string.quoted.single, punctuation.definition.tag.begin.html, text.html, punctuator.definition.string.end.html</scope> | |
<description>PHP tags with echo Code</description> | |
</snippet> |
This file contains 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 | |
/*/ | |
// To un-comment whole block, just prepend with slash on line above | |
echo 'code'; | |
//*/ |
This file contains 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
/* | |
* Reference: https://css-tricks.com/findingfixing-unintended-body-overflow/ | |
* Uses: Run it on console.. | |
*/ | |
var docWidth = document.documentElement.offsetWidth; | |
[].forEach.call( | |
document.querySelectorAll('*'), | |
function(el) { |
This file contains 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
var http = require('http'); | |
http.createServer(function (request, response) { | |
var status = request.url.substr(1); | |
if ( ! http.STATUS_CODES[status]) { | |
status = '404'; | |
} | |
response.writeHead(status, { 'Content-Type': 'text/plain' }); |
OlderNewer