Skip to content

Instantly share code, notes, and snippets.

View triadmoko's full-sized avatar
🏠
Working from home

TDF triadmoko

🏠
Working from home
  • TDF Programming
  • Indonesia
View GitHub Profile
@triadmoko
triadmoko / oauth2_integration.go
Created July 16, 2022 14:23 — forked from tuxlinuxien/oauth2_integration.go
gin gonic oauth2 integration
package main
import (
"bytes"
"encoding/json"
"github.com/gin-gonic/gin"
"golang.org/x/oauth2"
"golang.org/x/oauth2/bitbucket"
"golang.org/x/oauth2/github"
"golang.org/x/oauth2/google"
@triadmoko
triadmoko / sources.list
Created October 15, 2020 12:47 — forked from rohitrawat/sources.list
Ubuntu 16.04 Xenial default /etc/apt/sources.list
#deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted