Sign in

Display custom HTML, CSS, and JS inside VS Code

Woman using laptop

It’s weird how there aren’t enough tutorials online about building a VS Code extension. I’m someone who always relies on a mix of Stack Overflow and YouTube tutorials, so it took me quite some time to figure out how to build a VS Code extension in order to save snippets.

“I’m going to learn to code.”

If you’re like me and love to make everybody sweat about their new year’s goals, this is something you hear a lot. And just like any other resolution, not many people give it another thought by the end of January.

It could be one…

The code snippet manager you’ve been waiting for

If you want to get straight to it, the best tool to save code snippets is

About two years ago when I was learning to code, I was spending way too much time searching for snippets on Google and a little too much time writing down those snippets that…

And block http requests if you don’t want to redirect them

I had figured out automatic SSL Redirects from HTTP to HTTPS for Heroku before. That was where all HTTP requests in the browser would redirect to HTTPS. But when I started experimenting with API’s, I found out that didn’t work.

And I didn’t even want all the HTTP requests to…

This is what an embedded snippet will look like:

Step 1: Save the code snippet

On or with the Save Code extension.

Step 2: Copy the URL of the snippet you want to embed.

You can get it from the address bar at the top of your browser.

Step 3: Paste the URL in your blog & press enter

After a few seconds, your snippet should auto-embed in the blog!

That’s all! :D

Note: This won’t work for private snippets.

Here’s a video as well:

Feedback and suggestions welcome!

Email us at with your suggestions on how this embedded snippet could be better.

A tutorial on how to keep user sessions saved when Heroku restarts the server so they don’t log out.

This is for Node.js, Express and express-session on Heroku.

I’m embarrassed to admit it took me over a year to realize that users were getting logged out daily. Nobody complained and I’m used to testing from different accounts so I never noticed.

Until I started work on a Chrome extension…

scss compile automatically node.js

When I first started to learn web development, I learnt the good old HTML, CSS and Javascript. And they were adequate. Good enough to help me build and launch some projects online.

But after a year of coding, I came across SASS and fell in love with it. It just…

As somebody who loves meeting people, going out and dressing up, I would never have chosen to work from home. Yet I couldn’t been happier.

It all started when I was a bored student at university. My degree was super easy and I had a lot of free time. I did a bunch of stuff on the side to stay busy, and one of those was earning some money from freelance writing.

When the time…

Three code snippets which I think are truly fascinating and have changed the world in recent history.

I don’t know about you, but back in school when we would study History it was the history of civilizations. From Alexander the Great to the rise and fall of the British Empire, I learned all there was about great leaders of the past and how each era impacted history.

I was one of mLab’s happy customers until one fine day I got an email announcing that they’d been acquired by the more established mongoDB. Good for them (and us) I thought, until I read further down that all customers would have to migrate within the next year.

Ugh, great…


Creator of \n Follow me @mishkaorakzai on Twitter. I write at

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store