<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Home</title><description>Some of my code snippets and stuff.</description><link>https://banjocode.com/</link><item><title>The Guide to Hashing I Wish I Had When I Started</title><link>https://banjocode.com/post/cs/hashing/</link><guid isPermaLink="true">https://banjocode.com/post/cs/hashing/</guid><description>Learn the basics of hashing in this beginner-friendly guide. Discover what hashing is, how it works, its key principles, common algorithms, and practical examples in Node.js for password storage and file integrity. </description><pubDate>Sun, 18 May 2025 00:00:00 GMT</pubDate></item><item><title>Unpacking Node.js Memory - From Raw Bytes to Usable Data</title><link>https://banjocode.com/post/node/memory-management/</link><guid isPermaLink="true">https://banjocode.com/post/node/memory-management/</guid><description>Explore how Node.js handles binary data under the hood with a simple guide to ArrayBuffer, TypedArray, and Buffer. Learn how these core concepts work together for efficient file and memory management in Node.</description><pubDate>Fri, 09 May 2025 00:00:00 GMT</pubDate></item><item><title>How to Debug Node with TypeScript in Neovim</title><link>https://banjocode.com/post/nvim/debug-node/</link><guid isPermaLink="true">https://banjocode.com/post/nvim/debug-node/</guid><description>Debugging Node.js with TypeScript in Neovim can be a bit tricky, a lot of custom setup might be needed to get the basic functionality. This is a guide that will try to cover some of the most important parts. I&apos;ll also share some ways I work with it.</description><pubDate>Tue, 01 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Nesting Rounded Corners in CSS</title><link>https://banjocode.com/post/css/nesting-rounded-corners/</link><guid isPermaLink="true">https://banjocode.com/post/css/nesting-rounded-corners/</guid><description>Consistency in rounded corners is something I came upon every now and again. It would really bother me until I found this very neat trick to solve it.</description><pubDate>Tue, 25 Oct 2022 00:00:00 GMT</pubDate></item><item><title>Intercepting a Fetch Request</title><link>https://banjocode.com/post/javascript/intercept-fetch-request/</link><guid isPermaLink="true">https://banjocode.com/post/javascript/intercept-fetch-request/</guid><description>A stumbled upon a nice script that helped a lot of people to book a train in Sweden, and got interested in how it works. This is just a quick summary of that.</description><pubDate>Tue, 25 Oct 2022 00:00:00 GMT</pubDate></item><item><title>Convert a SVG File to PNG and Serve It in Express</title><link>https://banjocode.com/post/node/return-png-express/</link><guid isPermaLink="true">https://banjocode.com/post/node/return-png-express/</guid><description>I tend to use SVG:s a lot, however, sometimes I feel like it simpler to render them as PNG:s for some special workflows. This a neat trick to do that in your own API.</description><pubDate>Mon, 10 Oct 2022 00:00:00 GMT</pubDate></item><item><title>My Custom Svelte Boop Component</title><link>https://banjocode.com/post/svelte/my-custom-svelte-boop-component/</link><guid isPermaLink="true">https://banjocode.com/post/svelte/my-custom-svelte-boop-component/</guid><description>Creating a Boop component might be a bit tricky with the spring effect. This is my component I tend to re-use whenever I want to use it in a project.</description><pubDate>Fri, 23 Sep 2022 00:00:00 GMT</pubDate></item><item><title>Create A Resposive Grid with CSS Flexbox</title><link>https://banjocode.com/post/css/responsive-grid-with-css-flexbox/</link><guid isPermaLink="true">https://banjocode.com/post/css/responsive-grid-with-css-flexbox/</guid><description>Even though CSS Grid is more or less designed to create grids with, flexbox can actually be used to create some responsible grids without much effort.</description><pubDate>Sat, 17 Sep 2022 00:00:00 GMT</pubDate></item><item><title>Align Text On The Same Vertical Line Using Flow Layout</title><link>https://banjocode.com/post/css/flow-layout-with-text-aligned/</link><guid isPermaLink="true">https://banjocode.com/post/css/flow-layout-with-text-aligned/</guid><description>When there is a lot of text on a page, it&apos;s generally looks much better if every paragraph and heading starts at the exact same vertical line. This is a short guide how to do that and still keep the page responsive</description><pubDate>Sun, 04 Sep 2022 00:00:00 GMT</pubDate></item><item><title>How To Use Custom (Local) Fonts with Tailwind CSS</title><link>https://banjocode.com/post/tailwind/custom-local-fonts/</link><guid isPermaLink="true">https://banjocode.com/post/tailwind/custom-local-fonts/</guid><description>Using custom fonts locally is quite normal in web development. The tailwind documentation does not quite cover that part though. This is a simple guide on how to do that.</description><pubDate>Mon, 08 Aug 2022 00:00:00 GMT</pubDate></item><item><title>Remove Images That Are Not Found Using HTML</title><link>https://banjocode.com/post/html/remove-broken-image/</link><guid isPermaLink="true">https://banjocode.com/post/html/remove-broken-image/</guid><description>Sometimes you might want to fetch a photo dynamically, if that fails you most likely would want to remove it or replace it with another picture. This is how.</description><pubDate>Mon, 11 Jul 2022 00:00:00 GMT</pubDate></item><item><title>A Persistent Svelte Store With Localstorage</title><link>https://banjocode.com/post/svelte/store-with-localstorage/</link><guid isPermaLink="true">https://banjocode.com/post/svelte/store-with-localstorage/</guid><description>Storing data in localstorage is very common in most web applications, this is a neat trick to do that with a Svelte Store</description><pubDate>Fri, 08 Jul 2022 00:00:00 GMT</pubDate></item><item><title>How To Add A Client Side Only Library To SvelteKit</title><link>https://banjocode.com/post/svelte/client-side-library/</link><guid isPermaLink="true">https://banjocode.com/post/svelte/client-side-library/</guid><description>Due to the nature of SvelteKit, it might sometimes be a complicated to run (or import) a client only library, this is a quick fix for that.</description><pubDate>Tue, 28 Jun 2022 09:06:26 GMT</pubDate></item><item><title>How To Run Prettier On Changed Files Only</title><link>https://banjocode.com/post/git/prettier-on-changed-files/</link><guid isPermaLink="true">https://banjocode.com/post/git/prettier-on-changed-files/</guid><description>Run prettier to format files that are changed in Git.</description><pubDate>Wed, 22 Jun 2022 11:05:14 GMT</pubDate></item><item><title>Iterate Over An Array With The Modulo Operator</title><link>https://banjocode.com/post/javascript/iterate-array-with-modulo/</link><guid isPermaLink="true">https://banjocode.com/post/javascript/iterate-array-with-modulo/</guid><description>The modulo operator is often used to calculate if a value is odd or even, however, it comes to great use when you want to iterate (and re-iterate) an array without having to deal with to much logic.</description><pubDate>Sat, 18 Jun 2022 15:48:00 GMT</pubDate></item><item><title>How To Get the Inferred TypeScript Types From VS Code</title><link>https://banjocode.com/post/tools/inferred-vs-code-type/</link><guid isPermaLink="true">https://banjocode.com/post/tools/inferred-vs-code-type/</guid><description>VS Code automatically infers your TypeScript types in a project, even if you haven&apos;t implicitly declared it yourself. However, if it is long it will hide some parts of it. This is how you get the full type.</description><pubDate>Thu, 16 Jun 2022 07:23:12 GMT</pubDate></item><item><title>Change From HTTPS to SSH in a Git Repo</title><link>https://banjocode.com/post/git/from-https-to-ssh/</link><guid isPermaLink="true">https://banjocode.com/post/git/from-https-to-ssh/</guid><description>The default way of cloning and maintaining Git repos for some might be using HTTPS. In case you want to switch to SSH, this is a very short guide on how to do that.</description><pubDate>Fri, 18 Feb 2022 14:09:54 GMT</pubDate></item><item><title>How To Backup a Remote PostgreSQL Database and Run It Locally With Docker</title><link>https://banjocode.com/post/postgresql/backup-locally/</link><guid isPermaLink="true">https://banjocode.com/post/postgresql/backup-locally/</guid><description>You probably access remote databases all the time, however, if you want to work offline it could be cumbersome not to have access to your database. This is a simple method to back it up and run it locally using Docker.</description><pubDate>Fri, 18 Feb 2022 07:17:28 GMT</pubDate></item><item><title>Get Started With Awk in Bash</title><link>https://banjocode.com/post/bash/get-started-with-awk/</link><guid isPermaLink="true">https://banjocode.com/post/bash/get-started-with-awk/</guid><description>Awk can be very useful when working with text files in Bash. This is a short cheat sheet on some of the commands you&apos;ll most often use.</description><pubDate>Thu, 15 Jul 2021 18:51:13 GMT</pubDate></item><item><title>Bash Essentials To Create Useful Automation Scripts</title><link>https://banjocode.com/post/bash/bash-essentials/</link><guid isPermaLink="true">https://banjocode.com/post/bash/bash-essentials/</guid><description>Bash syntax is quite complex and can be hard to grasp. This is a guide, or cheat sheet, to give you all the bash functionalities that you need to write useful automation scripts.</description><pubDate>Wed, 14 Apr 2021 04:51:57 GMT</pubDate></item><item><title>Setup a Remote Development Environment with Linux and VS Code</title><link>https://banjocode.com/post/tools/remote-development-linux-vscode/</link><guid isPermaLink="true">https://banjocode.com/post/tools/remote-development-linux-vscode/</guid><description>Setting up a development environment can be quite tedious. Especially if you want to use it remotely. This is a quick get started guide so you can access your workspace from anywhere, using Ubuntu, VS Code, and SSH.</description><pubDate>Fri, 09 Apr 2021 13:01:51 GMT</pubDate></item><item><title>How To Setup a Linux (Ubuntu) Server On Hetzner</title><link>https://banjocode.com/post/hosting/setup-server-hetzner/</link><guid isPermaLink="true">https://banjocode.com/post/hosting/setup-server-hetzner/</guid><description>A remote linux server could be very useful. Hetzner provides cheap and reliable servers that are easy to maintain. This is a short guide on how to setup one easily.</description><pubDate>Fri, 09 Apr 2021 10:13:46 GMT</pubDate></item><item><title>Replace Text or a String in Bash</title><link>https://banjocode.com/post/bash/replace-text-bash/</link><guid isPermaLink="true">https://banjocode.com/post/bash/replace-text-bash/</guid><description>Sometimes you might need to replace some text in a string - the bash allows you to do so easily. This is a short summary on how you can do that.</description><pubDate>Wed, 31 Mar 2021 09:15:36 GMT</pubDate></item><item><title>How To Allow Remote Access To Your Localhost Apps With Ngrok</title><link>https://banjocode.com/post/tools/remote-access-localhost-ngrok/</link><guid isPermaLink="true">https://banjocode.com/post/tools/remote-access-localhost-ngrok/</guid><description>Hosting your page on localhost is simple, ngrok allows you to share that connection with people outside your computer for free.</description><pubDate>Tue, 30 Mar 2021 08:08:55 GMT</pubDate></item><item><title>Full Width Container in Limited Width Parent</title><link>https://banjocode.com/post/css/full-width-container-limited-parent/</link><guid isPermaLink="true">https://banjocode.com/post/css/full-width-container-limited-parent/</guid><description>A simple hack to allow the children of an limited HTML element to be full width.</description><pubDate>Mon, 29 Mar 2021 11:42:52 GMT</pubDate></item><item><title>Find Files in Directories in Bash</title><link>https://banjocode.com/post/bash/find-files-in-directories/</link><guid isPermaLink="true">https://banjocode.com/post/bash/find-files-in-directories/</guid><description>Bash provides some great feature for you to find the files you are looking for, this is a simple way to do that.</description><pubDate>Mon, 29 Mar 2021 07:56:39 GMT</pubDate></item><item><title>Clean Your Git History With Git Fixup</title><link>https://banjocode.com/post/git/git-fixup/</link><guid isPermaLink="true">https://banjocode.com/post/git/git-fixup/</guid><description>The easiest way to clean up your git history by using fixup and autosquash.</description><pubDate>Tue, 23 Mar 2021 14:57:44 GMT</pubDate></item><item><title>Fetch Multiple Urls at The Same Time</title><link>https://banjocode.com/post/javascript/fetch-multiple-urls-same-time/</link><guid isPermaLink="true">https://banjocode.com/post/javascript/fetch-multiple-urls-same-time/</guid><description>Fetch multiple URLs at the same time using Promises.all</description><pubDate>Wed, 20 Jan 2021 10:34:46 GMT</pubDate></item><item><title>Save Output to a Variable in a Bash Script</title><link>https://banjocode.com/post/bash/save-output-variable-bash/</link><guid isPermaLink="true">https://banjocode.com/post/bash/save-output-variable-bash/</guid><description>Save the output of a command in a Bash script to use it later.</description><pubDate>Mon, 07 Sep 2020 14:00:34 GMT</pubDate></item><item><title>See if a Package Exists in a Bash Script</title><link>https://banjocode.com/post/bash/package-exists-bash/</link><guid isPermaLink="true">https://banjocode.com/post/bash/package-exists-bash/</guid><description>How you can see if a package or commando exists in a Bash script.</description><pubDate>Mon, 07 Sep 2020 13:53:55 GMT</pubDate></item><item><title>See if You Run a Bash Script in WSL</title><link>https://banjocode.com/post/wsl/see-if-wsl-bash/</link><guid isPermaLink="true">https://banjocode.com/post/wsl/see-if-wsl-bash/</guid><description>This is how you see if you are using WSL within a Bash script.</description><pubDate>Mon, 07 Sep 2020 13:48:16 GMT</pubDate></item><item><title>Loop Through Arrays in Bash</title><link>https://banjocode.com/post/bash/loop-array-bash/</link><guid isPermaLink="true">https://banjocode.com/post/bash/loop-array-bash/</guid><description>How to loop through arrays in Bash</description><pubDate>Mon, 07 Sep 2020 13:43:28 GMT</pubDate></item><item><title>How to Override Local Files with Git Pull</title><link>https://banjocode.com/post/git/pull-overwrite-local/</link><guid isPermaLink="true">https://banjocode.com/post/git/pull-overwrite-local/</guid><description>Override your local project with the latest changes from your git repository</description><pubDate>Fri, 04 Sep 2020 06:10:27 GMT</pubDate></item><item><title>Adding Short (and Long) Flags to Bash Scripts</title><link>https://banjocode.com/post/bash/flags-bash/</link><guid isPermaLink="true">https://banjocode.com/post/bash/flags-bash/</guid><description>Adding flags to your bash script will probably simplify your developing experience. This is a short guide on how you can add both long and short flags without using getopts.</description><pubDate>Thu, 03 Sep 2020 12:10:58 GMT</pubDate></item><item><title>Run NPM (Or Any Other) Scripts Before Build With ASP.NET</title><link>https://banjocode.com/post/aspnet/run-scripts/</link><guid isPermaLink="true">https://banjocode.com/post/aspnet/run-scripts/</guid><description>Run any script you want (in this case NPM) before a build in ASP.NET Core.</description><pubDate>Mon, 27 Apr 2020 05:49:59 GMT</pubDate></item><item><title>How To Install Docker On WSL</title><link>https://banjocode.com/post/wsl/install-docker-on-wsl/</link><guid isPermaLink="true">https://banjocode.com/post/wsl/install-docker-on-wsl/</guid><description>This is the quickest way to install Docker on WSL and sync it with your Docker containers.</description><pubDate>Tue, 21 Apr 2020 05:18:30 GMT</pubDate></item><item><title>How To Install Brew on WSL</title><link>https://banjocode.com/post/wsl/install-brew-on-wsl/</link><guid isPermaLink="true">https://banjocode.com/post/wsl/install-brew-on-wsl/</guid><description>The easiest way to install Brew on WSL, in this case Ubuntu.</description><pubDate>Mon, 20 Apr 2020 05:58:42 GMT</pubDate></item><item><title>Get The CSS Value Of A Property In Java Script</title><link>https://banjocode.com/post/javascript/get-css-property/</link><guid isPermaLink="true">https://banjocode.com/post/javascript/get-css-property/</guid><description>Fetch your CSS values within your JavaScript code</description><pubDate>Thu, 16 Apr 2020 05:27:12 GMT</pubDate></item><item><title>Calculate How Many Days There Are Between Two Dates in JavaScript</title><link>https://banjocode.com/post/javascript/days-between-dates/</link><guid isPermaLink="true">https://banjocode.com/post/javascript/days-between-dates/</guid><description>How to calculate the amount of days between two dates in JavaScript.</description><pubDate>Wed, 15 Apr 2020 05:17:09 GMT</pubDate></item><item><title>Check If Two Dates Are The Same Day In JavaScript</title><link>https://banjocode.com/post/javascript/check-same-date/</link><guid isPermaLink="true">https://banjocode.com/post/javascript/check-same-date/</guid><description>A simple function to check if two date objects are referring to the same day.</description><pubDate>Tue, 14 Apr 2020 05:49:31 GMT</pubDate></item><item><title>Remove Duplicates in a JavaScript Array</title><link>https://banjocode.com/post/javascript/array-remove-duplicates/</link><guid isPermaLink="true">https://banjocode.com/post/javascript/array-remove-duplicates/</guid><description>A simple and clean method to remove all duplicates in a given array.</description><pubDate>Wed, 08 Apr 2020 05:17:03 GMT</pubDate></item><item><title>Clear All Node Modules Folders Recursively</title><link>https://banjocode.com/post/javascript/clear-node-modules/</link><guid isPermaLink="true">https://banjocode.com/post/javascript/clear-node-modules/</guid><description>Remove all node_modules folders within a directory with one simple command.</description><pubDate>Mon, 06 Apr 2020 05:55:17 GMT</pubDate></item><item><title>Backup Linux Data With Rsync Over SSH</title><link>https://banjocode.com/post/linux/rsync-backup/</link><guid isPermaLink="true">https://banjocode.com/post/linux/rsync-backup/</guid><description>How you can backup your data with Rsync in a Linux environment.</description><pubDate>Fri, 03 Apr 2020 06:04:31 GMT</pubDate></item><item><title>Using Here Docs (&lt;&lt;) in Linux</title><link>https://banjocode.com/post/linux/here-docs/</link><guid isPermaLink="true">https://banjocode.com/post/linux/here-docs/</guid><pubDate>Thu, 02 Apr 2020 05:57:16 GMT</pubDate></item><item><title>How To Kill Processes in Linux</title><link>https://banjocode.com/post/linux/kill-applications/</link><guid isPermaLink="true">https://banjocode.com/post/linux/kill-applications/</guid><description>Kill processes in Linux to keep down memory and CPU usage.</description><pubDate>Wed, 01 Apr 2020 05:41:02 GMT</pubDate></item><item><title>How To Use Screen On Linux</title><link>https://banjocode.com/post/linux/screen/</link><guid isPermaLink="true">https://banjocode.com/post/linux/screen/</guid><description>The basics of Screen on Linux, a cheat sheet.</description><pubDate>Tue, 31 Mar 2020 05:46:35 GMT</pubDate></item><item><title>How To Copy An SSH Key To Another Linux Machine</title><link>https://banjocode.com/post/linux/copy-ssh/</link><guid isPermaLink="true">https://banjocode.com/post/linux/copy-ssh/</guid><description>Copy your public SSH key to a remote machine for easier access</description><pubDate>Mon, 30 Mar 2020 05:51:22 GMT</pubDate></item><item><title>How To Run A Bash Script on A Remote Machine Using SSH</title><link>https://banjocode.com/post/linux/remote-script/</link><guid isPermaLink="true">https://banjocode.com/post/linux/remote-script/</guid><description>Execute a shell script on a remote machine using SSH on bash.</description><pubDate>Mon, 30 Mar 2020 05:28:54 GMT</pubDate></item><item><title>Serving Different CSS Files in ASP.NET Core with Angular</title><link>https://banjocode.com/post/aspnet/different-css-spa/</link><guid isPermaLink="true">https://banjocode.com/post/aspnet/different-css-spa/</guid><description>Serve different CSS files based on a header parameter on an Angular application with an ASP.NET Core backend.</description><pubDate>Thu, 26 Mar 2020 06:21:24 GMT</pubDate></item><item><title>How To Setup NgRx in an Angular Application</title><link>https://banjocode.com/post/angular/ngrx-guide/</link><guid isPermaLink="true">https://banjocode.com/post/angular/ngrx-guide/</guid><description>Setup state management with NgRx in your Angular application.</description><pubDate>Wed, 25 Mar 2020 06:04:18 GMT</pubDate></item><item><title>Execute Commands in a Docker Container</title><link>https://banjocode.com/post/docker/command-in-container/</link><guid isPermaLink="true">https://banjocode.com/post/docker/command-in-container/</guid><description>Execute a command within your docker container.</description><pubDate>Tue, 24 Mar 2020 07:04:37 GMT</pubDate></item><item><title>How To Create a Multi-Step Form in Angular</title><link>https://banjocode.com/post/angular/multi-step-form/</link><guid isPermaLink="true">https://banjocode.com/post/angular/multi-step-form/</guid><description>Create a form in Angular with multiple steps and validation for each step.</description><pubDate>Mon, 23 Mar 2020 06:17:37 GMT</pubDate></item><item><title>Using a Sidebar And a Topbar In The Same Web App Using CSS</title><link>https://banjocode.com/post/css/sidebar-and-topbar/</link><guid isPermaLink="true">https://banjocode.com/post/css/sidebar-and-topbar/</guid><description>Create an application that uses both a top bar and a sidebar for navigation using CSS and Bootstrap.</description><pubDate>Fri, 20 Mar 2020 06:13:09 GMT</pubDate></item><item><title>Hosting a MySQL/MariaDB Server On a VPS With Remote Access</title><link>https://banjocode.com/post/hosting/sql-on-ubuntu/</link><guid isPermaLink="true">https://banjocode.com/post/hosting/sql-on-ubuntu/</guid><description>Setup a MySQL/MariaDB server easily on Ubuntu VPS with remote access to use in your projects.</description><pubDate>Thu, 19 Mar 2020 07:27:33 GMT</pubDate></item><item><title>Reactive Forms in Angular</title><link>https://banjocode.com/post/angular/reactive-forms/</link><guid isPermaLink="true">https://banjocode.com/post/angular/reactive-forms/</guid><description>How to build forms and manage validation easy in Angular</description><pubDate>Wed, 18 Mar 2020 06:56:48 GMT</pubDate></item><item><title>Responsive Sidebar Using CSS</title><link>https://banjocode.com/post/css/responsive-sidebar/</link><guid isPermaLink="true">https://banjocode.com/post/css/responsive-sidebar/</guid><description>Create a sidebar (navbar) with navigation, that on smaller screens, will turn to a bottom bar with icons using only CSS and HTML.</description><pubDate>Tue, 17 Mar 2020 07:07:05 GMT</pubDate></item><item><title>Setup Debugging in VS Code with ASP.NET Core and Angular</title><link>https://banjocode.com/post/tools/vscode-debugging-asp-net/</link><guid isPermaLink="true">https://banjocode.com/post/tools/vscode-debugging-asp-net/</guid><description>When working with ASP.NET Core and Angular, debugging is much easier in, for example, Visual Studio. This is a short guide on how to make debugging work in VS Code.</description><pubDate>Mon, 16 Mar 2020 07:06:45 GMT</pubDate></item><item><title>Component Communication in Angular with @Input and @Output</title><link>https://banjocode.com/post/angular/communication-input-output/</link><guid isPermaLink="true">https://banjocode.com/post/angular/communication-input-output/</guid><description>There are a few methods to share data between child and parent components in Angular. This is how using the @Input and @Output method.</description><pubDate>Fri, 13 Mar 2020 07:09:36 GMT</pubDate></item><item><title>Save a Modified Docker Container As An Image Using Commit</title><link>https://banjocode.com/post/docker/commit-container/</link><guid isPermaLink="true">https://banjocode.com/post/docker/commit-container/</guid><description>It&apos;s easy to find a good Docker container online. Sometimes, it does require some minor changes to make it perfect. This is how you can modify a Docker container, and then save it as a new Docker image using commit</description><pubDate>Fri, 13 Mar 2020 06:45:34 GMT</pubDate></item><item><title>How To Create a Docker Image, Build and Push It To Docker Hub</title><link>https://banjocode.com/post/docker/create-docker-image/</link><guid isPermaLink="true">https://banjocode.com/post/docker/create-docker-image/</guid><description>This is a simple explanation of the Docker workflow. From creating the first Dockerfile to pushing it to Docker.</description><pubDate>Thu, 12 Mar 2020 07:04:47 GMT</pubDate></item><item><title>How To Stop and Remove All Docker Containers</title><link>https://banjocode.com/post/docker/remove-all-docker-containers/</link><guid isPermaLink="true">https://banjocode.com/post/docker/remove-all-docker-containers/</guid><description>Sometimes you start a lot of containers and the same time, this is a simple way to stop and delete them all.</description><pubDate>Thu, 12 Mar 2020 06:53:23 GMT</pubDate></item><item><title>How To Delete a Git Branch - Locally and Remotely</title><link>https://banjocode.com/post/git/delete-branch/</link><guid isPermaLink="true">https://banjocode.com/post/git/delete-branch/</guid><description>Branching is great, it does, however, look much better if you remember to remove your old branches so they don&apos;t take up unnecessary space. This is how.</description><pubDate>Wed, 11 Mar 2020 14:13:01 GMT</pubDate></item><item><title>How To Rename Multiple Keys In A JavaScript Object</title><link>https://banjocode.com/post/javascript/rename-keys/</link><guid isPermaLink="true">https://banjocode.com/post/javascript/rename-keys/</guid><description>Renaming the keys in a JavaScript (or JSON) object can be quite tricky, this is a simple trick to rename all the keys you want.</description><pubDate>Tue, 10 Mar 2020 06:41:52 GMT</pubDate></item><item><title>How To Delete Your Last Commit</title><link>https://banjocode.com/post/git/delete-commit/</link><guid isPermaLink="true">https://banjocode.com/post/git/delete-commit/</guid><description>Sometimes things just go wrong, and thankfully we have Git to save some time. This is a short guide on some ways you can delete (or remove) or last commit</description><pubDate>Tue, 10 Mar 2020 06:30:45 GMT</pubDate></item><item><title>Using Async/Await Within an Angular Interceptor</title><link>https://banjocode.com/post/angular/interceptor-async-await/</link><guid isPermaLink="true">https://banjocode.com/post/angular/interceptor-async-await/</guid><description>Async/Await is great, it makes the code much more readable and clean. It is, however, quite tricky to use it within an Angular interceptor. This is how you do it.</description><pubDate>Mon, 09 Mar 2020 12:41:39 GMT</pubDate></item><item><title>Angular Interceptors - Requests And Responses</title><link>https://banjocode.com/post/angular/interceptor-requests/</link><guid isPermaLink="true">https://banjocode.com/post/angular/interceptor-requests/</guid><description>Angular interceptors are great when it comes to handling outgoing HTTP requests and incoming HTTP responses, this is a short guide on how to separate the two, and how to handle each type</description><pubDate>Mon, 09 Mar 2020 12:21:41 GMT</pubDate></item><item><title>Add Meta Description To Your Hugo Posts For SEO</title><link>https://banjocode.com/post/hugo/meta-description/</link><guid isPermaLink="true">https://banjocode.com/post/hugo/meta-description/</guid><description>SEO is important if you want people to find your articles on Google. This is a simple way to make sure you have a custom meta description for each article you publish.</description><pubDate>Mon, 09 Mar 2020 07:10:43 GMT</pubDate></item><item><title>How To Center With CSS</title><link>https://banjocode.com/post/css/center-css/</link><guid isPermaLink="true">https://banjocode.com/post/css/center-css/</guid><description>Centering with CSS is actually more difficult than one might think. Here are some different ways to center your elements within a container with CSS and HTML</description><pubDate>Mon, 09 Mar 2020 06:41:54 GMT</pubDate></item><item><title>Add Custom CSS Or JavaScript To Your Hugo Site</title><link>https://banjocode.com/post/hugo/custom-css/</link><guid isPermaLink="true">https://banjocode.com/post/hugo/custom-css/</guid><description>Hugo themes are great - some do, however, not include custom CSS and JS from start. This is a simple guide on how to add it to your own Hugo site.</description><pubDate>Sun, 08 Mar 2020 21:34:15 GMT</pubDate></item><item><title>Auto Fill With CSS Grid To Adjust For Mobile</title><link>https://banjocode.com/post/css/auto-fill/</link><guid isPermaLink="true">https://banjocode.com/post/css/auto-fill/</guid><description>CSS Grid is a great tool for styling your web pages. This neat trick will let you adjust your grids with a minimum size so it will look better on phones.</description><pubDate>Sun, 08 Mar 2020 15:34:30 GMT</pubDate></item><item><title>How To Use Conditional Classes in Angular</title><link>https://banjocode.com/post/angular/conditional-classes/</link><guid isPermaLink="true">https://banjocode.com/post/angular/conditional-classes/</guid><description>Conditional classes are great. Use one CSS class if one condition is fulfilled, or another class if not. This is a quick guide on how to do that in Angular.</description><pubDate>Fri, 06 Mar 2020 09:26:51 GMT</pubDate></item><item><title>Deploy Any SPA + Express App to Heroku For Free</title><link>https://banjocode.com/post/hosting/deploy-spa-express-heroku/</link><guid isPermaLink="true">https://banjocode.com/post/hosting/deploy-spa-express-heroku/</guid><description>When you have created a full-stack web application (with React, Vue or Angular) and Express, it is quite difficult to host it for free. This guide will help you do that on Heroku</description><pubDate>Fri, 06 Mar 2020 07:48:49 GMT</pubDate></item><item><title>Print On The Same Line With Python</title><link>https://banjocode.com/post/python/print-same-line/</link><guid isPermaLink="true">https://banjocode.com/post/python/print-same-line/</guid><description>Printing on the same line with Python is useful if you, for example, want to use a progress bar or download status in a CLI program. This is a simple way to do that.</description><pubDate>Fri, 06 Mar 2020 07:07:38 GMT</pubDate></item><item><title>How To Get Query Parameters in Angular</title><link>https://banjocode.com/post/angular/query-parameters/</link><guid isPermaLink="true">https://banjocode.com/post/angular/query-parameters/</guid><description>Query parameters in Angular allows for passing data across routes in your web application. They are often also mixed with the path variables - here I&apos;ll show the difference and how to get both of them.</description><pubDate>Wed, 04 Mar 2020 10:30:38 GMT</pubDate></item><item><title>How To Use Git Stash</title><link>https://banjocode.com/post/git/git-stash/</link><guid isPermaLink="true">https://banjocode.com/post/git/git-stash/</guid><description>Git stash temporarily saves your changes and stashes them. You usually do it if you quickly need to work on something else without committing your current code.</description><pubDate>Wed, 04 Mar 2020 09:28:26 GMT</pubDate></item><item><title>Web Scraping Behind Authentication with Python</title><link>https://banjocode.com/post/python/scrape-authenticated/</link><guid isPermaLink="true">https://banjocode.com/post/python/scrape-authenticated/</guid><description>Python is a great tool for web scraping, however, getting behind authentication (being signed in) might be a bit difficult. This is a guide on how to do that with the Requests library</description><pubDate>Tue, 03 Mar 2020 14:40:22 GMT</pubDate></item><item><title>Web Scraping with Python</title><link>https://banjocode.com/post/python/web-scraping/</link><guid isPermaLink="true">https://banjocode.com/post/python/web-scraping/</guid><description>Python makes it simple to grab data from the web. This is a guide (or maybe cheat sheet) on how you can scrape the web easily with Requests and Beautiful Soup 4.</description><pubDate>Mon, 02 Mar 2020 07:50:37 GMT</pubDate></item><item><title>Using Virtual Environments with Python</title><link>https://banjocode.com/post/python/virtual-environments/</link><guid isPermaLink="true">https://banjocode.com/post/python/virtual-environments/</guid><description>Working with Virtual Environments is very handy. It allows you to create a self-contained directory that contains a Python installation for a particular version of Python. Install all your dependencies in an environment that you can easily modify or remove. </description><pubDate>Mon, 02 Mar 2020 07:37:24 GMT</pubDate></item><item><title>How To Commit with Git</title><link>https://banjocode.com/post/git/git-commit/</link><guid isPermaLink="true">https://banjocode.com/post/git/git-commit/</guid><description>To commit your work is probably the thing you do the most with git. It&apos;s basically to save a snapshot of your current project, making it possible to go back to that specific snapshot of your code.</description><pubDate>Mon, 02 Mar 2020 07:26:32 GMT</pubDate></item><item><title>Working With Hugo Themes and Git Submodules</title><link>https://banjocode.com/post/hugo/hugo-theme-submodules/</link><guid isPermaLink="true">https://banjocode.com/post/hugo/hugo-theme-submodules/</guid><description>Working with Hugo themes you probably use git submodules. These are basically subrepositories within your repository. They can be used for several different reasons, but the main one is probably so you can download updates.</description><pubDate>Sat, 29 Feb 2020 17:22:59 GMT</pubDate></item><item><title>How To Use Git Branches with Git Merge</title><link>https://banjocode.com/post/git/git-branches/</link><guid isPermaLink="true">https://banjocode.com/post/git/git-branches/</guid><description>Branching with git is a great feature, this is a simple workflow for how to branch and merge different branches.</description><pubDate>Fri, 28 Feb 2020 14:50:50 GMT</pubDate></item><item><title>How To Use Git Rebase</title><link>https://banjocode.com/post/git/git-rebase/</link><guid isPermaLink="true">https://banjocode.com/post/git/git-rebase/</guid><description>Keep a clean history with rebase, instead of cluttering your teams commit history. This is the simplest way how to use git rebase.</description><pubDate>Fri, 28 Feb 2020 14:41:48 GMT</pubDate></item><item><title>How To Git Squash Earlier Commits</title><link>https://banjocode.com/post/git/git-squash-earlier/</link><guid isPermaLink="true">https://banjocode.com/post/git/git-squash-earlier/</guid><description>Sometimes you want to squash, or combine, earlier commits back in your history. This is one way you can do that.</description><pubDate>Fri, 28 Feb 2020 14:12:28 GMT</pubDate></item><item><title>How To Use Git Squash</title><link>https://banjocode.com/post/git/git-squash/</link><guid isPermaLink="true">https://banjocode.com/post/git/git-squash/</guid><description>Git squash can be used to combine several commits into one. This is the easy way to do it.</description><pubDate>Thu, 27 Feb 2020 00:00:00 GMT</pubDate></item></channel></rss>