Skip to content

Instantly share code, notes, and snippets.

View sonyarianto's full-sized avatar
🙏
Keep learning, stay relevant, relevancy increases value.

Sony AK sonyarianto

🙏
Keep learning, stay relevant, relevancy increases value.
View GitHub Profile
@sonyarianto
sonyarianto / hello-world.go
Created December 5, 2018 09:34
Hello World
package main
import "fmt"
func main() {
fmt.Println("hello, world")
}
@sonyarianto
sonyarianto / Simple query MongoDB with Go (Part 1).md
Last active November 27, 2018 09:02
Simple query MongoDB with Go (Part 1)

MongoDB Data

[{
    "title" : "Hello World",
    "slug" : "hello-world",
    "short_description" : "Hello World is the standard ritual for us when learning new programming language. It's good for you mind and soul hahaha!",
    "tags" : [ 
        {
            "tag" : "beginner"
        }, 
@sonyarianto
sonyarianto / How to copy folder with subdirectories in Linux.md
Last active August 9, 2017 04:48
How to copy folder with subdirectories in Linux.md

How to copy folder with subdirectories in Linux

Copy from /home/source/data to /home/target/folder even the /home/target/folder is not exists.

cp -avr /home/source/data /home/target/folder
@sonyarianto
sonyarianto / Setting up a SSL Certificate from Comodo.md
Last active August 9, 2017 02:46
Setting up a SSL Certificate from Comodo

Setting up a SSL Certificate from Comodo

I bought SSL Certs from DomainEsia.com and they resale SSL Certs from Comodo http://www.comodo.com/

These are the steps I went through to set up an SSL cert.

Purchase the certificate