Skip to content

Instantly share code, notes, and snippets.

Sokcuri sokcuri

Block or report user

Report or block sokcuri

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View microservice bots.md

Microservice Bots

What they are and why you should use them

Introduction

Recently more and more chatbots appear, the overall chatbot market grows and the platform for it grows as well. Today we are taking a close look at what benefits creating a microservice chatbot on Discord - (a communication platform mainly targeted at gamers) would provide.

The concepts and ideas explained in this whitepaper are geared towards bots with a bigger userbase where the limits of a usual bot style appear with a greater effect

Information about Discord itself

(If you are already proficient with the Discord API and the way a normal bot works, you may skip ahead to The Concept)

@sokcuri
sokcuri / wgcf.py
Created Jan 1, 2020 — forked from oskar456/wgcf.py
Cloudflare WARP linux client (using wg-quick for actual tunnel setup)
View wgcf.py
#!/usr/bin/env python3
import subprocess
import json
import os
from pathlib import Path
import requests
from requests.compat import urljoin
@sokcuri
sokcuri / remove-missing-script.py
Created Mar 21, 2019
유니티 프리팹에서 Missing Script를 일괄 삭제하는 파이썬 스크립트입니다
View remove-missing-script.py
# remove-missing-script.py
# A Python script that removes the disconnected script file "Missing Script" in Unity Prefab files
# - Author: github.com/sokcuri
#
# usage:
# > python Tools/remove-missing-script.py [Target Folder]
#
import re, sys
from pathlib import Path
@sokcuri
sokcuri / twitch_pip.js
Created Jan 17, 2019
Twitch PIP Request Script
View twitch_pip.js
javascript:(function(){document.querySelector('.video-player video').requestPictureInPicture()})();
View naver_cafe_comment_all_delete.js
(function(){var arr = []; document.querySelectorAll('.td_article input').forEach(i => { arr.push(i.value); }); if (confirm("댓글을 삭제하시겠습니까?")) { document.frmDelete.targetids.value = arr.join(','); document.frmDelete.submit(); } }})();
View keybase.md

Keybase proof

I hereby claim:

  • I am sokcuri on github.
  • I am sokcuri (https://keybase.io/sokcuri) on keybase.
  • I have a public key whose fingerprint is E4FC 4B26 961D 717E EB8E 8A0A 705C A29C DEB4 AE74

To claim this, I am signing this object:

@sokcuri
sokcuri / 앞면뒷면.bat
Created Aug 30, 2018
Bat 파일로 60/40 확률 동전 던지기 도박 프로그램을 만들기
View 앞면뒷면.bat
@echo off
SET /A test=%RANDOM% %% 100
IF %test% leq 60 (
echo 앞면
) else (
echo 뒷면
)
@sokcuri
sokcuri / twitter_night_mode.js
Last active Sep 1, 2017
트위터 야간모드 스크립트
View twitter_night_mode.js
(function(){if(document.cookie.indexOf('night_mode=1')==-1){if(confirm('야간 모드를 켭니다')){document.cookie='night_mode=1';}}else{if(confirm('간 모드를 끕니다')){document.cookie='night_mode=0';}}})()
@sokcuri
sokcuri / carousel.html
Created Jul 20, 2017
Carousel Slides for BaeminFresh
View carousel.html
View carousel.html
You can’t perform that action at this time.