RSS Amplifier

Blog

Debug & Release

Never stop learning! We talk about practical code, to help you on and off your job.

debugandrelease.comRSS feed ↗11 posts

Latest posts

How to get lines of code removed from a git repository

In many companies, there is an incentive to remove old code and refactor to use newer technologies or languages to make the solution smaller, easier to comprehend and maintain. If you are in a company that has goals to remove old code, it may be the case where you need

How to use AES-256-GCM encryption with MessagePack in Node

I've been working to solve a Sonarcube vulnerability in one of my projects to use a more secure encryption algorithm. In addition to adhering to current standards, I also wanted to make use of MessagePack in order that the data I was encrypting used as minimal space as

How to convert .docx files to .pdf with C#

It's a very common ask in a business settings to have .docx files that need to be converted into .pdf files. There might be .docx templates that need to be sent to customers, but you would prefer to send them a .pdf instead of a .docx file. Fortunately

How to create in-memory PDFs with iText and C#

You can create in-memory PDFs with C# using a few nuget libraries; itext7 , itext7.bouncy-castle-adapter and itext7.pdfhtml . Here's some code how you might accomplish that. Much thanks goes to mkl from StackOverflow who has a wealth of knowledge on this topic. Code using iText.

How to scan a PDF for text using C#

You can easily scan PDFs for specific text in C#, here's how you might do that. We'll follow by using NET Core as our framework, the only nuget package you'll need to install is itext7 . Code using iText.Kernel.Pdf; using iText.Kernel.Pdf.

How to load images in Electron applications

Loading images can be tricky to load in Electron apps. In development environments, we want a hot-reload server, something that will recompile our application if we make changes. In production environments, we would like all of our code to be bundled and distributable. Are we able to load images

How to use TailwindCSS with Electron

If you are already comfortable understanding what TailwindCSS is, feel free to skip this next section and jump straight into the implementation. 💡 It is recommended that you have previous experience with Electron, or have read/started from our other post in order to quickly jump into implementing TailwindCSS in

Creating an Electron application from scratch

Electron applications can contain a lot of features, so it makes the most sense if you are new (or need a refresher) to the framework and desire to build an application, the best way to do that is to build the application from scratch. I have found front-end development

The ultimate Electron guide

👍 This post has been updated in July 2022 to include a companion blog post (at the bottom of this post) walking users how to create an Electron application from scratch which nicely complements the information contained within this blog post. You have just taken the next step to invest

How I gained 1k stars on my Github project

Today I'd like to share with you my secrets how I gained 1,000 stars on my Github project, secure-electron-template . I wanted to scratch an itch My first commit was on March 4, 2019. I had the idea that I wanted to start a business, and

How to automatically keep git repositories up to date

In this blog post, we will walk through and build a solution step-by-step that automatically keeps your git repositories up to date. This solution we will be creating will work on all platforms. Whether you are at work or off the clock, it's likely that you