• Bubble
  • Bubble
  • Line

zram swap partition in Linux - Compressed RAM

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2014-09-07T09:15:00Z
  • 2 min to read
zram swap partition in Linux - Compressed RAM

So I bought a new SSD the other day. After reading about SSD issues with SWAP partitions i decided to investigate further.

I found out you can use something called zram. 

The zram module creates RAM based block devices named /dev/zram<id>(<id> = 0, 1, ...). Pages written to these disks are compressed and storedin memory itself. These disks allow very fast I/O and compression providesgood amounts of memory savings.

Zram actually creates a loopback device which is stored in ram. It can be used for SWAP (vritual memory partitions); Storing cache files for web servers; storing static files; and many other things!

read more

Asciidoc documentation generation

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2014-05-14T15:14:00Z
  • 1 min to read
Asciidoc documentation generation

Documentation generation is something that should be included in any software project.

AsciiDoc allows you to create documentation in text  similair to markdown. You can afterwards generate HTML and PDF's.

A simple but efficient example is the following:

http://www.methods.co.nz/asciidoc/article.txt for the text version and for the html one http://www.methods.co.nz/asciidoc/article.html

Read more at http://www.methods.co.nz/asciidoc/

read more

Convert-ing ebook epub to PDF ( or any other format)

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2013-05-23T21:14:00Z
  • 1 min to read
Convert-ing ebook  epub to PDF ( or any other format)

Sometimes you might want to convert ebooks from one format to the other.

Either because your ebook works better with a format or you want to print them to a certain size with margins.. etc.  For example Nook has epub support for searching words in dictionary, while PDF doesn't work well.. sometimes I might convert a book to get the extra features.

read more

Yahoo Messenger Bot

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2012-10-25T22:16:00Z
  • 2 min to read
Yahoo Messenger Bot

What?

For the project and source code see Yahoo Messenger Bot

Yes, there are a lot of bots out there for MSN messenger but I needed to have one that I could program for Yahoo Messenger.

While searching the internet for anything interesting I found many different projects that I thought were cool. However most of the only worked with older versions of the Yahoo messenger protocol that changes quite often. This renders anything written for an anterior version useless.

read more

Convert your PDF library to SQLITE with Full Text Search

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2012-08-15T18:18:00Z
  • 2 min to read
Convert your PDF library to SQLITE with Full Text Search

This is a small snippet I've written on a Friday afternoon. It's only 80 lines.

I wanted a way to put all my PDF's or WORD/Open Office documents into a database and search for a pattern of text within them all, to know exactly in which document(s) the information I required resides.

This way I learned how to use full text search in SQlite. It's not that hard once you grasp the theory.

read more

Linux Commandline Shortcuts

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2011-12-20T14:13:00Z
  • 1 min to read
Linux Commandline Shortcuts

So while reading the LPIC 1 certification book I compiled a list of the most used commandline shortcuts at that moment.

There  are of course many more interesting commands, this is just a short list.

read more

Building Great Software
The digital Revolution begins when you learn to automate with personalized software.

Find me on social media