Skip to content

Instantly share code, notes, and snippets.

console.log("Welcome to Deno!");
@startuml
title "HotStone"
actor "User / Search Engine Bot" as User
User -> Frontend : accesss a web page
Frontend -> HotStone : pass URL of the web page
@fahrinh
fahrinh / Brewfile
Last active October 7, 2019 02:07
brew bundle -vv
brew "git"
brew "zsh"
brew "zsh-completions"
brew "ncdu"
brew "go"
brew "aria2"
brew "htop"
brew "dep"
brew "fzf"
brew "entr"
@fahrinh
fahrinh / .spacemacs.el
Created December 5, 2017 08:50
.spacemacs 2017-12-05
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
We couldn’t find that file to show.
@fahrinh
fahrinh / tes.adoc
Last active December 27, 2015 23:49

Asciidoctor

Asciidoctor is a native Ruby processor for converting AsciiDoc source files and strings into HTML 5, DocBook 4.5 and other formats.

Installation

You can install the Asciidoctor RubyGem using the gem command:

@fahrinh
fahrinh / category_list.rb
Created November 15, 2011 11:20 — forked from nistude/category_list.rb
A category list tag for jekyll
# place this file in your plugins directory and add the tag to your sidebar
#$ cat source/_includes/custom/asides/categories.html
#<section>
# <h1>Categories</h1>
# <ul id="categories">
# {% category_list %}
# </ul>
#</section>
module Jekyll
@fahrinh
fahrinh / pisah_surah.py
Created November 13, 2011 03:00
Script utk memisah mp3 ayat quran berdasarkan surah. Mp3 yang didonlot ada di http://www.versebyversequran.com/site/download
#!/usr/bin/python
# Script utk menempatkan ayat mp3 berdasarkan surah
# Langkah penggunaan :
# 1) Buka halaman web http://www.versebyversequran.com/site/download
# 2) Expand bagian "Ayat MP3 Recitations"
# 3) Cari audio quran yang diinginkan berdasarkan reciter
# 4) Download audio quran pada link (ZIP). File yang didonlot bernama 000_versebyverse.zip
# 5) Buat folder "quran"
# 6) Extract file 000_versebyverse.zip ke dalam folder "quran"
import org.joda.time.DateTime;
import org.pentaho.di.core.KettleEnvironment;
import org.pentaho.di.core.util.EnvUtil;
import org.pentaho.di.trans.Trans;
import org.pentaho.di.trans.TransMeta;
public class App {
public static void main(String[] args) throws Exception {
KettleEnvironment.init();