Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View sthobis's full-sized avatar
🏢
🙎‍♂️🎡

Stefanus Thobi Sinaga sthobis

🏢
🙎‍♂️🎡
View GitHub Profile
@sthobis
sthobis / sample.md
Created February 15, 2018 04:56
Markdown Sample

Markdown Title

Markdown Content

@sthobis
sthobis / Hyper config
Created July 26, 2018 12:20
hyper config modified for UI/color preferences
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@sthobis
sthobis / audition.md
Last active September 13, 2018 23:07

Audition Online Specification

Audition Online is a rhythm based game where you need to complete (by pressing) a sequence of arrow buttons followed by a space button every predefined interval. The interval is calculated based on the bpm of song used for the match/session. An interval is equal to the length/duration of four beats, which means higher bpm produce shorter interval, thus harder difficulty.

Audition Online

In between input interval, there's a resting interval where player does not need to press anything.

@sthobis
sthobis / VSCode Setting 20180929
Last active September 29, 2018 09:21
Microsoft Visual Studio Code User Settings
{
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.fontSize": 14,
"editor.minimap.enabled": false,
"editor.renderIndentGuides": false,
"editor.tabSize": 2,
"explorer.openEditors.visible": 0,
"window.menuBarVisibility": "toggle",
@sthobis
sthobis / simple redux logger middleware
Last active September 29, 2018 09:23
simple redux logger middleware
const logger = store => dispatch => action => {
console.log("%cprev :", "color: #2ecc71", store.getState())
console.log("%caction :", "color: #3498db", action, "\n\n")
return dispatch(action);
}
pm2 deepUpdate
pm2 start npm -- start
151.101.193.140 i.redditmedia.com
151.101.65.140 g.redditmedia.com
151.101.65.140 a.thumbs.redditmedia.com
151.101.193.140 redditgifts.com
151.101.65.140 i.redd.it
151.101.1.140 reddit.com
151.101.193.140 v.redd.it
151.101.1.140 b.thumbs.redditmedia.com
151.101.65.140 events.reddit.com
54.209.186.144 stats.redditmedia.com
sudo certbot --nginx `cat domain.txt`
@sthobis
sthobis / setup.ahk
Created November 13, 2019 04:52
Auto Hotkey media keys mapping
; Shift + Page Up to turn volume up
+PgUp::
Send, {Volume_Up}
return
; Shift + Page Down to turn volume down
+PgDn::
Send, {Volume_Down}
return
Acid Rain
Air
Airplane
Alarm Clock
Alchemist
Alcohol
Algae
Alien
Allergy
Alligator