Removing extension from filename in bash

This is a very short post, but things must be learned and writing down them is the better way. The title Removing extension from filename in bash is just a pretext. However for who need a very quick solution: At line 4 you will find the solution at your problem. Continue reading Removing extension from filename in bash

Ugly font rendering in Netbeans 8.1 under Arch Linux

I had ugly font rendering in Netbeans 8.1 under ArchLinux. I waited a lot, because I was thinking about a trouble due to something wrong in the release. But It was not. Well, I had not alternatives but fix the bug: Netbeans is necessary, beacuse I’m working on a Netbeans Continue reading Ugly font rendering in Netbeans 8.1 under Arch Linux

Monospace font issue in Mozilla Firefox

Sometimes I’m a bit lazy, and I don’t really care about basic things. Until when these things become a real problem. An example is the issue that I encountered in my browser after last upgrade of Arch Linux. I have never set up my fonts, because of my laziness, so Continue reading Monospace font issue in Mozilla Firefox

Hidden files in linux: how to move them between folders

How to move hidden files from a folder to another? This is a pretty trivial question. I’m a Linux user, so I want to do that via CLI of course. The command is really really simple, but it includes a small trick: The trick is [!.] written after the . Continue reading Hidden files in linux: how to move them between folders

Print psswd protected pdf files

This is a pretty quick post. I needed to print psswd protected pdf files. YOU CAN’T UNENCRYPT A FILE, of course! So I just tried to pump in the file into ghostscript and see how it does. Well, at the end, I was able to print the document. GWH! #gwh Continue reading Print psswd protected pdf files

Vim, eclim: how to refresh the project

I love writing source code or documents and editing each and every type of text file through command line editors. And yes, I love both Emacs and Vim. Even if there is a famous war between the two users’ community, I use Emacs for C++ programming, editing, bash and R Continue reading Vim, eclim: how to refresh the project

Replace spaces with tabs using Vim

It often happens that you are modifying a text file and you want to replace spaces with tabs using Vim text editor. There is nothing easier! Firstly, set the proper flag to use tabs instead of spaces: Then retabulate the whole file: This work is licensed under a Creative Commons Continue reading Replace spaces with tabs using Vim

tar (child): Cannot connect to xxx: resolve failed

I was unpacking a file named something:somethinelse.tar.gz when I got the following error: The reason can be found in the GNU tar documentation If the archive file name includes a colon (`:’), then it is assumed to be a file on another machine. If the archive file is `[email protected]:file’, then Continue reading tar (child): Cannot connect to xxx: resolve failed