Split Up Large Text File
Utils of Ubuntu OS
http://www.unix.com/shell-programming-scripting/118185-extract-particular-lines-text-file.html
http://www.unix.com/shell-programming-scripting/173488-extracting-multiple-lines-text-file.html
http://www.grymoire.com/Unix/Awk.html
http://linuxcommando.blogspot.fr/2008/03/using-sed-to-extract-lines-in-text-file.html
Code in python
http://code.activestate.com/recipes/578045-split-up-text-file-by-line-count/
http://stackoverflow.com/questions/2474216/python-to-extract-data-from-a-file
Efficiently Reading in and Iterating Through Large Files with Python
Efficiently Reading in and Iterating Through Large Files with Python.
Search a large sorted text file in Python
http://effbot.org/zone/readline-performance.htm
http://stackoverflow.com/questions/519633/lazy-method-for-reading-big-file-in-python
NoSQL Data Modeling Techniques
Reblogged from Highly Scalable Blog:
NoSQL databases are often compared by various non-functional criteria, such as scalability, performance, and consistency. This aspect of NoSQL is well-studied both in practice and theory because specific non-functional properties are often the main justification for NoSQL usage and fundamental results on distributed systems like the CAP theorem apply well to NoSQL systems. At the same time, NoSQL data modeling is not so well studied and lacks the systematic theory found in relational databases.
Một số ứng dụng cơ bản với Codeigniter
Nếu chúng ta muốn làm quen nhanh với một ứng dụng liên quan đến database với Codeigniter thì xem qua ứng dụng mẫu này:
Remove index.php in Codeigniter
Hôm nay đọc bài này, tôi thấy quan trọng nên xin tác giả mang về đây.
If you work with CodeIgniter, you will soon learn fast enough that the CodeIgniter framework, by default, uses the index.php in its URL. Here’s an example of how the URL would look like with the index.php being visible.
CodeIgniter URL
http://example.com/index.php/news/article/my_article
.htaccess
To remove the index.php from the URL, you will need to add mod rewrite rules to the .htaccess file in your main CodeIgniter directory. Use this code. Change the rewrite base to your own settings.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ci/
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
config.php
In addition, you will need to edit the /application/config/config.php file. Make sure to remove index.php reference within the file.
$config['index_page'] = '';
Coding styles comparison in the Open Source Software world
Coding style guide
I read the article this morning and liked this statement “Programming style is one of the holy wars of computer programming. However, regardless of your tastes one thing is certain: when in Rome, do as the Romans do. That is, learning the accepted style of a programming language is just as important as learning the language itself.”
Below are the coding style guides of which you should be aware:
Google C++ style guide
Mozilla coding style guide
OCaml style guide
Java style guide
Microsoft style
Hungarian style
Linux kernel C style














