All Books 93 Stack Overflow 82 Daily Thoughts 78 Ionic 61 Miscellaneou$ 60 Quick tips 43 CodeProject 36 NodeJS 27 Programming 22 JavaScript 18

Stop Tabbing. Start Using Your Monitor

OK, I admit, this one is going to be weird. So, buckle up… Tabbing feels like it costs a second. It doesn’t. It costs your train of thought.…

Caffeinate your Mac to prevent it from sleeping

TL;DR I’ll show you how to use macOS’s built-in caffeinate command to keep your Mac awake: until you stop it for a set amount of time, or only…

When espanso Breaks on Long Replacement Strings (and How to Fix It)

When espanso Breaks on Long Replacement Strings (and How to Fix It) Hey friends 👋 Today’s post is a quick one, but it might save you from a…

Espanso: Because Who Actually Likes Typing Out Their Emails?

TL;DR Espanso is a text expander tool that will save you lots of repetitive typing. For real. Ever had to repeatedly type your email address into a form?…

Solving the ‘Retry as Admin’ while saving files in Visual Studio Code on a Mac

TL;DR If you ever get an error that you can’t save a file in Visual Studio Code, and it prompts you to ‘Retry as Admin’ (where you then…

Cybersecurity Alert: The New Phishing Scam Hitting OpenSea Users

TL;DR A new phishing scam is targeting OpenSea users through email. Exercise caution and stay vigilant. !TL;DR I recently encountered an email that surprisingly bypassed my spam filters.…

Sparkly Wheels are Turning in the Opposite Directions: A Handy Fix for a STEM Toy Enthusiast

⚠️ Disclaimer: This post isn’t sponsored—I’m just a fan of the product. I recently encountered a small hiccup (probably my own doing) with my Sparkly toy and wanted…

How to edit an existing automatic top-up in Revolut?

Setting up an automatic top-up is simple because it’s offered as an option when you, well, top-up. However, editing an existing one is actually not as straightforward as…

How to prevent js beautify in Visual Studio Code to expand JSON objects

In this quick tip I’ll show you how simple it is to prevent js-beautify in Visual Studio Code to expand JSON object. Of course, for those who use…

How to fully open any file after quick searching it in Visual Studio Code

In this quick tip, I’ll show you how to fully open any file after quick searching it in Visual Studio Code. When you do a quick search (⌘ +…

How to login to Docker hub from the command line

TL;DR you have to enter your Docker ID, and not your email address ? !Tl;DR In this quick tip, I’ll show you (and help me remember forever and…

How to hide the minimap in Visual Studio Code?

This is a quick tip on how to hide the minimap in Visual Studio Code. In case you’re wondering why someone would like to do this? The answer is…

How to Format Code on Every Save in Visual Studio Code?

This is a quick tip on how to format (prettify) the code every time you save a certain file in Visual Studio Code. First, go to: Code ->…

How to stop and remove MySQL server on a Mac but keep the client

Remove MySQL server on a Mac The other day I wanted to run some project via Docker Compose. Surprisingly, the MySQL service defined normally like this: mysql: image:…

Gitflow – a successful Git branching model

edit 14.4.2017: I made a 2.5k+ word post about Gitflow, Pull Requests and Code Reviews which goes way deeper in the topic. The post is here if you…

Your Apple Developer Program membership has expired

TL;DR: If your Apple Developer Program expires then your apps are taken off the App Store as well  So the other day I got an email from Apple…

M is not for minutes in PHP date function

Ah, it was one of those days when you’re too smart for your own good and you don’t check the docs and falsely assume that m must definitely be…

How to open current folder in Explorer from Command prompt on Windows

To open current folder in Explorer from Command prompt on Windows use the following command: explorer . The dot (.) represents the current directory. This is usually useful for…

How to open current folder in Finder from Terminal on Mac OS X

To open current folder in Finder from Terminal on Mac OS X use the following command: open . The dot (.) represents the current directory. This is usually…

How to add excerpts to your WordPress blog homepage in a TwentyThirteen theme and not break the Codeproject importer

As you may know, CodeProject has a thing called Technical blogs which lets you publish your post on their site too, and thus widening the range of potential…

How to add a subdomain for Nodejs application on DigitalOcean

When I was preparing this post I bought a domain just for testing purposes called nikola-dev.com and I wanted to have Node.js apps running on this VPS (behind a…

Using nginx as a reverse proxy in front of your Node.js application

This is a straight to point short tutorial on how to set up NGINX as a reverse proxy in front of a Node.js application, and although this is not…

How to market your app as an indie developer

A video worth watching if you’re wondering how you should market your App. Also, a cool link I just stumbled upon today is the one on GitHub: App launch…

Vimeo video playback speed increase

Lately I’ve been watching some videos from Vimeo and it really annoyed me that it doesn’t have a video playback speed  increase option (since, well, you can listen…

Share a web service on your local development machine with Localtunnel

I was testing Jenkins and as it doesn’t support localhost addresses I found Localtunnel, which, and I qote, allows you to easily share a web service on your local development…

Free Visual Studio Code

You’ve all heard the news – Microsoft made a free editor for developers called Visual Studio Code. You can download it from the official page here. The cool thing…

How to make a sticky post in WordPress

While editing your post in WordPress in the Publish area on the right, next to Visibility click on edit and then check the “Stick this post to the front…

Update field only if it’s new value

Recently I wanted to find out how to update field only if the updated value would be new (as in – different from the current one). After a…

Handling Ionic CORS issue

CORS = Cross origin resource sharing – a pain in the butt when trying to do an ajax request when developing locally. For local testing I ended up using…

Keep your Node.js scripts running with Forever and Nodemon

edit (18.06.2015): Nowdays I’m using PM2, and here’s my post that explains how to use PM2. Nodemon is a utility that will monitor for any changes in your source and…

How to find unread emails in Gmail

As you can see in the featured image, to find unread emails in Gmail, just search for is: unread and you will get all of your unread emails. You…

Grep GUI on a Windows machine with AstroGrep

I had to find some string inside one of the files, and I couldn’t remember in which file it was, classic 🙂 In linux, simple grep command would…

How to compare today’s date with the one you have in the MySQL timestamp field

Say you have a field called date in your MySQL table and its type is timestamp (example: ‘2014-08-23 08:37:57’), and you want to get all the records for today (so,…

How to delete node_modules folder on Windows machine?

Due to its folder nesting Windows can’t delete the folder as its name is too long. To solve this, install RimRaf: npm install rimraf -g and delete the…

Enable continuous scrolling by default in Adobe Reader

Whenever I opened some pdf file and scrolled with the mouse the scrolling was per one page. Sure, you can change this by going to View -> Page Display…

How to make a print screen on a Mac keyboard on the Windows machine

This has been haunting me for some time now – there’s just no Print Screen key on this keyboard which works on a Windows machine. If you take a…

Maximizing WPF Window to second monitor

So, if you have this in the code behind: if (System.Windows.Forms.Screen.AllScreens.Length >= Config.ScreenNumber) { System.Drawing.Rectangle screenBounds = System.Windows.Forms.Screen.AllScreens[Config.ScreenNumber – 1].Bounds; this.Left = screenBounds.Left; this.Top = screenBounds.Top; } And…

Installing CasperJS on RHEL Linux distribution

First you have to install NodeJS. You can do that via package manager for your distribution. In my case (RHEL) it is easily done with: sudo yum install nodejs…

Console 2 arrow keys not working

All of a sudden my arrow keys stopped working – up  and down keys scrolled the screen up and down, while left and right  had no effect. I found the solution here and basically all that you…

Customize Console 2 on Windows machine

If you’re using Console 2, and I don’t know why you wouldn’t want to btw, you probably wanted to customize it. Here is an excellent post by Scott…

Git push origin master could not read username for http://github.com

If you clone your project on another computer and try to do: git push origin master and you get and error like: fatal: could not read Username for…

How to use nodemon

Nodemon is a utility that will monitor for any changes in your source and automatically restart your server. Perfect for development. Install it using npm. npm install -g…

How to use JSHint in Sublime Text on Windows machine

Since this is in the “quick tips” category I won’t go into what Sublime Text is, or why using JSHint is recommended, and that for it’s installation you…