Suppose you have a list of manga directories i.e folders with images that have numbers as names. Although applications like MComix can read such directories without any problem, you might feel like creating a proper comic book archive using these images. Here is what I do to convert these directories to cbz files.
Tag Archives: linux
Sometimes we like to watch cool starting and ends of videos (like the heart touching ending), but after a time those could become repetitive and boring. Also, if you are just starting to watch a series recommended by others, those extra 5 minutes could be saved to watch next video and progress quickly. In this tutorial, I wish to tackle that problem. Since I love mplayer/smplayer for playing most videos, I am not going to deviate from those lines. Therefore, I am going to use mpv (mpv is a fork of mplayer2 and MPlayer) for our purpose.
In this tutorial, I am going to talk about setting up emacs so that it will be easier for new users to get to their programming or editing tasks without much barrier.
If you don’t know emacs’s basic keys (at least the movement and editing keys), you need to keep a note of some of the most frequently used ones. You can copy the commands using some websites containing the basics (e.g http://mally.stanford.edu/~sr/computing/emacs.html) or use the list from “Movement” section below.
It is easier to use GUI tools to setup keyboard shortcuts, but sometimes you need to map certain keys for typical purpose (e.g swapping caps and esc when using vim). In this tutorial I will try to list different linux tools and scripts that you can use to do these tasks (you might have to install them from your distribution’s repository).
In this tutorial I will list some techniques to understand a basic Linux program. I will use a simple assembly program that uses nasm syntax. Common program format in Linux uses GNU assembler syntax. Therefore, this tutorial does not cover understanding that syntax (which I might do in future). Lets get started.
This example can be used to setup a minimal Linux installation for any task. In this tutorial however I am going to use kernel development as an example. Since the process I have used in the past have been from sporadic sources, I wanted to consolidate the information for my own need. This tutorial is the result of that effort. So that next time if I feel like doing something kernel related, I don’t have to start over again.
We are going to setup a minimal ubuntu installation (no GUI) for kernel development. Install ubuntu minimal from this link. For this tutorial I will use Ubuntu 12.04 LTS version in virtualbox with 17 GB space. Make sure the architecture (32-bit, 64-bit) matches that supported by virtualbox. In virtualbox select at least 2 cpu and half of system RAM (keep everything under the green line). Since we are going to install necessary package later on, you don’t have to install any special packages during the installation. Skip the package installation step and complete the installation.
In this tutorial, I will talk about installing steamos in virtualbox. The reason, I wanted to do this was to play around and see how they have put together a debian distribution. One thing, I noticed from my installation was, despite valve’s suggestion in their FAQ, I would not recommend executing ~/post_logon.sh after installation, because it removed dkms and necessary drivers, that were necessary to boot the OS. I guess, this step was the step to make steamos boot directly into big picture mode. In our case, you will have to select SteamOS from login manager and login into user account named steam to login to the big picture mode. If you want to run above script anyway, at least make a copy of the vdi file, after you have updated the steam client. File size is no more than 4G, if you have selected dynamically expanding disk in virtualbox. Also, as suggested by some posts, there was no need for me to remove nvidia binaries after installation.