Draw.io – Free software for creating technical diagrams similar to Visio.
Category: Useful tool
My global .gitignore file
My global .gitignore for those working with Angular/React/Js/.NET based projects with IDES from JetBrains, Vs Code and Visual Studio
https://gist.github.com/AndreasPlahn/f2715c8850850e623b086530da2d62dc
Setup Virtual Machine for testing browser Microsoft Edge version 18
I needed to test a locally developed website in old legacy browser Microsoft Edge version 18. My system is Windows 10 using Oracle VM VirtualBox software.
Here is how to setup the Virtual Machine for accessing an Angular website on the “localhost” hostname. The website also makes requests to a localhost Java based REST API. E.g. upon entering http://localhost:4200 in the VM it should work the same as in the host OS.
Download Edge Virtual Machine
VirtualBox software: Oracle VM VirtualBox software
Edge Image: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
Use the “Virtualbox” VM image.
Direct link:
https://az792536.vo.msecnd.net/vms/VMBuild_20190311/VirtualBox/MSEdge/MSEdge.Win10.VirtualBox.zip
The VM password is: Passw0rd!
Make Angular development server available as “localhost” in the VM
Setup network:
In Oracle VM VirtualBox -> Settings -> network -> Attached to: “NAT”
Advanced -> port forwarding:
Name:”Angular server”, Protocol: TCP, Host port: 4200, Guest port: 4200
(dont set host and guest IP)
The above makes the Angular web development server (ng serve) available on http://localhost:4200 in the VM.
Make a Java Spring backend API available as “localhost” in the VM
(In the VM environment)
Add to the c:\windows\system32\drivers\etc\hosts file:
10.0.2.2 outer
The above config tells the VM OS to expose all requests of 10.0.2.2 to the “outer” hosting machine.
(In the VM environment)
Start an elevated cmd and enter this:
netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=8081 connectaddress=10.0.2.2 connectport=8081
The above command will forward all requests for localhost:8081 to 10.0.2.2:8081 (which the hosts file made available for the “outer” host OS).
20 Great Notepad++ Colour Schemes
Visual Studio 2015 theme available
Postwoman – API Request Builder
Lightweight API request builder – Online tool
Source: Postwoman – API Request Builder
HTTPie – command line HTTP client
HTTPie—aitch-tee-tee-pie—is a command line HTTP client with an intuitive UI, JSON support, syntax highlighting, wget-like downloads, plugins, and more.
Firefox Developer Tools – filtering in the network tab request list
The current filter will only show the request matching a GET and contains url user:
method:GET user
(used under F12, tab network, filter text input)
Source: Network request list – Firefox Developer Tools | MDN
Strip HTML using HtmlAgilityPack
Strip HTML using HtmlAgilityPack
public static string StripHtml(this string value) { HtmlDocument htmlDoc = new HtmlDocument(); htmlDoc.LoadHtml(value); if (htmlDoc == null) return value; return htmlDoc.DocumentNode.InnerText; }
Source: Strip HTML using HtmlAgilityPack
Bulma: Free, open source, & modern CSS framework based on Flexbox
Bulma is a free, open source CSS framework based on Flexbox and used by more than 150,000 developers.
- responsive mobile first
- css only framework
- sass
- supports modern browsers
- partially supports ie10+
- easy to understand and readable css classes
Site: bulma.io
Getting started with bulma video: https://www.youtube.com/watch?v=MchBPICewgs
Robo 3T – formerly Robomongo — native MongoDB management tool (Admin UI)
Robo 3T Robo 3T (formerly Robomongo) is the free lightweight GUI for MongoDB enthusiasts. MongoDB GUI with embedded shell
Source: Robo 3T – formerly Robomongo — native MongoDB management tool (Admin UI)