I hereby claim:
- I am keeguon on github.
- I am keeguon (https://keybase.io/keeguon) on keybase.
- I have a public key whose fingerprint is F521 7FD3 0B9B B2DF 3C3D A937 1741 1310 CAFD 785E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| [ | |
| {name: 'Afghanistan', code: 'AF'}, | |
| {name: 'Åland Islands', code: 'AX'}, | |
| {name: 'Albania', code: 'AL'}, | |
| {name: 'Algeria', code: 'DZ'}, | |
| {name: 'American Samoa', code: 'AS'}, | |
| {name: 'AndorrA', code: 'AD'}, | |
| {name: 'Angola', code: 'AO'}, | |
| {name: 'Anguilla', code: 'AI'}, | |
| {name: 'Antarctica', code: 'AQ'}, |
| <?php | |
| $pattern = "/^(?#Protocol)(?:(?:ht|f)tp(?:s?)\:\/\/|~\/|\/)?(?#Username:Password)(?:\w+:\w+@)?(?#Subdomains)(?:(?:[-\w]+\.)+(?#TopLevel Domains)(?:com|org|net|gov|mil|biz|info|mobi|name|aero|jobs|museum|travel|[a-z]{2}))(?#Port)(?::[\d]{1,5})?(?#Directories)(?:(?:(?:\/(?:[-\w~!$+|.,=]|%[a-f\d]{2})+)+|\/)+|\?|#)?(?#Query)(?:(?:\?(?:[-\w~!$+|.,*:]|%[a-f\d{2}])+=?(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)(?:&(?:[-\w~!$+|.,*:]|%[a-f\d{2}])+=?(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)*)*(?#Anchor)(?:#(?:[-\w~!$+|.,*:=]|%[a-f\d]{2})*)?$/i"; |
| /* Author: | |
| - Félix Bellanger <[email protected]> | |
| */ | |
| var Singleton = (function() { | |
| var instance = null; | |
| function init(options) { |
| <?php | |
| class MapReduce | |
| { | |
| /** | |
| * The original data | |
| * | |
| * @var array | |
| */ | |
| protected $data; |
| " Theme | |
| set background=dark | |
| let g:solarized_termcolors=16 | |
| colorscheme solarized | |
| " General settings | |
| syntax on | |
| set nocompatible | |
| set number |
| <?php | |
| class Process | |
| { | |
| protected | |
| $command = '', | |
| $outputFile = '', | |
| $pidFile = '' | |
| ; |
| <?php | |
| /** | |
| * Generate somewhat strong unique identifiers | |
| * Example usage: | |
| * - create non standard mysql ids | |
| * - create app key/secret for OAuth | |
| * - ... | |
| * | |
| * @return string containing the unique identifier |
| - (NSString *)niceTimeFormat:(NSTimeInterval)interval { | |
| // set a past flag if the timeInterval is negative and inverse it | |
| BOOL past = NO; | |
| if (interval < 0) { | |
| past = YES; | |
| interval = -interval; | |
| } | |
| // set some time units | |
| double second = 1, minute, hour, day, week; |
| var Twitter = { | |
| version: '1.0', | |
| apiUrl: 'http://api.twitter.com', | |
| apiVersion: '1', | |
| api: function(endpoint, options, callback) { | |
| var fullUrl = this.apiUrl + '/' + this.apiVersion + '/' + endpoint + '.json'; | |
| $.ajax({ | |
| async: true, | |
| url: fullUrl, | |
| data: options.data, |