Skip to content

Instantly share code, notes, and snippets.

@guojing0
guojing0 / e.c
Created October 31, 2017 03:26
A new way to compute e
/*
* A new way to compute e
*
* Author: Jing Guo (dev.guoj@gmail.com)
*/
#include <stdio.h>
#include <limits.h>
#include <stdlib.h>
@guojing0
guojing0 / update-golang.md
Created May 25, 2024 19:34 — forked from nikhita/update-golang.md
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by: