Skip to content

Instantly share code, notes, and snippets.

View ahsankhatri's full-sized avatar

Ahsan Muhammad Yousuf ahsankhatri

View GitHub Profile
@ahsankhatri
ahsankhatri / enqueJQuery.js
Created March 21, 2015 18:11
Best way to enquejQuery!
(function( $ ) {
"use strict";
$(function() {
// Your code here
});
}(jQuery));
@ahsankhatri
ahsankhatri / parameters.regex
Created February 18, 2015 09:54
Regular Expression for search CI & Native parameter in files. i.e: _GET _POST _REQUEST input->post() input->get() input->get_post() form_validation set_rules.
(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+)?\])
{
"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":
[
[
{
"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" },
@ahsankhatri
ahsankhatri / style.css
Last active August 29, 2015 14:06 — forked from jbutko/style.css
/*==================================================
= Bootstrap 3 Media Queries =
==================================================*/
/*========== Mobile First Method ==========*/