If like me you are annoyed with the ever present ads on youtube, this is how to disable them.
document.cookie="VISITOR_INFO1_LIVE=oKckVSqvaGw; path=/; domain=.youtube.com";window.location.reload();
How to open the debug window:
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
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:
- A virtual machine client like VirtualBox.
- An operating system (I use Linux Fedora Workstation but any other Linux distribution will do).
Here’s how to do it:
- Download and install VirtualBox.
- Download Fedora Workstation 24.
- Create a new virtual machine and install Fedora (If you got problems drop me a note in the comments).
- Create an e-mail account from a free e-mail provider. I use Yandex in this scenario.
- Remember the security question because you will need this when deleting the Yandex account.
- From your Dropbox account, invite your new friend.
- From your virtual machine log in to your Yandex e-mail account and accept the invitation and create a new Dropbox account.
- Install Dropbox on your virtual machine and log in as the final step.
- You now have 500 MB free extra space on your personal Dropbox account.
Deleting Yandex E-mail Account
- Log in to your account
- Click on the gear icon (Settings)
- Click on Personal data, signature, picture
- In the left side of the screen click on Edit information.
- Under other settings click Delete account
Deleting a Dropbox Account
- Log in to the Dropbox account using the Yandex e-mail.
- Click on the name in the upper right corner.
- Click Settings.
- Click on the Account tab.
- Click Delete my Dropbox account at the bottom.
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:
- Using Sublime Text 3 install the plugin Text Pastry
- Rename <string>0</string> til <string>null</string>
- Select the first instance of null
- Select all occurrences of null with this shortcut: ctrl+cmd+G
- Open Text Pastry (alt+cmd+N)
- Enter this command: \i(0,1). That will replace all occurrences of null with numbers starting from 0 and increment with 1.
Chrome Remote Desktop
Add the Chrome Remote Desktop app to Chrome via the Chrome Webshop.
Click on this button and start Remote Desktop
Click on the green button Share to install Chrome Remote Desktop Host.
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.
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.
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