Angular Markdown with Stackedit.js
How to create an Angular directive to write and parse markdown to HTML using Stackedit.js — Why use Stackedit? Stackedit is a popular and widely trusted in-browser markdown editor. It is an open-source and full-featured editor based on PageDown, the WYSIWYG-style Markdown library used by Stack Overflow. As it is a Progressive Web Application (PWA) that you can download and use as a desktop application.
Scrape the Web Faster, in Go with Chromedp
A fast and simple way to interact with browsers supporting the Chrome DevTools Protocol in Go. — An easy, performant web scraper, crawler, pre-rendering solution, or screenshotting tool What is Chromedp? Chromedp is a fast, simpler way to interact with the Chrome DevTools Protocol without any external dependencies, such as selenium or phantomjs, that you’d find in other implementations. It is a lightweight Go implementation.
How to Write Bug-Free Goroutines in Go (Golang)
Here are the concurrency best practices for predictable, reliable, and bug-free Go code. — Concurrency in Go Go is well-known and loved for its concurrency. The go runtime manages lightweight threads called goroutines. Goroutines are quick and simple to write. You just type go before the function you want to execute asynchronously, in another thread. Sounds easy enough? Goroutines are Go’s way of writing asynchronous code.
The Hardest Parts of Learning Angular
How to Create a Go (Golang) API on Google App Engine
A simple walkthrough on creating an API with a server, written in Go, to deploy to Google App Engine. — Why Google App Engine? Google App Engine is Platform as a Service (PaaS). It aims to make deployment easier. It is fully managed, pay-as-you-go, high availability, it ensures a fast time to market, and supports a wide variety of programming languages. App Engine allows you to build scalable web and mobile back-ends with traffic…
The Problems That Ethereum 2.0 Proof-of-Stake Aims to Solve
What does it mean for the network, building on it, and crypto mining? — The Bitcoin and Monero (XMR) communities remain some of the most committed to the concept of proof-of-work. Ethereum’s Long-Awaited Upgrade It feels like it has been coming for ages. That’s because it has. It has been in the works for years and discussed since 2018. Ethereum 1.0 had concerns over scalability and security…
How to Create a Dynamic Sitemap using Firestore and Cloud Functions
An easy way to automate the creation of sitemap.xml files, using Firebase Firestore data, that reflects our growing web content. — Modern Sitemaps Need Automation The sitemap.xml file is one of the most important files for search engine robots and spiders. It provides information about the pages and the relationships between them. It is the first thing that robots look at when it comes to your site.
‘Dumb’ Angular — Input Setter/Getter vs NgOnChanges
Understanding the right way to pass data to Dumb Angular components through NgOnChanges and Input bindings. — How Components Interact in Angular Angular components have multiple ways to share information with other parts of the application. Developing a complex Angular app will involve a lot of data, and subsequently a lot of interaction between components. Once you learn the methods that are used to handle data in components, it becomes easy to…
The Beauty of the Optional Chaining Operator (?.) in TypeScript