Skip to content

Instantly share code, notes, and snippets.


Stefanus Thobi Sinaga sthobis

View GitHub Profile
View gist:05c5b601d269fb6598e5da407021b40a
1. Search notepad lewat menu start atau tekan tombol windows kemudian search notepad
2. Klik kanan, run as administrator
3. Di kiri atas notepad pilih File -> Open
4. Cari folder C:\Windows\System32\drivers\etc
5. Di bagian kanan bawah (di atas tombol open & cancel), ubah opsi "Text Documents (*.txt)" jadi "All Files"
6. Pilih file "hosts" dan klik Open
7. Copy paste text dibawah (dari ### sampai ###)
8. Save, restart browser buka reddit tanpa VPN
View gist:53ece7d2a4310b42059aa6a4f39c98db
Acid Rain
Alarm Clock
sthobis / setup.ahk
Created Nov 13, 2019
Auto Hotkey media keys mapping
View setup.ahk
; Shift + Page Up to turn volume up
Send, {Volume_Up}
; Shift + Page Down to turn volume down
Send, {Volume_Down}
View Certbot renewal
sudo certbot --nginx `cat domain.txt`
View Reddit hosts
View pm2 useful command
pm2 deepUpdate
pm2 start npm -- start

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 / Hyper config
Created Jul 26, 2018
hyper config modified for UI/color preferences
View Hyper config
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See 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 / simple redux logger middleware
Last active Sep 29, 2018
simple redux logger middleware
View 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);
sthobis / VSCode Setting 20180929
Last active Sep 29, 2018
Microsoft Visual Studio Code User Settings
View VSCode Setting 20180929
"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",