Disable Ads on Youtube

If like me you are annoyed with the ever present ads on youtube, this is how to disable them.

In any browser open the debug window (F12), open the console pane, and enter this Javascript code:

document.cookie="VISITOR_INFO1_LIVE=oKckVSqvaGw; path=/; domain=.youtube.com";window.location.reload();

How to open the debug window:

Safari: Press F12 or right-click on any element and select Inspect Element. At the bottom of the Console tab you will see a command line starting with this symbol: >. Enter the Javascript command here. (You need to enable developer mode to inspect elements: Settings > Advanced)

Firefox: Press F12 or right-click on any element and select Inspect Element. At the bottom of the Console tab you will see a command line starting with these symbols: >> Enter the Javascript command here.

Udgivet i Ikke kategoriseret | Skriv en kommentar

Photos in macOS Sierra Consumes Massive CPU Power

Perhaps you have noticed that some process in your computer consumes a lot CPU power ever since you updated to macOS Sierra. I did. The fan of my MBP was spinning loudly to cool down the processor and it was an intolerable environment to work in. So I opened up Activity Monitor and there it was, the culprit that sucked all my CPU power: photoanalysisd.

What does that process do? It organizes your photos in the background, but you don’t really to have it run in the background. From time to time just open Photos and update your photo library.

How to kill the process?

Simply killing the process in the Activity Monitor app wont silence it. It will restart immediately. You need to run this command from the Terminal:

sudo kill -15 PID

You find the PID number in the PID column of Activity Monitor. The -15 (software termination) is the signal to send; so you simply tell the kill program to send a software termination signal. TIP! Write man kill in Terminal to learn more about this program.

In my case the command looked like this:

sudo kill -15 1591
Udgivet i IT Support, Mac | Skriv en kommentar

Increase Your Dropbox Space for Free!

Yes, that’s right! You can increase your Dropbox space for as much as up to 16 GB without paying a single dime by inviting friends. But that does not guarantee that you will get the extra space. Your friends will still have to accept the invite and install Dropbox on their machine. And that is where this tutorial comes in. Just create a bunch of users your self and install Dropbox in a virtual machine.

Please note that steps 1-5 in this tutorial are optional, but I recommend doing them for the sake of anonymity and to keep from messing up your actual Dropbox account on your computer. It’s better to do this in an isolated OS environment and that is why I use a virtual machine.

There are also other ways to increase your Dropbox space for free. But these methods are limited and can only be performed once:

  • You get 250 MB when you complete the Get Started tour
  • You get 125 MB when you connect your FaceBook or Twitter account to Dropbox
  • You get 125 MB when you follow Dropbox on Twitter
  • You get 125 MB when you give feedback on why you so very much love Dropbox
  • You get 1000 MB when you manage your e-mail with Mailbox (No longer available. Mailbox was shut down on February 26, 2016)
  • You get 3000 MB when you use Dropbox’s own media gallery called Carousel. (No longer available. Carousel has been shutdown)

If you want to pay $9.99 per month you get 1 TB of disk space. Paying $15 per month for businesses you get unlimited storage space.

What you need:

  1. A virtual machine client like VirtualBox.
  2. An operating system (I use Linux Fedora Workstation but any other Linux distribution will do).

Here’s how to do it:

  1. Download and install VirtualBox.
  2. Download Fedora Workstation 24.
  3. Create a new virtual machine and install Fedora (If you got problems drop me a note in the comments).
  4. Create an e-mail account from a free e-mail provider. I use Yandex in this scenario.
  5. Remember the security question because you will need this when deleting the Yandex account.
  6. From your Dropbox account, invite your new friend.
  7. From your virtual machine log in to your Yandex e-mail account and accept the invitation and create a new Dropbox account.
  8. Install Dropbox on your virtual machine and log in as the final step.
  9. You now have 500 MB free extra space on your personal Dropbox account.

Deleting Yandex E-mail Account

  1. Log in to your account
  2. Click on the gear icon (Settings)
  3. Click on Personal data, signature, picture
  4. In the left side of the screen click on Edit information.
  5. Under other settings click Delete account

Deleting a Dropbox Account

  1. Log in to the Dropbox account using the Yandex e-mail.
  2. Click on the name in the upper right corner.
  3. Click Settings.
  4. Click on the Account tab.
  5. Click Delete my Dropbox account at the bottom.
Udgivet i IT Support | Skriv en kommentar

Increment Selection

Have you ever wanted to increment large number of numbers in bulks?

Let’s say you have hundreds or even thousands of strings called <string>0</string>. But you don’t want to go through each line and manually update the strings <string>0</string>, <string>1</string>, <string>2</string> and so on. That would be ludicrous and SO unbelievably cumbersome.

Here’s how to do it:

  1. Using Sublime Text 3 install the plugin:
    1. Tools > Install Package Controls
    2. Tools > Command Palette > Install Package > TextPastry
  2. Rename <string>0</string> til <string>null</string>
  3. Select the first instance of null
  4. Select all occurrences of null with this shortcut: ctrl+cmd+G
  5. Open Text Pastry (alt+cmd+N)
  6. Enter this command: \i(0,1). That will replace all occurrences of null with numbers starting from 0 and increment with 1.
Udgivet i Miscellaneous | Skriv en kommentar

Chrome Remote Desktop

Chrome Remote Desktop


Add the Chrome Remote Desktop app to Chrome via the Chrome Webshop.
Log in
Click on this button Grid button of Google Apps and start Remote Desktop
Click on the green button Share to install Chrome Remote Desktop Host.

Short-term Sharing

The user, whose computer you wish to take over or share, must click on Access next to See and control a shared computer.
Enter the 12 digit access code you get from the user.

Long-term Sharing

In order to share the computer over a longer period both individuals must be logged into Chrome. You only need to do this once.
Then click Access Remote Connections and enter a pin code of your choosing. The user who needs to remote control your computer needs this pin code.
Sharing over longer period also works after a reboot of your computer. The user, whose computer you controls, can even close Chrome Remote Desktop without loosing the connection.
Click Stop sharing when you are done.

Important Information

It is not necessary for Chrome to be running in order to use Chrome Remote Desktop. All you need to do is be logged into Chrome, not Google, and click on the button Activate connections. After that you can close Chrome webbrowser.
More help can be found here: https://support.google.com/chrome/answer/1649523?hl=en

Udgivet i Google, IT Support | Skriv en kommentar