Upgrading D-Link DIR-868L A1 firmware to Tomato

I was finally able to upgrade the firmware on my old but trusty D-Link DIR-868L router to Tomato firmware. The process is a little bit involved and it’s very easy to brick your router. Fortunately, this router provides a relatively easy way to perform recovery. Note this instruction is for DIR-868L rev A1. There are more than one version of this router and the process could differ for each of those versions. At a high …

Read moreUpgrading D-Link DIR-868L A1 firmware to Tomato

mjml + jinja2 = awesome

If you have ever tried programmatically sending HTML emails, you probably know how giant of a pain in the rear it is. It’s all because while HTML has progressed in the world of Internet, the Email HTML is still way way behind. There are no set standards and most of the times, you end up doing too much manual HTML coding. In today’s world, surely there must be something you can do about it, right? …

Read moremjml + jinja2 = awesome

Docker Container for SMTP Relay

SMTP Relay service allows you to use an external SMTP server to send your mails through. After many frustrating hours of working with several SMTP Relay Docker Images, I finally found the one that works. Link: https://hub.docker.com/r/tecnativa/postfix-relay/ Configuration is very easy; Sample Run script docker run \ –name name\ -d \ –restart=always \ -p localport:25 \ -e “MAIL_RELAY_HOST=smtpserver” \ -e “MAIL_RELAY_PORT=port#” \ -e “MAIL_RELAY_USER=user” \ -e “MAIL_RELAY_PASS=post” \ tecnativa/postfix-relay After this you will have a …

Read moreDocker Container for SMTP Relay

Docker Container for phpMyAdmin

Been containerizing a lot of my tools and just added phpMyAdmin to that list. It’s very easy to get going with it esp. if you also happen to have a Docker container running MySQL albeit with one minor issue. Official docker hub page: https://hub.docker.com/r/phpmyadmin/phpmyadmin/ Use an example Docker Run script below docker run \ –name name \ –restart=always \ -d \ –link mysqlcontainer:mysql \ -p localport:80 \ -e “PMA_HOST=mysqlcontainer” \ phpmyadmin/phpmyadmin localport is the port …

Read moreDocker Container for phpMyAdmin

Docker Transmission Container with Windscribe VPN

Found this awesome container that has Transmission with VPN support which I can use with Windscribe VPN. Docker Hub Link – https://hub.docker.com/r/haugene/transmission-openvpn/ Run command: docker run \ –name somename\ –restart=always \ –cap-add=NET_ADMIN \ –device=/dev/net/tun \ -d \ -v localdir:/data:z \ -v /etc/localtime:/etc/localtime:ro \ –log-driver json-file \ –log-opt max-size=10m \ -p localport:9091 \ –dns 8.8.8.8 –dns 8.8.4.4 \ -e “OPENVPN_PROVIDER=WINDSCRIBE” \ -e “OPENVPN_USERNAME=user” \ -e “OPENVPN_PASSWORD=pass” \ -e “OPENVPN_CONFIG=US-East-tcp” \ -e “LOCAL_NETWORK=iprange” \ -e “TRANSMISSION_WEB_UI=combustion” \ …

Read moreDocker Transmission Container with Windscribe VPN

Installing Smart Water Shut Off Valve

I took my smart home journey one step further today. I installed a smart auto water shutoff valve. Wow, what’s that? Well, this device mounts to your main water shutoff valve and automatically open or close it based on your command. Sounds magic! Yes it’s magic. Seriously, we now have Z-Wave devices that do this magic. I bought one such device called “Dome Water Main Shut-Off”. Dome’s device mounts to your main water pipe and …

Read moreInstalling Smart Water Shut Off Valve