Beards, Bytes and Brews

bytes of thought by Daniel Tucker

NestJS: VSCode debugger setup

March 24, 2020 Code
Debugging is inevitable for all developers and when you get the point that your code is not doing what you would expect VSCode is definitely built for TypeScript and thus perfect for NestJS. Get started by ensuring you have VSCode installed and open your project in VSCode. For the purpose of this article install the Nest TypeScript starter scaffolding. $ npm i -g @nestjs/cli $ nest new my-app Create a launch. Continue reading

NestJS: Getting started

March 19, 2020 Code
What is Nest? This is the next post in a series of articles as I explore NodeJS. If you need to go back one and get Node setup and running check this one out: NodeJS: Getting started. First, what is Nest? It is essentially a Node.js framework for building efficient server side applications. The really cool part about it is it uses TypeScript. Nest also incorporates elements of Object Oriented Programming, Functional Programming, and Functional Reactive Programming. Continue reading

NodeJS: Getting started

March 17, 2020 Code
Installing NodeJS First things first; download Node. You have a few options to install and all options are outlined on Node’s download page. I would recommend the LTS version unless you feel that you need close to latest as possible. Installation is generally really easy and in most case a point and click away. You do have options for installation through package managers but keep in mind those don’t always deliver the latest and greatest. Continue reading

Functional Programming with JavaScript

March 10, 2020 Code
Hello! This is the first post in a series focused on NodeJS. Node is a asynchronous event-driven JavaScript runtime for building scalable network applications. Just like JavaScript, NodeJS is not actually a functional programming language but is a good place to use functional programming if you so please. So what is functional programming? Functional programming is a programming pattern. Generally it can be used in many different language but some are specifically geared toward it such as Haskell and Lisp. Continue reading

Pass extension: Safe

February 1, 2020
Pass is becoming my goto for password management. It is a very easy to use manager and has a great list of extensions as well as the ability to create your own extensions. I have found that I need to solve a very specific problem where I need a printed backup of all data that is stored in the password store. The Problem Pass is pretty cool and offers a lot of options to store passwords and more. Continue reading

Rclone - rsync for cloud storage

November 1, 2019
Rclone is a really cool command line tool that can sync files and directories too and from many sources. A full list of sources can be found on their official website. I personally use it for syncing local backups to Backblaze B2. Installation There are a few ways to install but I prefer the script install: To install rclone on Linux/macOS/BSD systems, run: $ curl | sudo bash Configuration The easiest way to configure and get up and running is by: Continue reading

GnuPG and Pass

October 31, 2019
I find myself constantly referring to different sources to setup my password manager; Pass. This reference is going to provide a source for reference that includes both. Installation References (Archlinux) GnuGP According to the official website: GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP). GnuPG allows you to encrypt and sign your data and communications; it features a versatile key management system, along with access modules for all kinds of public key directories. Continue reading
Older posts