Skip to content

Instantly share code, notes, and snippets.

View rakhid16's full-sized avatar
🇮🇩

Ikal rakhid16

🇮🇩
  • King Fahd University of Petroleum and Minerals
  • Dhahran, Saudi Arabia
  • 12:22 (UTC +03:00)
  • LinkedIn in/rakhid16
View GitHub Profile
@rakhid16
rakhid16 / api_to_postgre.py
Last active April 15, 2021 04:14
Sync/Asynchronous Process From API Endpoint to PostgreSQL
# ASYNCHRONOUS PROCESS ==============================
import aiohttp
import asyncpg
import asyncio
from time import time
from functools import lru_cache
@rakhid16
rakhid16 / golang-mail.go
Last active October 28, 2020 11:07
send email with golang
package main
// BUILT-IN LIBRARIES
import (
"log"
"net/smtp"
)
func kirim(body, subject string) {
// AKUN GMAIL PENGIRIM - allow less secure apps : ON (google account setting)