Sunday, June 3, 2018

Save as PDF vs. print Adobe PDF (MS Word)

I've wondered some times what was the difference between the two and today I found an important one.

Let's say you are working with a document in Word that you plan to convert to PDF. You're using a font that you want to embed in that PDF because it's a particular font and probably isn't installed in the target user computer.

  • If you 'Save as PDF', by default the font is 'embedded' by converting the letters to bitmap so it's a fail. This usually happens when the font isn't a 'common' one. Obviously, you won't be able to copy from this generated PDF.
  • If you print with 'Adobe PDF' virtual printer, the font is embedded properly and letters are vectorized.

So now, you know. If you're using weird special fonts, don't forget to print as PDF.

Saturday, May 26, 2018

Fix slow Windows Explorer loading/hanging/freezing not showing thumbnails W8.1

I had this issue with Windows Explorer and was a pain in the ass I couldn't stand any longer. So I did some research in the net and nothing really worked for me so I want to share what did the trick.

How to check if you have the same problem as me:

- Provoke a Windows Explorer hang and then open Event Viewer.
- Go to Windows Logs -> System
- Check if an error like this just happened:

Source: DistributedCOM Event ID: 10010
The server {1B1F472E-3221-4826-97DB-2C2324D389AE} did not register with DCOM within the required timeout.

If you get that, you have the same problem and probably the same solution will work.

What's fucking my explorer?

It's the stupid SkyDrive. The following steps are intended for disabling it, so if you really use SkyDrive, don't continue. But no one uses that shit.

Straight fix:

- Go to your local drive -> Windows -> System32
- Find SkyDrive.exe. Right click, Properties, tab 'Security', Advanced.
- Change the owner of the file from 'TrustedInstaller' to an administrator account that you can use. If your current user has admin rights, just change the owner to your current account.
- Below, change the administrators Access to 'Full control'. Apply and accept everything.
- Now you can rename SkyDrive.exe to whatever like fuckSkydrive.exe, so now it won't work any longer.

Restart your computer and your problem is probably solved.

Other things I did but should not make any difference:

If the above doesn't work, you can try this, but with SkyDrive disabled, this is probably pointless.

- Open Registry Editor.
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Skydrive
- There, create the following DWORD entries and set them all to 1.


Tell me in the comments if this post helped.

Tuesday, May 1, 2018

Download daily Bing Wallpaper with this shitty program

I want to share a little program I made some time ago, and that I've been using very often. It's shitty for the reasons below.

Bing Wallpaper Tool is a simple utility that allows you to quickly check the current Bing Wallpaper, and if you like it, you can set it as wallpaper just pressing a button. You can also save the picture for other purposes with another button.

The program is developed with the stupid Windows Forms, so you need the son of a bitch .NET Frameworks for it to work. Also, despite the save functionality works always, the 'Set as Wallpaper' may not work in every Windows version (mine is W8.1 and works OK).

If you want to spend your time with it, download it here:
PASSWORD: englishdrummer

Take care.

Thursday, February 8, 2018

Run script at logon in any Linux with LXDE

Today I want to save you a lot of time with this shit. It's so simple when someone tells you.

- First, this works for running things at user logon, not at system startup. For the latter, use something like Cron and good luck with it.
- Second, this is user dependent. You'll have to do it for every user.
- Third, just in case you didn't read the damn title, this is for linux distributions with LXDE desktop only.

I start from the point where you have an ready and working, that being said, let's start:

1. Go to "YOUR_USERNAME/.config/autostart". These are hidden folders, so copy & paste the path into PCManFM or activate "Show hidden folders" to get to the place.

2. Create a new file called "YOUR_SCRIPT_NAME.desktop".

3. Put inside the following:
[Desktop Entry]

Example for the lazy:

[Desktop Entry]

4. Go to the start menu Preferences -> Desktop Session Settings. Check your script is listed and mark with a tick.

5. Last but not least, go to your script and make sure it has execution rights. For that, right click, Properties, Permissions tab, Execute -> Anyone.

That's all for today, with this it should run a few moments after the user logs in.
Tell me if it helped you.

Friday, January 26, 2018

My opinion about Armin van Buuren

I love Armin van Buuren and A State of Trance.

What I like:
- He's a trance icon
- He transmit energy and hapiness
- He works hard spreading the trance culture
- He hosts a radio show that is very very good.
- He's a high quality DJ and live performances are amazing.
- He has a lot of experience in the field.
- As a producer, he knows how to make very well made music. I mean, technically top level.

What I don't like:
- As a producer, which is a maybe 50% or less of what he works on now, despite the technically high class well made music, most tracks have nothing special, which is a pity. From my experience producing, I guess you need to release something from time to time, and maybe he's not in his best moment regarding inspiration.

Tuesday, January 23, 2018

Search across loads of text based files with

Today I want to share this python script that is being very very useful for me. massiveSearch allows you to search a particular string across many text based files like .txt, .cpp... I found it extremely useful when looking for strings in thousands of source code files.

Using the script is very simple. At the top there's a list of extensions of files that the script takes. You can add more text based file extensions if necessary.

First you enter a path, then a string to search and that's all. If there are matches, you'll get a path to each of the files and the lines where the matches are.

Download the script here:

Hope it helps.

Wednesday, January 3, 2018

Detect and log when the internet is down with

This a little python script that I wrote to help me troubleshoot my internet connection. checks periodically if the connection is OK, and if it isn't, it logs it to ta text file with the date and time when the fail was detected. Here's and example of the output:

At the top, there are 3 parameters that you can modify to change the way the script works to suit your needs.