Category Archives: Uncategorized

Ask.fm Fake Users

Recently I read a discussion about how sometimes email service provided by mail.ru is unstable and mixing accounts, messages and inboxes. After that I decided to check my old*mailbox@mail.ru. It’s a very old account of mine, that was getting mostly … Continue reading

Posted in Uncategorized | Leave a comment

PHP viruses

/* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */ This is the line from obfuscated (mostly with base64 and eval) PHP/BackDoor.CK Trojan horse I just found on a … Continue reading

Posted in Uncategorized | Leave a comment

Google Chrome keeps crashing

If you Google Chrome keeps crashing with this message: Whoa! Google Chrome has crashed. Relaunch now? you can try disconnecting your google account from your chrome (temporary) – it looks like the problem is caused by something responsible on chrome … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

MongoDB Courses

I’m in the end of (taking) online MongoDB class: actually, it’s one of the best online classes I ever took. Short, dynamic video lectures, quiz in the end of almost every lecture, automatically graded homework every week. It’s MongoDB for … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

How to move site to another server

Here’s my algorithm of moving website from one hosting provider to another: Make sure you have all credentials needed (ftp/ssh, mysql, cpanel – whatever). It doesn’t make sense to start this process if you won’t be able to finish it. … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Get RSS Feed of Facebook Page

Skip my foreword and go to online tool right now ⇒ Couple of months ago I deleted my facebook profile. I did it mostly to get rid of one of chronophagous places on the web I was visiting frequently. That’s … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

This file should be replaced

Well, nothing really special here — programmer used placeholder license file when building install, nobody had the trouble to replace this file with actual license text and placeholder has been shipped to the users. What’s significant about this one – … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Funny “Print preview failed” bug in Google Chrome

3 links to print current page in HTML: <a href=”#” onclick=”window.print();”>print it #1</a> <a href=“#” onclick=“window.print();return false;”>print it #2</a> <a href=“javascript:window.print()”>print it #3</a> Question: What is wrong with one of them? Same links clickable: print it #1, print it #2, … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Change encoding in Google Chrome

This is how you can select page encoding in Google Chrome (click to enlarge): Don’t you think it’s an overkill? Click the icon and navigate 3 menus deep? Also, is it only me or pointers (triangles) on the right with … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Get number of days in month with PHP

Problem: get number of days in certain month with PHP, if $m – is a month and $y – is an year. First solution, hacker-style (source): (31 - (($m - 1) % 7 % 2) - ((($m == 2) << !!($y % 4)))) ?> This solution doesn’t work properly for years divisible by 100, and non-divisible by … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment