Skip to content

Instantly share code, notes, and snippets.

Yohanes Gultom yohanesgultom

Block or report user

Report or block yohanesgultom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@yohanesgultom
yohanesgultom / init.coffee
Last active May 8, 2016
Atom.io init script collections
View init.coffee
# Add this blocks of code below to atom.io init.coffe (init scripts) to implement the feature
# Custom file extension mapping
# description: let atom.io automatically apply certain syntax highlighting (eg. C) to new certain extension (eg. *.cl)
# start
{extname} = require 'path'
fileTypes =
'.cl': 'text.source.c'
@yohanesgultom
yohanesgultom / ! SQL scripts
Last active Jul 19, 2017
Random SQL scripts
View ! SQL scripts
Random SQL scripts
View ! Groovy scripts
Random groovy scripts
@yohanesgultom
yohanesgultom / ! CUDA & OpenCL Intro
Last active Jan 30, 2018
Simple CUDA and OpenCL code
View ! CUDA & OpenCL Intro
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 / php7_2_build_ubuntu.sh
Last active Mar 26, 2018 — forked from m1st0/php7_build_ubuntu.sh
Compiling PHP 7 on Ubuntu 15.04 with Various Supported Modules
View php7_2_build_ubuntu.sh
#! /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 / rocks.md
Last active Apr 9, 2018
Rocks cluster Sidewinder (6.2) installation stuff (virtualbox with Ubuntu 15 as host)
View rocks.md

Rocks cluster Sidewinder (6.2) Virtualbox

Installation in Nutshell

  1. Download jumbo DVD iso from rocks website
  2. Setup VM in virtualbox:
    1. Frontend node: Linux/Redhat x64 with min 1GB RAM, 30GB HDD, 1 optical drive (with rocks dvd iso mounted), 1 Internal Network interface (any name), 1 NAT, boot from optical drive
    2. Compute node(s): Linux/Redhat x64 min 1GB RAM, 30GB HDD, 1 Internal Network interface (same name as frontend-node), boot from network
  3. Start frontend-node VM, type build when prompted
  4. Select CD/DVD based rolls, at least os, kernel, base. Some recommended rolls are web server + ganglia (monitoring) and hpc (OpenMPI and MPICH)
@yohanesgultom
yohanesgultom / ! Javascripts
Last active Mar 20, 2019
Random javascripts (scripts?)
View ! Javascripts
Random javascripts (scripts?)
@yohanesgultom
yohanesgultom / ! HTML
Created Mar 28, 2019
Useful HTML templates
View ! HTML
Useful HTML templates
You can’t perform that action at this time.