Skip to content

Instantly share code, notes, and snippets.

View hiendv's full-sized avatar
❤️
developer | rider

Hiển Đào Vinh hiendv

❤️
developer | rider
View GitHub Profile
@hiendv
hiendv / gist:cc156eba1bba82a168201a0c0349c7b0
Last active March 11, 2020 09:33 — forked from sdorsett/gist:8eab3721e17daf3bd595370d3f5bab16
Golang newbie resources from gophers.slack.com
Here are some resources you should check out if you are learning / new to Go:
First you should take the language tour: https://tour.golang.org/
Then, you should visit:
- https://golang.org/doc/code.html to learn how to organize your Go workspace
- https://golang.org/doc/effective_go.html be more effective at writing Go
- https://golang.org/ref/spec learn more about the language itself
- https://golang.org/doc/#articles a lot more reading material
- https://github.com/golang/go/wiki/CodeReviewComments
There are some awesome websites as well:
- https://blog.gopheracademy.com great resources for Gophers in general

Keybase proof

I hereby claim:

  • I am hiendv on github.
  • I am hiendv (https://keybase.io/hiendv) on keybase.
  • I have a public key whose fingerprint is 9335 0D95 C3EC DF4D F80A B28F C191 07A8 1985 FDCF

To claim this, I am signing this object:

@hiendv
hiendv / mod.c
Last active August 29, 2015 14:08
solve modular congruence ax ≡ b (mod n)
/*
* author: hiendv
* with the help of: locbq, lampt
* email: [email protected]
* date: 05-11-2014
* compiler: gcc, g++
*/
#include <stdio.h>
#include <stdbool.h> // boolean support for C
int a,b,n,gcd;