I hereby claim:
- I am nesbert on github.
- I am nesbert (https://keybase.io/nesbert) on keybase.
- I have a public key whose fingerprint is DA38 A124 001D 303C 4BCD 4219 0DEE DC34 8890 41EE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
if [ -r ~/.profile ]; then . ~/.profile; fi | |
case "$-" in *i*) if [ -r ~/.bashrc ]; then . ~/.bashrc; fi;; esac |
<?php | |
$di = new \Phalcon\DI\FactoryDefault(); | |
$response = new \Phalcon\Http\Response(); | |
$response->setContentType('application/json', 'utf-8'); | |
$di->set('response', $response); | |
$app = new Phalcon\Mvc\Micro(); | |
$app->setDI($di); |
Download latest Sublime Text 2 (Link)
Install "Package Control" via console (ctrl+`)
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print('Please restart Sublime Text to finish installation')
Restart Sublime Text 2
OS X Command Line (Link)
nhidalgo@nesberth:js $ bower register highstock-components git://github.com/nesbert/highstock.git | |
Registering a package will make it visible and installable via the registry. | |
Proceed (y/n)? y | |
registered highstock-components to git://github.com/nesbert/highstock.git |
<?php | |
/** | |
* Application driver class to initialize Phalcon and | |
* other resources. | |
*/ | |
class Application extends \Phalcon\Mvc\Application | |
{ | |
private static $mode = 'development'; // TODO change default to production | |
private static $modules = array( | |
'portal' => array( |
MongoDB's ObjectId contains a timestamp, which can help you filter documents based on their creation date. To reduce the size of your collection, you can use a strategy that involves deleting or archiving old documents based on a specific date or time range.
Here's a high-level overview of the process: