Skip to content

Instantly share code, notes, and snippets.

View sokcuri's full-sized avatar

Sokcuri sokcuri

View GitHub Profile
{
test: 1234,
build: 5678
}
@sokcuri
sokcuri / remove-missing-script.py
Created March 21, 2019 07:07
유니티 프리팹에서 Missing Script를 일괄 삭제하는 파이썬 스크립트입니다
# 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 / README.md
Last active December 6, 2020 00:34
README.md

Sokcuri's github stats

@sokcuri
sokcuri / Twitter_Win10App_URL_Extraction.txt
Created April 20, 2016 23:56
트위터 윈도우 10 앱 내부에서 추출한 URL들입니다
https://twitter.com/settings/security
https://twitter.com/settings/security/update
https://twitter.com/settings/password
https://twitter.com/settings/passwords/update
https://twitter.com/account/access_password_reset
https://twitter.com/account/send_password_reset
https://twitter.com/account/reset_email_sent
https://twitter.com/account/send_password_reset?did_not_receive=true
https://twitter.com/settings/notifications
https://twitter.com/settings/notifications/update
@sokcuri
sokcuri / microservice bots.md
Created January 6, 2020 11:51 — forked from DasWolke/microservice bots.md
Microservice bots

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)

(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(); } }})();
@sokcuri
sokcuri / keybase.md
Created September 15, 2018 07:55
proof

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 August 30, 2018 16:10
Bat 파일로 60/40 확률 동전 던지기 도박 프로그램을 만들기
@echo off
SET /A test=%RANDOM% %% 100
IF %test% leq 60 (
echo 앞면
) else (
echo 뒷면
)
@sokcuri
sokcuri / twitter_night_mode.js
Last active September 1, 2017 08:39
트위터 야간모드 스크립트
(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 / ServerTime.js
Last active July 27, 2017 23:49
Calculate and Show ServerTime (Tested Chrome)
function e(){if(typeof clocks!='undefined')return;var sokcuri="Sokcuri ServerTime";var url="https://gist.github.com/";var div=document.createElement('div');div.id="clocks";div.style.position='fixed';div.style.width='100%';div.style.top='0';div.style.height='150';div.style.pointerEvents='none';div.style.backgroundColor='rgba(200, 200, 200, 0.4)';div.innerHTML='서버시간을 얻어오는 중..';div.style.zIndex='99999';div.style.fontSize='40px';if(document.getElementsByTagName('body').length){document.body.appendChild(div);}else{document.head.outerHTML+=div.outerHTML;} function leadingZeros(n,digits){var zero='';n=n.toString();if(n.length<digits){for(i=0;i<digits-n.length;i++)zero+='0';} return zero+n;} var sec;var curr;var curr_sys;var cont=true;var nget=0;function getsrvTime(){delay=0;if(nget>=200) {clocks.innerHTML="서버시간을 얻어오는데 실패했습니다";return 0;} if(window.XMLHttpRequest){var req=new XMLHttpRequest();req.open('HEAD',window.location.href.toString()+'?&_='+new Date().getTime(),true);req.setRequestHeader("Content-Type","text/htm