Skip to content

Instantly share code, notes, and snippets.

Avatar
🏢
🙎‍♂️🎡

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
Air
Airplane
Alarm Clock
Alchemist
Alcohol
Algae
Alien
Allergy
Alligator
@sthobis
sthobis / setup.ahk
Created Nov 13, 2019
Auto Hotkey media keys mapping
View setup.ahk
; Shift + Page Up to turn volume up
+PgUp::
Send, {Volume_Up}
return
; Shift + Page Down to turn volume down
+PgDn::
Send, {Volume_Down}
return
View Certbot renewal
sudo certbot --nginx `cat domain.txt`
View Reddit hosts
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
View pm2 useful command
pm2 deepUpdate
pm2 start npm -- start
View audition.md

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 / 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 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 / 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
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",