What are popular / good NoSQL databases?
What are the popular / good NoSQL databases nowadays?
MongoDB, CouchDB
Find more at https://en.wikipedia.org/wiki/NoSQL and http://nosql-database.org/
What are the popular / good NoSQL databases nowadays?
MongoDB, CouchDB
Find more at https://en.wikipedia.org/wiki/NoSQL and http://nosql-database.org/
How to get the file length in C on Linux given the address of the file (e.g. “/tmp/a.txt”)? This function returns the length of the file: #include <sys/stat.h> long file_length(char *f) { struct stat st; stat(f, &st); return st.st_size; } Read more: How to get a FILE pointer from a file descriptor and how to…
What’s the error code conventions on Linux and Windows? Linux and Windows use 0 to indicate that the operation is successful and an integer that is larger than 0 for some errors. Linux System Error Codes On Linux, the system error codes is defined in 2 headers which you can find on your own box:…
How to efficiently archive a very large sparse file, say 1TB? The sparse file may contains a small amount of data, say 32MB. SEEK_HOLE and SEEK_DATA The SEEK_HOLE/SEEK_DATA functionalities play the trick and makes `tar` and `cp` handle the large sparse file very efficiently. `lseek` with `SEEK_HOLE` returns the offset of the start of the…
I experience the program on Linux (Fedora 12) that Chrome reports “Your profile could not be opened correctly.” as follows. How to fix it? Restarting Chrome would not help. Removing the ‘Web Data’ directories from all profiles works for me (Making backup first as the commands will remove your files): cd ~/.config/google-chrome find ./ -name…
How to set up the driver for an HP printer on Linux Mint or Ubuntu? First install the packages: sudo aptitude install hplip hplip-gui Then run sudo hp-setup and follow the GUI instructions to set up the printer. Read more: How to install drivers for TL-WN725N v2 USB wireless adapter on Fedora 19 HP Printer…
How to jailbreak iOS 7.1.2 on a iPhone 4s? The Pangu Jailbreak Tool ( http://en.pangu.io/ ) works like a charm for my iPhone 4S with iOS 7.1.2. Remember to back up your data before jailbreaking your iPhone. Read more: How to un-trust a computer that I have trusted with iOS 7 device? How to make…