Skip to content

Instantly share code, notes, and snippets.

View sokcuri's full-sized avatar

Sokcuri sokcuri

View GitHub Profile
@sokcuri
sokcuri / activity.py
Created February 13, 2023 00:19 — forked from iHani/activity.py
undocumented twitter activity api
# coding: utf-8
import oauth2 as oauth
import json
CONSUMER_KEY = "yT577ApRtZw51q4NPMPPOQ"
CONSUMER_SECRET = "3neq3XqN5fO3obqwZoajavGFCUrC42ZfbrLXy5sCv8"
ACCESS_KEY = ""
ACCESS_SECRET = ""
consumer = oauth.Consumer(key=CONSUMER_KEY, secret=CONSUMER_SECRET)
@sokcuri
sokcuri / coupay_physical_keyboard.user.js
Last active November 15, 2022 03:09 — forked from koreapyj/coupay_physical_keyboard.user.js
쿠페이 비밀번호 키보드 입력 (Pure JS)
// ==UserScript==
// @name Coupay Physical Keyboard
// @namespace https://koreapyj.dcmys.kr/
// @version 1.0
// @description Your mother
// @author koreapyj, sokcuri
// @match https://rocketpay.coupang.com/rocketpay/pay/authentication
// @icon https://www.google.com/s2/favicons?sz=64&domain=rocketpay.coupang.com
// @grant none
// ==/UserScript==
/**
* Cafe24 NaverPay 이벤트 연동 스크립트
* sokcuri <[email protected]>
**/
(function(w) {
var originalFunc = w.basket_result_action;
w.basket_result_action = function() {
if (!arguments[2]) return;
var oTarget = CAPP_SHOP_FRONT_COMMON_UTIL.findTargetFrame();
@sokcuri
sokcuri / Dockerfile
Created April 14, 2021 03:13 — forked from andromedarabbit/Dockerfile
Create or modify the AWS security group, which only allows GitHub servers to access to our services
FROM python:3.7
# Set the timezone to KST
RUN cat /usr/share/zoneinfo/Asia/Seoul > /etc/localtime
RUN set -ex \
&& apt-get clean && apt-get update \
&& apt-get install --no-install-recommends -y groff \
&& rm -rf /var/lib/apt/lists/*
{
test: 1234,
build: 5678
}
@sokcuri
sokcuri / README.md
Last active December 6, 2020 00:34
README.md

Sokcuri's github stats

@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)

@sokcuri
sokcuri / wgcf.py
Created January 1, 2020 05:54 — forked from oskar456/wgcf.py
Cloudflare WARP linux client (using wg-quick for actual tunnel setup)
#!/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 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 / twitch_pip.js
Created January 17, 2019 13:10
Twitch PIP Request Script
javascript:(function(){document.querySelector('.video-player video').requestPictureInPicture()})();