Skip to content

Instantly share code, notes, and snippets.

View vitojeng's full-sized avatar
🇹🇼
Awesome

Vito Jeng vitojeng

🇹🇼
Awesome
View GitHub Profile
@vitojeng
vitojeng / API.md
Created June 28, 2016 02:50 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

@vitojeng
vitojeng / introrx.md
Created June 20, 2016 14:18 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@vitojeng
vitojeng / onchange.sh
Last active April 27, 2016 08:14 — forked from senko/onchange.sh
Watch current directory and execute a command if anything in it changes
#!/bin/bash
#
# Watch current directory (recursively) for file changes, and execute
# a command when a file or directory is created, modified or deleted.
#
# Written by: Senko Rasic <senko.rasic@dobarkod.hr>
#
# Requires Linux, bash and inotifywait (from inotify-tools package).
#
# To avoid executing the command multiple times when a sequence of
@vitojeng
vitojeng / scala_sample_code.txt
Created February 24, 2016 09:24
Scala Intro sample code
{
var price1 = 100
price1 = 200
val price2 = 100
price2 = 200 // error: reassignment to val
}
// ---------------------------------
@vitojeng
vitojeng / !git-memo.md
Last active October 17, 2017 07:50
Git Memo
@vitojeng
vitojeng / gradle-command-line.md
Last active November 24, 2015 06:14
Gradle Tips
$ gradle -q dependencies --configuration compile
@vitojeng
vitojeng / hbase_shell_note.md
Last active August 29, 2015 14:19
HBase Shell
  • List all rowkeys
count 'table_name', INTERVAL=>1
  • Linux pipe command
$ echo "your hbase shell script" | hbase shell
https://stackedit.io/viewer#!url=http://path/to/file.md