How to fix multi-line editing “Control + Shift + L” not working in Sublime

I use Sublime Text on both Windows and Mac and I love it. Recently I discovered that for some reason multi line editing wont work. This is very handy feature that allows you to edit more than one line at the same time and I use it quite often.

The easiest way to enter multi-line editing mode, is by pressing Control + Shift + L simultaneously, but for some reason it wont work anymore.

Apparently, the problem is caused after I upgraded my AMD Drivers and I got that Radeon thing sitting in my task-bar (that I didn’t had before or I have disabled it previously). This tool uses exactly the same hot-key combo as Sublime and it prevents sublime from functioning.

Here’s how you can fix this. First start AMD Radeon utility, click on Gaming tab and then click on Global Settings.

Next click on Performance Monitoring tab and there you have it, the first item on the list called Toggle Performance Logging Hotkey is using the hotkey CTRL+Shift+L hotkey. Click on it to change it and press Delete key to remove hotkey for that function, and the value will change from Ctrl+Shift+L to None.

At this point your Sublime multi-line editing tool is working again and you may close this AMD Radeon thing.

How to migrate private repository from BitBucket to GitHub

Last year Microsoft bought GitHub for $7.5B and shortly after that they have changed their policy on private repositories. Before, private repositories were reserved only for paying members, but since January 7th 2019 even non-paying users are allowed to have unlimited private repositories.

In case you want to migrate your private repository from BitBucket to GitHub and keep all the previous gits.

First, login to your GitHub and make a new empty private repository (do not tick “Initialize this repository with a README”). You can use any name but the best practice is to use the same name as on BitBucket.

Now let’s clone the repository from BitBucket and push it back to GitHub. Make sure to replace geektnt with your bitbucket/github username and coolproject with an actual repository name.

git clone --mirror https://bitbucket.org/geektnt/coolproject.git
cd coolproject.git
git remote set-url --push origin [email protected]:geektnt/coolproject.git
git push --mirror

After this is done you can leave the folder and remove the repository directory (since it’s not usable project as it’s cloned with –mirror parameter)

cd ..
rm -rf coolproject.git

And you can now clone it from GitHub and continue where you have stoped:

git clone [email protected]:geektnt/coolproject.git
cd coolproject
...
(make changes, add, commit, push...)

At this point you can remove old BitBucket repository if everything works at GitHub.

This way to migrate worked out amazing for me and I have moved couple of my older private projects from BitBucket to GitHub so I can have them all at one place.

How to view HEIC images on Windows

Since iOS 11 your images that you shoot with your iPhone can now be saved in two formats:

  • High Efficiency (the new HEIC format)
  • Most Compatible (standard JPEG format)

If you go to Settings -> Camera -> Formats you’ll see these two options. On all iPhone 7 or newer devices High Efficiency format is enabled by default.

New High Efficiency (HEIC) format

Most people are familiar with JPEG format since it’s been around for ages. But what’s that new High Efficiency (HEIC) format all about?

Continue Reading

How to DNS cache on Windows or macOS?

Almost all operating systems cache DNS records to improve the performance of applications and speed up internet access. Browsers do cache DNS records too and to flush these the easiest way is just to close the browser and start ti again. But sometimes there is a need to flush operating system DNS cache. Here’s how you can do that easily.

How to flush DNS cache on Windows XP / Windows Vista?

  • Step 1: Open the Command Prompt
    • Click on the Start Menu and click Run. Type in cmd and hit Enter.
  • Step 2: Flush DNS
    • Type ipconfig /flushdns and hit Enter.

 

How to flush DNS cache on Windows Vista or Windows 7?

  • Step 1: Open the Command Prompt
    • Click on the Start Menu and type cmd in the search bar and hit Enter.
  • Step 2: Flush DNS
    • Type ipconfig /flushdns and hit Enter.

Continue Reading