chown: Recursively change owner of all files and folders

Sometimes QNAP changes file owner to admin:administ (actually to admin:administratorsadmin user in administrators group) which may cause some troubles on certain FTP operations when you’re logged in to QNAP’s FTP server with user different than admin (using this user to operate on FTP is a quite great mistake and you should always use other, less privileged user for this).

Using chown command you can easily fix this.

Read More “chown: Recursively change owner of all files and folders”

Access website via MAC address

There are several ways, how one can access a website. Using domain name (i.e. http//www.example.com/) is one of most popular. We can also use IP address (i.e. http://216.58.194.174/). In certain situations URL can be “enhanced” with port number, login and password etc.

Less known option is that in internal network you can access an URL using… MAC address. You only need to enclose it inside square brackets i.e.:

http://[49d7::2e27:fe80:fe0d:d8ff]/webservices.html

This will, of course, work in any other situation where you know MAC address of the destination device.

Save search results to file

When you press Alt+F7 in Total Commander, you have access to really powerful search functionality. Unfortunately, the Load/Save tab allows loading and saving of search parameters, not the search results.

However, there’s a hidden gem that allows you to copy search results to clipboard and then you can paste them to Notepad and save them to file. Just press Ctrl+C when list of search results is focused. A single “blink” of window will tell you that contents are copied to clipboard.

Solutions for Google Chrome loosing all passwords…

…and other synced data.

If you purge your local sensitive data in one of computers (i.e. on shared PC) while you’re logged-in to your Google account then — due to some serious stupidity in Google Chrome — you will purge the same set of data from your Google account as well. Each device that syncs data with this account will, as a result, purge its local sensitive data next time it contacts Google servers.

This article presents a list of solutions you can try to apply in situations like this.

Read More “Solutions for Google Chrome loosing all passwords…”

Replace all sound-like sentences in subtitles

I’m as big fan (maniac) of perfectly crafted movie subtitles as I’m a regular expression newbie (ignorant). I simply don’t understand them and I’m pretty scared of each attempt / need of using them.

Until today, my biggest problem about movie subtitles were “sound-like” sentences. Manual removal of 100+ lines out of 400+ subtitle files wasn’t and option. Today, I said to myself, that I’m going to sit by the computer until I don’t figure out a regular expression, which I can feed into Notepad++ and replace all of this junk-like (at least to me) text out of each of my movie subtitle.

So I did. Finding proper regular expression for such extremely easy task is a snap of fingers for every regular expression freak. For regexp-ignorant, like me, it took no more than five minutes, so I managed to get on time for diner back home.

Read More “Replace all sound-like sentences in subtitles”

The solution for Windows Update error code 8024200d

If your Windows Update process hits the wall with error code 8024200d then you may find really strange solutions, including suggestions to restart all services and boot system in a clean mode.

The truth is that error 8024200d means nothing more than the fact that Windows Update downloaded a malfunctioned version of update. And this is the only reason on why it is not able to install it.

And the solution is as simple as — install it manually by yourself.

Read More “The solution for Windows Update error code 8024200d”

Prepare Windows 7 installation USB stick

I’ve got brand new Intel NUC Kit. With powerful processor, lots of RAM, M.2 disk and… absolutely no way to install Windows 7 except for using properly prepared USB stick. And so, for the first time in my life, I have a no-DVD computer and for the first time in past seven years (since I started using Windows 7) I was forced to figure out good, old Windows 7 USB installation way.

Read More “Prepare Windows 7 installation USB stick”

Use own photos as desktop wallpapers in Windows 7

Using own images as desktop wallpapers in Windows 7 isn’t that easy and obvious task, because most of the time clicking Browse... button in Control Panel > Appearance and Personalization > Personalization > Desktop Background simply brings no effect.

And there are many solutions to workaround this problem. Of which the brute-force one I prefer the most.

Read More “Use own photos as desktop wallpapers in Windows 7”

Disable CSS transitions and animations… temporarily or permanently!

There’s a fairly easy way to diable all transformations, transitions and animations introduced in CSS3, which often are being used in a nasty way, just as Flash animations were used ten years ago and as .gif images were used twenty years ago.

This can be done purely in CSS, when disabling them permanently or with a little bit help from Javascript (actually jQuery or Zepto), when willing to disable them just for some time or event.

This article also show how to set styles for absolutely every element in document.

Read More “Disable CSS transitions and animations… temporarily or permanently!”

Rename mobile device in Windows 7

I’m testing my mobile applications on various number of mobile devices with Windows Phone system on-board. And Windows 7’s creators are stupid enough to develop this feature in the way, that all Windows Phone-based devices are named Windows Phone. Eventually, I ended up with four different mobile phones listed in Devices and Printers section under Windows Phone name. I needed a way to rename each of them to display correct model.

This is possible in Windows 7 and this is fairly easy, though pretty nice hidden, so some may claim that renaming mobile device is not possible.

Read More “Rename mobile device in Windows 7”

Ultra-fast method of creating hyperlinks in Microsoft Word

The most basic way of adding a “connector” from one part of Word document to another section, header or place is achieved by adding a bookmark followed by creating a hyperlink to that bookmark. This is a two-step process that involves using two different windows and a lot of typing and clicking.

There’s a much, much faster one-way method of achieving the same.

Read More “Ultra-fast method of creating hyperlinks in Microsoft Word”

Fix for Windows Update unable to find any update [updated]

This has been reported to be happening after fresh install of Windows 7 SP 1. But, it happened to me on an old netbook with Windows installed three years a go or more as well. There were also reports, that fix shown in this article can help for Windows Vista SP2 not being able to install any new updates. I’m also pretty sure, that certain Microsoft downloads (even those offline) are affected by this problem, i.e. until you fix it, you won’t be able to install .NET Framework (for example) on freshly installed Windows 7 SP1.

Anyway, if at any point of time on any Windows you’ll notice, that Windows Update hasn’t updated any new updates for past few weeks or if searching for new updates in Windows Update hangs forever or you run into some weird problems with installing Microsoft tools then you should read this article, as you may find fix for your problem and many useful links here.

Read More “Fix for Windows Update unable to find any update [updated]”

Using arrow keys to quickly changing active window placement

By a complete accident I have found a cool feature in Windows 7 (probably works in other versions as well), that allows you to use Windows and keyboard arrows to quickly change active window placement.

You can change horizontal placement (i.e. pick to which screen margin active windows sticks) as well as vertical placement (i.e. quickly maximize or minimize active window).

Read More “Using arrow keys to quickly changing active window placement”

Bringing Unison to QNAP TS-210

My six years old QNAP TS-210 was key solution for my most important data backup back in 2012. That’s the moment, when I first time heard about Unison (webpage, Wikipedia). Its idea (a free, self-hosted alternative to Dropbox, limited in size only by free space on your device) caught my heart and I immediately felt in love with it.

Unfortunately, after struggling with it for over a few months I finally failed getting it back to QNAP and turned into some alternative solutions (Bittorrent Sync, Dropbox, OneDrive). However, someone did finally find a solution and answered my four years old post. This obligates me to share this knowledge. Have a good reading.

PhoneGap Build app and more languages in Windows Marketplace

When preparing an application for publication in Google Play, you can provide description and other details of your application in as many languages as you want, directly in Google Play Developer Console.

You won’t find anything similar in Windows Phone Dev Center. This is, because Windows Marketplace is the only market of “big three” platforms, that require you to declare supported languages inside your application before you’ll be able to create store impression for your application in different languages.

Read More “PhoneGap Build app and more languages in Windows Marketplace”

Second life of burned-down DVDs (or CDs)

Default, system DVD burning program in Windows 7 is widely known for being very unstable and having burned-down (wasted, destroyed) DVDs ratio even as high as 20-30% (meaning, that you successfully burn only seven DVDs out of ten). If using more stable, dedicated software is not an option (for various reasons), you have to survive hell of using default burner. However, the fact, that DVD is burned-down doesn’t necessary mean, that you should recycle that DVD. In many case you can re-used in future.

This article started as a simple guide, on how you can re-use disk, that were damaged by native Windows burning software. But, since I was burning about 30 DVD DL files, when writing this text, I also included some tips and extra general information on burning disks and using UDF-formatted DVDs. So, this post may become useful even to those, who does not have any problems with disk burnout process under Windows.

Read More “Second life of burned-down DVDs (or CDs)”

OneDrive troubleshooting on Windows 8.1

I had a serious problems with OneDrive on Windows 8.1. I wasn’t able to access my folder or OneDrive settings (to at least login to OneDrive account and start syncing). I wasn’t evan able to start OneDrive or see its icon in file explorer. Ultimately, I gave up and “resolved” my problem by upgrading system to Windows 10. However, you may use this article as a kind of checklist to see, if you have checked everything, when resolving your problems with OneDrive under Windows 8.1.

Read More “OneDrive troubleshooting on Windows 8.1”

Mass modification of ID3 tags and MP3 filenames

I’m a puristic person and perfection maniac. Every of tens of thousands of MP3 files in my audiobook library must have a precisely filled up ID3 Tag and correct file name. For most operations on both tags and filenames, I’m using my own piece of software, written in Delphi years ago. However, since it does not support operations on ID3Tagv2, I was forced to strip these tags manually, using “magical” key combination in Winamp (see below). But, for large set of files some batch program must be used. And here you’ll find short notice on some of them.

Read More “Mass modification of ID3 tags and MP3 filenames”