Marvin Tan Network Engineer • Open Source Lover

Network Engineer Again

#career May 29, 2022 3 min I haven’t posted for quite a long time. I paused for a while and just spent my time working while playing games since the pandemic started. It was more than 10 years since I last played computer games. I believe everyone needs a break from time to time. I’ve been serious about my career that I forget how to relax. After a couple of years, I felt so bored doing the same thing again and again. ...

Read more

My AMD Linux PC Build

#linux #pcbuild #amd Apr 26, 2020 6 min This is a mid-range AMD Ryzen 3 Linux PC Build mainly for productivity such as virtualization, video rendering, and streaming. It works great out of the box using Linux kernel 5.4 so it will perfectly work with newer kernel too. This is the first PC I built for myself because I always use laptop in the past so bring it anywhere when I need it. When the pandemic (COVID-19) started, I begun working from home so I decided to get a desktop since mobility is not a concern anymore. ...

Read more

Arch Linux Installation Guide Part 2

#archlinux #gnome #plasma #xfce #linux #howto Mar 18, 2020 5 min

This is the continuation of my base install. There are many desktop environments that we can use in Arch Linux but I will only show how to install GNOME, KDE Plasma, and XFCE here. There will be no customization. This is to quickly show how easy to install a desktop environment in Arch Linux.

  1. Create a User First, we need to create a user with a home directory and include in the wheel group.
...

Read more

Arch Linux Installation Guide - Part 1

#archlinux #linux #howto Mar 8, 2020 31 min I’ve been distro hopping for a while and decided to use Arch Linux as my daily driver because I like building my OS from the ground up. Aside from having a small footprint, it gives me full control of what I only want to install. No more unnecessary services running in the background or unused packages. It is a rolling release so I don’t need to do system upgrade in the future. ...

Read more

Free Custom Email Address

#howto #improvmx #emailforwarding Oct 10, 2019 4 min I want to have a custom email address using my domain but my domain registrar (Namecheap) can’t do email forwarding when using custom DNS. I’m not using their DNS because I’m deploying my site on Netlify. I don’t want to pay for G Suite just to have a custom email address so I searched Google Duckduckgo and found a Gmail-based solution. When a sender sends an email to my custom email address, it will go first to Namecheap then it will look at its DNS which is pointed to Netlify. ...

Read more

Mermaid in Hugo

#mermaid Sep 30, 2019 3 min I’m using Mermaid to generate flowchart, sequence diagram, gantt or pie chart in my site. Download mermaid As of writing, the latest version is 8.3.1. Download mermaid.min.js and put it under static/js/mermaid.min.js Create mermaid shortcode Create mermaid.html under layouts/shortcodes directory <div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}">{{ safeHTML .Inner }}</div> Load ths script Call the script only if the page contains a mermaid shortcode. ...

Read more

Send Email Using Google SMTP

#smtp #gmail Sep 27, 2019 I’m making a simple project that requires to send an email notification. Since I only need to send a few emails, I decided to go with Google’s free STMP server. For more info, you can check Gmail’s sending limits here. I did my testing using msmtp as SMTP client. It is available mostly on every Linux distribution. I will show below how I made it working. I’m using Arch Linux but it will be the same with other distros. ...

Read more

Upgrade Cisco IOS via Tftp

#cisco #tftp Jun 30, 2019 12 min I have 2 3750 Series and 2 2960 Series Cisco Catalyst switches I’m using for my home lab and I upgraded them via TFTP. Issue this privileged EXEC command: archive download-sw /overwrite /reload tftp:[[//location]/directory]/image-name.tar The /overwrite option overwrites the software image in flash memory with the downloaded one. The /reload option reloads the system after downloading the image unless the configuration has been changed and not saved. You also can download the image file from the TFTP server to the switch and keep the current image by replacing the /overwrite option with the /leave-old-sw option. ...

Read more

Cisco SVG Icons

#cisco #icons #svg #draw.io Apr 29, 2019

So you are here because you are looking for Cisco icons? You don’t want pixelated images? You want responsive icons? Like me, I want to use SVG for quality and smaller file size. I create my diagrams using draw.io.

To start using this icons, just download this xml file (right-click then “save link as…") then import to draw.io scratchpad: That’s it. You can download the file here. Enjoy! You can check the SVG icons below.

...

Read more

Install Hugo on macOS

#macos #hugo #homebrew Aug 5, 2018 10 min Step 1: Install Homebrew on macOS Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple’s macOS operating system. Open Terminal app and type: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Output Marvins-MacBook-Pro:~ marvin$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&#34; Ignoring commonmarker-0.17.9 because its extensions are not built. Try: gem pristine commonmarker –version 0.17.9 ==> This script will install: /usr/local/bin/brew /usr/local/share/doc/homebrew /usr/local/share/man/man1/brew.1 /usr/local/share/zsh/site-functions/_brew /usr/local/etc/bash_completion. ...

Read more