Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| # coding=UTF-8 | |
| from __future__ import division | |
| import re | |
| # This is a naive text summarization algorithm | |
| # Created by Shlomi Babluki | |
| # April, 2013 | |
| class SummaryTool(object): | 
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, | 
| Files to replace the annoying ads.html in Micromax 400R mifi router. Thanks to http://motyar.blogspot.in/2013/02/hacking-micromax-400r-mi-fi.html for tips. | |
| Usage : | |
| 1. Download the files. Make sure you have enabled "Web Sharing" in the administrator page. Factory setting is only usb for this. | |
| 2. Open upload.html in your browser while being connected to your Micromax 400R | |
| 3. Choose ads.html in the form and upload. | |
| 4. See if the response is "ok" | |
| 5. DONE, PROFIT!!!!! | 
| Rails as it has never been before :) | |
| Rails 3 AntiPatterns, Useful snippets and Recommended Refactoring. | |
| Note: Some of them are collected from different online resources/posts/blogs with some tweaks. | 
Elasticsearch was created in 2010 by Shay Banon after forgoing work on another search solution, Compass, also built on Lucene and created in 2004.
| // Q sample by Jeff Cogswell | |
| /*=========== | |
| We want to call these three functions in sequence, one after the other: | |
| First we want to call one, which initiates an ajax call. Once that | |
| ajax call is complete, we want to call two. Once two's ajax call is | |
| complete, we want to call three. | |
| BUT, we don't want to just call our three functions in sequence, as this quick |