This article shows how to setup EditPlus for editing Go files. Syntax highlighting Build and run Go files EditPlus is a small program for editing files; it's fast and doesn't use much memory. I use it for writing experimental programs and tests in Go. Program: EditPlusOperating System: Windows 10 Syntax Highlighting Download the Go "stx" [...]
Author: Sanjib Ahmad
Fibonacci Program in Assembly Language
Here's how to write a Fibonacci sequence program in Assembly language from scratch for the x86-64 processor. Also includes instructions on how to install the Flat Assembler. Installation First, let's install the Flat Assembler. You can download the program from here: https://flatassembler.net/download.php Doesn't need Windows setup/installation. Simply download the zip file and extract it to [...]
Map CAPS Lock to Control Key in Windows
Windows version: 10 If you use the control keys a lot for keyboard shortcuts, it makes sense to have the control key where the caps lock key is. Why? Because while the fingers are resting in the home position (ASDF row), you have the pinky finger under the "A" key and right beside it will [...]
Download a File Using Go
Downloading a file from the Internet using Go is remarkably easy. Especially coupled with concurrency it makes downloading multiple files fast. The following code below shows how to download a single file using Go. Goal: Download a test image file, the Google logohttps://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png First get the file using http.GetExtract the filename from the URL by [...]
Send Email With Go and MailJet
The following steps show how to send mail with Go using the standard smtp package. To test I used MailJet as the mail server but you can also use Mandrill or SendGrid. First let's setup MailJet as the mail server. Then write the Go code and send a test email. MailJet Setup After creating your [...]
Windows Firewall Rule for Go Web Development
https://youtu.be/OsnI7OXFGfA If you do Go web development on Windows, then you are likely to come across the Windows Firewall - Security Alert whenever you build and run the Go app. For example, here I am trying to build and run a sample Go web server program "main1.exe" that wants to run on port 4000: Windows [...]
How to Run Simply Scheme on Windows
Goal: To be able to run Scheme on Windows, particularly the flavor "Simply Scheme". There is a great computer science book called Simply Scheme by Brian Harvey and Matthew Wright. Professor Brian Harvey also taught a great class CS61A at the University of California, Berkeley. Our goal is to be able to run Simply Scheme [...]
Install and Configure Apache and PHP on Windows
This post explains how to install and configure Apache and PHP on Windows. Sure, there are convenient options like: Bitnami WAMP Stack, WampServer or XAMPP. But over the years I found that installing each stack separately is more reliable and provides greater flexibility. You will probably also want MariaDB for a database which you can [...]
Create a Self-signed Certificate on Windows for Local Development
Create an imaginary domain pdb.oak.san with a self-signed certificate that works on major browsers (except Firefox) without generating a warning.
The Definitive 4-Step Short Guide to Implementing WordPress Language Files
WordPress: 5.5.1 The reason to call this post "definitive" is because it contains the exact information (without adding anything extra) for implementing WordPress language files (aka internationalization). The 4-Steps 1. The plugin entry point ".php" file needs the following Text Domain WordPress directive, considering foo-bar as the plugin name: * Text Domain: foo-bar Where is [...]