• Bubble
  • Bubble
  • Line

http server examples - So you need to easily share something with someone in the same network

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2015-12-16T15:10:00Z
  • 1 min to read
http server examples - So you need to easily share something with someone in the same network

So, you need to simply share something with someone on the same network without going through facebook or anyother chat application.

Use a simple HTTP server! The examples below are meant for Linux users, I'm sure you can use them on Windows aswell.

For python you can use

python -m SimpleHTTPServer 8000

If you have PHP installed

php -S localhost:8000

A node.js server

sudo npm install http-server -g
http-server

For TCL you can use tanzer, tclhttp but I haven't been able to find a oneliner so I'll exclude this untill later.

read more

Here's a list of interesting things in the Linux World

Andrei Clinciu Article AUthor
Andrei Clinciu
  • 2014-09-18T14:15:00Z
  • 1 min to read
Here's a list of interesting things in the Linux World

..or the links that I've bookmarked for any reason what so ever

The complete Debian reference, it's a good starting point to get started with Linux, i've just stumbled upon it a few days ago:

http://www.debian.org/doc/manuals/debian-reference

Debian documentation:

http://www.debian.org/doc/

Another good Survival Guide for Linux:

http://www.togaware.com/linux/survivor/

Good reference to bash scripting:

http://gd.tuwien.ac.at/linuxcommand.org/lts0040.php

http://www.tldp.org/LDP/abs/html/

Linux Command website is a good starting point, this is a video about "how linux is made":

http://lcorg.blogspot.com/2012/04/how-linux-is-made.html

Debian web server tools:

http://www.debianhelp.co.uk/webserver.htm

Creating your own custom kernel:

http://newbiedoc.sourceforge.net/system/kernel-pkg.html

read more

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

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

Find me on social media