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
http://uifaces.com/faces/_twitter/jacobseethaler_128.jpg | |
http://uifaces.com/faces/_twitter/garrettgee_128.jpg | |
http://uifaces.com/faces/_twitter/nckjrvs_128.jpg | |
http://uifaces.com/faces/_twitter/kirkouimet_128.jpg | |
http://uifaces.com/faces/_twitter/ShaunMoynihan_128.jpg | |
http://uifaces.com/faces/_twitter/VinThomas_128.jpg | |
http://uifaces.com/faces/_twitter/Mr_Stezz_128.jpg | |
http://uifaces.com/faces/_twitter/kolage_128.jpg | |
http://uifaces.com/faces/_twitter/jayman_128.jpg | |
http://uifaces.com/faces/_twitter/cameronmoll_128.jpg |
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
"patterns": | |
{ | |
"BUG": "@BUG[\\s]*?:+(?P<bug>.*)$", | |
"CHANGED": "@CHANGED[\\s]*?:+(?P<changed>\\S.*)$", | |
"FIXME": "@FIX ?ME[\\s]*?:+(?P<fixme>\\S.*)$", | |
"NOTE": "@NOTE[\\s]*?:+(?P<note>.*)$", | |
"TODO": "@TODO[\\s]*?:+(?P<todo>.*)$" | |
}, | |
"todo": |
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
[ | |
{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} }, | |
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} }, | |
{ "keys": ["shift+end"], "command": "move_to", "args": {"to": "eol", "extend": true} }, | |
{ "keys": ["shift+home"], "command": "move_to", "args": {"to": "bol", "extend": true } }, | |
{ "keys": ["ctrl+home"], "command": "move_to", "args": {"to": "bof"} }, | |
{ "keys": ["ctrl+end"], "command": "move_to", "args": {"to": "eof"} }, | |
{ "keys": ["ctrl+shift+home"], "command": "move_to", "args": {"to": "bof", "extend": true} }, | |
{ "keys": ["ctrl+shift+end"], "command": "move_to", "args": {"to": "eof", "extend": true} } | |
] |
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
function autodetectCC( num ) { | |
if ( /^5[1-5]/.test( num ) ) { | |
selectCC( "mcrd" ); | |
} | |
else if ( /^4/.test( num ) ) { | |
selectCC( "visa" ); | |
} | |
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 | |
class Invokable { | |
function __invoke(Callable $function, array $params = []) { | |
if (is_callable($function)) return (call_user_func_array($function, $params)); | |
} | |
} | |
$return = new Invokable(); | |
$canTrue = function() { |
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 | |
/** | |
* PHP Regex to validate a Twitter hashtag | |
* | |
* Useful for validating a text input (an HTML form in your CMS or custom application) that must be a valid Twitter hashtag. | |
* Valid examples: #a, #_, #_1, #_a, #1a, #áéìôü, #123hàsh_täg446 | |
* Invalid examples: #1, ##hashtag, #hash-tag, #hash.tag, #hash tag, #hashtag!, (any hashtag that is more than 140 characters long, hash symbol included) | |
* | |
* Regex explanation: | |
* First, the lookahead assertion (?=.{2,140}$) checks the minimum and max length, as explained here http://stackoverflow.com/a/4223213/1441613 |
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
{ | |
"ignored_packages" : [ "Vintage" ], | |
"color_scheme" : "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
"theme" : "Material-Theme.sublime-theme", | |
"font_size" : 15, | |
"always_show_minimap_viewport" : true, | |
"bold_folder_labels" : true, | |
"font_options" : ["gray_antialias", "subpixel_antialias"], // On retina Mac & Windows | |
"indent_guide_options" : ["draw_normal", "draw_active"], // Highlight active indent | |
"line_padding_bottom" : 3, |
OlderNewer