Friday, April 15, 2016

Search engine for html source code search

I needed to search for a little code which is available only in HTML source, not in the rendered page. So a simple search would show nothing. After reading on Quora and Stackoverflow, I've found some recommendations: MeanPath, Blekko, Datanyze, Nerdydata. Useless, except some limited results from Google, nothing really worked.

Add Russian charset in Linuxmint/Debian

I opened a console and tried to paste some Russian word but it looked very weird. Then I run: # locale-gen ru_RU.UTF-8 and all works well.

Friday, April 08, 2016

Aman surname

Some more research on my name...
Aman seems to be a popular surname in USA and also a popular first name in India. It means "peace" and rhymes with Atman and Batman.

Friday, April 01, 2016

Surname Aman

Today I have taken a better look on Locate My Name website and I have found some interesting facts. I had no idea my name is so popular in these countries: /fr/Aman /de/Aman /at/Aman.

Monday, March 28, 2016

Saturday, March 26, 2016

SSH port forwarding: bind: Cannot assign requested address

While trying to do a simple port forwarding to access a remote mysql server via a secured channel I was getting an annoying bind: Cannot assign requested address.

$ ssh -v -L5555:localhost:3306
debug1: Local forwarding listening on ::1 port 5555.
bind: Cannot assign requested address

So it must be the buggy IPv6, after adding -4, all worked like a charm.

$ ssh -4 -v -L5555:localhost:3306
debug1: Local forwarding listening on port 5555.
debug1: channel 0: new [port listener]

Diacritics in a linux console for pico/nano/etc

I wanted to quickly edit a text file with pico and when I pasted a word, I noticed that all diacritics were replaced with some funny characters. A quick fix was to edit /etc/locale.gen and add my language like pl_PL.UTF-8 UTF-8 for Polish. Then run # locale-gen as root and all was working good. A list with all supported languages can be found in /usr/share/i18n/SUPPORTED