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==
@sokcuri
sokcuri / twitch_pip.js
Created January 17, 2019 13:10
Twitch PIP Request Script
javascript:(function(){document.querySelector('.video-player video').requestPictureInPicture()})();
@sokcuri
sokcuri / key.md
Last active July 9, 2022 10:39
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA

@sokcuri
sokcuri / petitlyrics_getlyrics.js
Last active February 10, 2022 21:18
PetitLyrics GetLyrics Script
function e(){if(document.URL.lastIndexOf('petitlyrics.com/lyrics/')==-1)return;$.post('//petitlyrics.com/com/get_lyrics.ajax',{lyrics_id:document.URL.substring(document.URL.lastIndexOf('/')+1)},function(data){let s='';for(let x of data){s+=Base64.decode(x.lyrics)+'\r\n';};prompt($('.title-bar').text(),s);})};e();
@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
javascript:void(a=window.frames.NetFunnel,a.RTYPE_CHK_ENTER=a.RTYPE_SET_COMPLETE);
/**
* Cafe24 NaverPay 이벤트 연동 스크립트
* sokcuri <sokcuri@gmail.com>
**/
(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/*