Category: How To

Various howtos

Posted in Featured on Home Page How To Other Web

3 Simple Ways to Spot Fake Product Reviews on Amazon.com

TL;DR Internet is full of “fake reviews”. In order to spot them look at the review dates clustering, reviewers profiles and reviews relevancy to the specific product. Always Analyze the Reviews Just like many of us, I rely a lot on the product reviews while deciding what to buy. What…

READ MORE
Photo by Victor Freitas on Unsplash
Posted in Featured on Home Page How To Linux Software Web

How to Upload Huge Images to WordPress

Well, this actually applies not just to WordPress but to most PHP applications, it’s just that with WordPress market share close to 60% this is the platform where you most frequently see the problem to manifest. It looks like this: Maximum upload file size: 2M The problem is not really…

READ MORE
Photo by Glenn Carstens-Peters on Unsplash
Posted in How To Web

Fixing NextGen Gallery Problem with Absolute Paths

I just upgraded NexGen Gallery plugin for WordPress and found most of the galleries ruined. What’s worse is that even the plugin’s own configuration interface became broken. Quick googling around revealed that I’m not the only one and a lot of people are affected by this problem. Not sure why…

READ MORE
Photo by Glenn Carstens-Peters on Unsplash
Posted in Featured on Home Page How To Other Web

How to quickly check if an internet store is a scam

So imagine you go to google shopping (http://froogle.com) and search for an item to buy and google returns you a really awesome price for the thing you dreamed about your whole life (or just the last 5 minutes). And you are almost ready to go ahead and order the item…

READ MORE
Photo by Andrew Neel on Unsplash
Posted in Hardware How To Windows

Fixing MacBook Pro BootCamp Black Screen of Death

So one day I’ve power on Windows on a BootCamp-enabled Windows 7 MBP Retina and after booting and making bunch of happy sounds the display went blank. No matter how many times I rebooted it the display kept looking dead. The computer was obviously running. It’s easy to check by…

READ MORE
Photo from unsplash
Posted in How To Linux Web Windows

How to migrate ownCloud 6 from sqlite to MySQL

Those who do not know what ownCloud is probably should read about it here: http://owncloud.com. This is an awesome tool that provides functionality similar to dropbox, but uses your own server to host the files. We all know about dropbox’s bad behavior like storing passwords on the server side, accessing…

READ MORE
HDD
Posted in How To Linux Software

Attaching >2Tb disks to Linux

Here is the sequence of commands to make disk space usable in Linux for disks >2Tb (so your regular fdisk won’t help you here).

READ MORE
Silence Noisy Speaker
Posted in Featured on Home Page Hardware How To Other

How to silence a piezo buzzer in your microwave, alarm clock etc

Almost every time I buy a piece of electronics with some sort of alarm it always includes a super loud and mega annoying buzzer notifying about the end of cycle. Though tuning it off completely is an easy operation (just open the case and cut the wire) making it just…

READ MORE
Browser Offline
Posted in How To Web

How to make browser offline cache retrieve new version of the page when browser is online, but keep using cache when it is offline

Offline cache is awesome! For certain things. For most regular web pages it is unfortunately not. Here is web developer’s most frequent use for the offline cache: make browser use cached version of the page when browser is offline but refresh it when it gets online. What could be simpler…

READ MORE
Posted in How To Linux Web

AWS EC2 ssh not responding in RHEL 6.4 AMI

I was fighting with an AWS bug today seeming just ridiculous for a system that makes ssh the only way to access the server. With no console login EC2 users are completely dependent on flawless sshd operation and Amazon team just did a really bad job preparing the RHEL 6.4…

READ MORE
Posted in How To Tools

How to use large / multiline text as a field in mongodb

I’m working on a project that requires storing large multiline chunks of text in MongoDB. The chunks should be inserted in the database during initial database population, so I need to enter them somewhere in db population script. Unfortunately you can’t just put something like this: db.tests.insert( { name: ‘test’,…

READ MORE