Archive

Archive for the ‘Uncategorized’ Category

StackOverflow: 2,000 points

December 6, 2014 4 comments

Today I have exactly 2,000 points on Stack Overflow. How awesome that is! :)

SO-2000

Categories: Uncategorized Tags:

Remarkable: a nice markdown editor with live preview

December 3, 2014 1 comment

At last a cool markdown editor with live preview. Check it out here: http://remarkableapp.net/index.html.

Demo

I read about it here: http://www.unixmen.com/remarkable-new-markdown-editor-linux/.

Open .md files with Midnight Commander

# markdown
regex/i/\.(md|markdown)
    Open=remarkable %f 1>/dev/null 2>&1 &
Categories: Uncategorized Tags: ,

command-line currency converter

November 19, 2014 Leave a comment

Qalculate! is a multi-purpose desktop calculator for GNU/Linux (now ported to Mac). It is small and simple to use but with much power and versatility underneath. Features include customizable functions, units, arbitrary precision, plotting, and a user-friendly interface (KDE or GTK+).” (source)

The software has a command-line interface too that you can start with the command “qalc“. You can do all kinds of fancy math calculations with it, but this time I’m interested in currency conversions. Qalc supports it too:

$ qalc
You need the download exchange rates to be able to convert between different currencies.
You can later get current exchange rates with the "exchange rates" command.
Do you want to fetch exchange rates now from the Internet (default yes)? yes
> 50000 USD to HUF

  50000 * dollar = approx. HUF 12157958

>  USD to HUF

  dollar = approx. HUF 243.15915

>

Related

Midnight Commander: go to parent directory with Backspace

November 16, 2014 Leave a comment

Problem
Total Commander has a nice feature: if you press Backspace, it steps back to the parent directory. How to have this shortcut in Midnight Commander?

Solution
This thing has bugged me for years! But, I was lazy to look it up. Today I got fed up and made a Google search. Guess what. I had the answer in 5 minutes…

The local config files of MC are here: ~/.config/mc. The global ones are located at /etc/mc. I like to access the local config files at ~/.mc, so first I create a symbolic link:

$ cd
$ ln -s ~/.config/mc .mc
$ cd .mc
$ cp /etc/mc/mc.keymap .
$ vi mc.keymap

Modify this line:

# new value:
CdParentSmart = backspace

Originally this line was put in comment.

Restart MC and enjoy the new feature. If you wrote something in the mini shell, you can still delete it with the Backspace. If the mini shell is empty, Backspace makes MC jump back to the parent directory.

My MC version is 4.8.13. You can verify yours with “mc -V“.

download tube videos

November 14, 2014 Leave a comment

http://www.tubeoffline.com/

They support a lot of tube sites.

Categories: Uncategorized Tags: ,

If your Android is misbehaving

November 10, 2014 Leave a comment

Problem
I have a Huawei Ascend Y200 device and lately it was acting strangely. This device doesn’t have much memory, so it was always complaining about low memory but I got used to it. Installing a new app was always a pain or simply impossible… But a few days ago it was dropping error messages like “process com.google.process.gapps has stopped”. Due to this problem I couldn’t use my phone normally. For instance, when I wanted to check my text messages, it quit to the desktop all the time.

Solution
The solution is very simple: remove as many apps as you can to free some RAM for the device. I did this and after a restart it works like a charm.

I was already thinking that I should buy a new device, after all it’s 2 years old, but now it works fine. I give it another chance :)

When I got this mobile, I used it for lots of things: watch movies, play music, browse YouTube, etc. Thus, I installed several apps that filled up its memory. Since then I got a tablet, which is much better for these tasks, so I could remove these extra apps from the mobile without hesitation. Now, as it has some free RAM, it can work correctly. Well, after all, what should this device know? Make phone calls, write SMS messages, have an alarm clock, and sometimes check my emails. That’s all.

Follow

Get every new post delivered to your Inbox.

Join 73 other followers