Feathers is a lightweight web-framework for creating real-time applications and REST APIs using JavaScript or TypeScript.
feathersjs.com/
Error Handling with Angular 8 – Tips and Best Practices
Handling errors properly is essential in building a robust application in Angular. Error handlers provide an opportunity to present friendly information to the user and collect important data for development. In today’s age of advanced front-end websites, it’s more important than ever to have an effective client-side solution for error handling.
An application that does not handle errors gracefully leaves its users confused and frustrated when the app suddenly breaks without explanation. Handling these errors correctly across an application greatly improves user experience. Collected data from the error handling can inform the development team about important issues that slipped past testing. This is why monitoring tools like Rollbar are so important.
In this article, we will compare several solutions for error handling in Angular apps. First, we will describe the traditional approaches using
ErrorHandler
andHttpClient
. Then, we will show you a better solution usingHttpInterceptor
. We’ll also show you how to use this interceptor to monitor and track errors centrally in Rollbar.
Source: Error Handling with Angular 8 – Tips and Best Practices
10 useful HTML5 features, you may not be using
Javascript Event Bubbling – DEV Community
Javascript passing by Reference vs Value – DEV Community
8 Projects with modern designs to become a Full-stack Master 2020
GIT – How to prune local tracking branches that do not exist on remote anymore
One-liner, cross platform, doesn’t look like the cat slept on your keyboard:
npx git-removed-branches
(dry-run) or
npx git-removed-branches --prune
(removes for real).
You need to already have node.js installed.
Source: git – How to prune local tracking branches that do not exist on remote anymore – Stack Overflow
Add above as external command in Visual Studio 2022 “Tools” menu:
Oracle SQL-Developer: Show timestamp in date columns
You can decide how SQL-Developer display date and timestamp columns.
- Go to the “Tools” menu and open “Preferences…”
- In the tree on the left open the “Database” branch and select “NLS”
- Now change the entries “Date Format”, “Timestamp Format” and “Timestamp TZ Format” as you wish!
ISO formated output with date and time
- Date Format: YYYY-MM-DD HH24:MI:SS
- Timestamp Format: YYYY-MM-DD HH24:MI:SSXFF
- Timestamp TZ Format: YYYY-MM-DD HH24:MI:SSXFF TZR
Clean up your local branches after merge and delete with git
RepoZ: A git repository hub for Windows and macOS with Windows Explorer- & CLI-enhancements
RepoZ RepoZ is a zero-conf git repository hub with Windows Explorer- & CLI-enhancements. It uses the git repositories on your machine to create an efficient navigation widget and makes sure you’ll never lose track of your work along the way. It’s populating itself as you work with git. It does not get in the way and does not require any user attention to work. RepoZ will not compete with your favourite git clients, so keep them. It’s not about working within a repository: It’s a new way to use all of your repositories to make your daily work easier.
Keyboard shortcut in windows: Ctrl+Alt+R.
Runs as a taskbar application in Windows.