September 2011
30 posts
2 tags
5 tags
kue - priority job queue backed by redis for... →
4 tags
A distributed data scraping and processing engine... →
4 tags
1 tag
Deep into HTML5 →
3 tags
How facebook optimize the social plugin
1. Reduce numbers of http req
2. Reduce DNS lookup time by always using a single CDN hostname
3. Async js (loading and append to the DOM)
4. Lazy load some css
5. IE downloads images in hidden divs
6. Reduce image with css as much as possible
7. script plugin is preferable than iframe
6 tags
Best way to read a file line by line in Node.js
hermanjunge:
First, install lazy module:
$ npm install lazy
Then, use this code:
var lazy = require("lazy"); var fs = require("fs"); new lazy(fs.createReadStream('./MyVeryBigFile.csv')) .lines .forEach(function(line){ console.log(line.toString()); } );
And That is!
Thanks to this page and Jon Seymour
1 tag
1 tag
Fear google →
6 tags
Er.js: Erlang-in-JavaScript →
wactbprot:
Hä? Ha!
4 tags
Hot reload for node.js servers on code change →
3 tags
rfkill unblock all solve my ass on wifi.
7 tags
Introducing appcons... Quickly generate web,...
duzour:
Your new project needs icons. Different platforms have different icon guidelines. My appcons script consolidates those requirements into a single script that handles all the technical guidelines.
Basically, appcons lets you quickly generate web, mobile and social icons for your latest project, or just refresh your graphic assets after a design update.
Provide the script a single image...
6 tags
Pageviews, hits, and impressions definitions →
4 tags
Astronomers Discover 16 Super-Earths →
European astronomers announced Monday they’ve discovered 50 new planets, including 16 so-called Super-Earths, one of which is potentially habitable.
The existence of the exoplanets outside our solar system was reported at the Extreme Solar Systems meeting at Wyoming’s Grand Teton National Park. Astronomers made the discovery using the High Accuracy Radical velocity Planet Searcher (HARPS)...
1 tag
1 tag
3 tags
css Wordwrap that crosses platforms
.wordwrap {
white-space: pre-wrap; /* CSS3 */
white-space: -moz-pre-wrap; /* Firefox */
white-space: -pre-wrap; /* Opera <7 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* IE */
}
3 tags
How to easily calculate server throughput →
3 tags
tenshu.net: Terminator →
2 tags
making-sure-a-web-page-is-not-cached-across-all-bro... →
3 tags
We open-sourced 90 node.js modules at Browserling... →
sambervalley:
At Browserling we are huge open-source fans and we have open-sourced 90 node.js modules! That’s right! 90 node.js modules. All written from scratch. We crazy! Here is the complete list of all the modules together with their brief descriptions. We have published all the modules on GitHub, which is the best tool for getting things done and collaborating. All of them are greatly...
forwhoo asked: ข้ามีไอเดีย มันเจ๋งมากและมันบ้ามาก แกอยากทำอะไรบ้าๆมั้ย
ในการสร้างsoftware ‘ทำได้’ กับ ‘ทำได้ดี’ มันpush...
– Ochawin
4 tags
4 tags
Git branching model explained →
Along the way to Ping’s grandpa funeral. Life is so short..