Skip to content

Instantly share code, notes, and snippets.

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

Yohanes Gultom yohanesgultom

🏠
Working from home
View GitHub Profile
const API_URL = 'https://example.com';
const AUTH = 'Basic XXXXXXXXXXXXXXXXXXXXXX';
function getContact(phone) {
const res = UrlFetchApp.fetch(`${API_URL}/contacts/${phone}@c.us`, {
method : 'get',
contentType: 'application/json',
headers : {
Authorization: AUTH,
},
@yohanesgultom
yohanesgultom / ! Datasets
Created April 16, 2020 07:09
List of open datasets
* Batik pattern (5 classes) (Universitas Indonesia) https://drive.google.com/open?id=1DG-GkyxW8CiMnNT_VrKHWGuT0FJdgOEE
* BRAINWASH (Max Plank Institut Informatik): Head Detection Images https://drive.google.com/open?id=1BsgJcf84wqWS10d_b8UrGVpo78viOPlW
* MIDV-500: Identity Documents Analysis and Recognition on Mobile Devices in Video Stream ftp://smartengines.com/midv-500
* Pos Tag Indonesia 1M (Universitas Indonesia) https://drive.google.com/open?id=1tsNYBKBHx0vM2S_8R5SieHZuMYDPNjAa
Latex guide and scripts
@yohanesgultom
yohanesgultom / ! HTML
Created March 28, 2019 02:58
Useful HTML templates
Useful HTML templates
@yohanesgultom
yohanesgultom / php7_2_build_ubuntu.sh
Last active March 26, 2018 18:09 — forked from m1st0/php_build_ubuntu.sh
Compiling PHP 7 on Ubuntu 15.04 with Various Supported Modules
#! /bin/bash
# PHP 7 Initial Compile #
# Author: Maulik Mistry
# Date: Aug 04, 2017
# References:
# http://www.zimuel.it/install-php-7/
# http://www.hashbangcode.com/blog/compiling-and-installing-php7-ubuntu
#
# License: BSD License 2.0
@yohanesgultom
yohanesgultom / ! CUDA & OpenCL Intro
Last active May 27, 2023 04:51
Simple CUDA and OpenCL code
Simple CUDA and OpenCL code
Compilation:
* CUDA (*.cu): nvcc filename.cu
* CUDA + CUBLAS (*.cu): nvcc filename.cu -lcublas
* OpenCL (*.c): gcc filename.c -lOpenCL
@yohanesgultom
yohanesgultom / cuda-ubuntu-installation.md
Last active March 10, 2024 04:31
NVIDIA CUDA installation and configuration notes

CUDA installation on Ubuntu

WARNING This installation will REPLACE existing Nvidia driver

Download CUDA https://developer.nvidia.com/cuda-downloads (tested with CUDA 10) Run commands:

sudo dpkg -i cuda-repo-<version>.deb
sudo apt-key add /var/cuda-repo-<version>/7fa2af80.pub
sudo apt-get update
@yohanesgultom
yohanesgultom / ! Groovy scripts
Created October 11, 2017 07:11
Random groovy scripts
Random groovy scripts
@yohanesgultom
yohanesgultom / ! List of Values
Last active August 22, 2017 11:30
List of values
List of values
@yohanesgultom
yohanesgultom / ! Mac OSX commands
Last active July 26, 2017 12:01
Mac OSX commands
Mac OSX commands