Tag Archives: linux

Play Dota 2 on Intel HD 3000 or above on Linux

If you use Linux and wanted to play Dota 2 but have been discouraged by the limited graphics performance of integrated Intel HD graphics card, this post is for you. Intel HD 3000 is an integrated graphics card that came with Sandybridge processors. By default it is barely able to run Dota 2. With following settings, you should be able to play Dota 2 at an average speed of 30 FPS or above. The trick is to lower the graphics settings to make the game run faster. If you have newer processors you should get even better performance.

Continue reading

2 Comments

Filed under Uncategorized

Convert list of manga directories to comic book archive

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.

Continue reading

Leave a comment

Filed under Uncategorized

Using mpv to escape start and end of videos (like in anime, tv shows etc)

Introduction

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.

Continue reading

3 Comments

Filed under Uncategorized

Learning Emacs

Introduction

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.

Basics

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.

Continue reading

Leave a comment

Filed under Uncategorized

Toggle keyboard keys in Linux using terminal commands

Introduction

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).

Continue reading

2 Comments

Filed under Uncategorized

X86 disassembly

Introduction

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.

Continue reading

Leave a comment

Filed under Uncategorized

Minimal Linux setup for kernel development

Introduction

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.

install

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.

Continue reading

2 Comments

Filed under Uncategorized