Skip to content

Instantly share code, notes, and snippets.

View rishubil's full-sized avatar
🕹️
Focusing

Nesswit rishubil

🕹️
Focusing
  • Republic of Korea
  • 13:18 (UTC +09:00)
View GitHub Profile
@rishubil
rishubil / splatoon-titfortat.py
Last active October 14, 2022 18:44
스플래툰에서 팀을 바꾸는 좋은 전략이 있을까?
"""
스플래툰3에서 팀을 바꾸는 좋은 전략이 있을까?
---
목표: 팀을 바꿀지 말지 결정할 때, 더 승률이 높은 전략을 찾는다.
조건:
- 기본적으로 스플래툰3의 카오폴리스 매치 (챌린지)를 기준으로 한다.
- 게임에서 획득한 금메달, 은메달로 얻을 수 있는 추가 포인트는 무시한다.
- 랭크 포인트 상한, 하한은 원래 9999, -9999이지만, 이를 무시한다.
// ==UserScript==
// @name Remove notranslate class on tldrnewsletter
// @description Remove notranslate class on tldrnewsletter
// @version 0.1.1
// @match https://actions.tldrnewsletter.com/*
// @updateURL https://gist.github.com/rishubil/578b9c7c4844f5cc581daeba0cdefac3/raw/remove-notranslate-tldrnewsletter.user.js
// @downloadURL https://gist.github.com/rishubil/578b9c7c4844f5cc581daeba0cdefac3/raw/remove-notranslate-tldrnewsletter.user.js
// @grant none
// ==/UserScript==
/*
ESP32-CAM to HyperDisplay_KWH018ST01
ESP32-CAM -> Display
--------------------
2 -> PWM
12 -> D/C
13 -> MOSI
14 -> SCLK
15 -> CS
@rishubil
rishubil / fixed-nightbot-autodj.user.js
Last active October 19, 2021 12:02
fixed-nightbot-autodj.user.js
// ==UserScript==
// @name Fixed Nightbot AutoDJ
// @namespace fixed-nightbot-autodj
// @author Nesswit
// @version 0.1
// @description Nightbot AutoDJ player has fixed position
// @downloadURL https://gist.github.com/rishubil/2003b5a21eba8b00b97fd1cb7b964cfa/raw/fixed-nightbot-autodj.user.js
// @updateURL https://gist.github.com/rishubil/2003b5a21eba8b00b97fd1cb7b964cfa/raw/fixed-nightbot-autodj.user.js
// @include https://nightbot.tv/song_requests
// @match about:blank
@rishubil
rishubil / twitch-temporary-fix.user.js
Last active October 29, 2019 07:17
twitch-temporary-fix.user.js
// ==UserScript==
// @name Twitch temporary fix
// @namespace twitch-temporary-fix
// @author Nesswit
// @version 0.2
// @downloadURL https://gist.github.com/rishubil/5216ff63e8cfc9c404a73dfcb86297f7/raw/twitch-temporary-fix.user.js
// @updateURL https://gist.github.com/rishubil/5216ff63e8cfc9c404a73dfcb86297f7/raw/twitch-temporary-fix.user.js
// @include *://*.twitch.tv/*
// @match about:blank
// @grant GM_addStyle
@rishubil
rishubil / 트리키 타워 조건별 마법 정리.md
Last active October 27, 2019 11:41
트리키 타워 조건별 마법 정리

트리키 타워 조건별 마법 정리

  • 마법의 이름은 공식 명칭이 아니며, 임의로 정했음
  • 각 게임 모드에는 여러가지 조건이 있음
  • 각 조건별로 나올 수 있는 마법이 정해져 있음
  • 각 조건에서 나올 수 있는 마법은 가중치가 매겨져 있음
  • 흑마법은 백마법이 무엇인지에 따라 결정되며, 백마법 별 흑마법 가중치가 매겨져 있음
  • 여러 조건이 동시에 만족할 경우, 해당 조건에 맞는 모든 마법이 나올 수 있으며, 가중치는 합산됨
@rishubil
rishubil / fixed-youtube-player.user.js
Last active October 5, 2019 04:54
fixed-youtube-player.user.js
// ==UserScript==
// @name Fixed Youtube Player
// @namespace fixed-youtube-player
// @author Nesswit
// @version 0.1
// @description Youtube player has fixed position with theater mode
// @downloadURL https://gist.github.com/rishubil/6759277b9905ce4b159b7aaf57e92a2b/raw/fixed-youtube-player.user.js
// @updateURL https://gist.github.com/rishubil/6759277b9905ce4b159b7aaf57e92a2b/raw/fixed-youtube-player.user.js
// @include https://www.youtube.com/watch?v=*
// @match about:blank
@rishubil
rishubil / KTTU배 제2회 한국 트리키 타워 토너먼트 팀별 대진표.md
Created April 22, 2019 14:50
KTTU배 제2회 한국 트리키 타워 토너먼트 팀별 대진표

KTTU배 제2회 한국 트리키 타워 토너먼트 팀별 대진표

  • [] = 랜덤 배정
  • 숫자 = 팀 테스트 게임 순위
  • 알파벳 = 라운드 번호

2팀

01 ─┐
@rishubil
rishubil / hosts
Created April 16, 2019 15:20
hosts data for adhell3 / Copied from https://polarisproject.tistory.com/65
0.0.0.0 dcnewsj.joins.com
0.0.0.0 dcimg2.dcinside.co.kr
0.0.0.0 cdn.taboolasyndication.com
0.0.0.0 imprammp.taboola.com
0.0.0.0 trc.taboolasyndication.com
0.0.0.0 vidstatb.taboola.com
0.0.0.0 vidstat.taboola.com
0.0.0.0 cdn.taboola.com
0.0.0.0 images.taboola.com
0.0.0.0 popup.taboola.com
@rishubil
rishubil / Zoooooom.lua
Created April 11, 2019 01:21
Zoooooom.lua
local obs = obslua
local pow = math.pow
local source, interval, duration, iPosX, iPosY, iScaleX, iScaleY, zRatio, zCenterX, zCenterY, targetScale, debug
local sceneItem
local iWidth = 0
local iHeight = 0
local isZoomed = false
local isZooming = false
local zoomT = 0
local hk = {}