Skip to content

Instantly share code, notes, and snippets.

View ssut's full-sized avatar
:octocat:

Suhun Han ssut

:octocat:
View GitHub Profile
@ssut
ssut / list.txt
Last active December 11, 2021 05:28
uBlock rules
[Adblock Plus 2.0]
! Title: ssut
! Version: 20211211
! https://www.clien.net
www.clien.net##.main_top_ad
www.clien.net##.main_center_ad
www.clien.net##.list_top_ad
www.clien.net###hongboInfoList
www.clien.net##.list_bottom_ad
// ==UserScript==
// @name NoReferrer
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match http*://*/*
// @grant GM_xmlhttpRequest
// @connect coupa.ng
// @connect a.aliexpress.com
@ssut
ssut / download.js
Last active June 17, 2020 02:14
download vscode extensions from settings sync's cloudSettings file
const fs = require('fs');
const { promisify } = require('util');
const child = require('child_process');
const statAsync = promisify(fs.stat);
const unlinkAsync = promisify(fs.unlink);
const UA = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36';
async function main() {
@ssut
ssut / Currencies.md
Last active May 25, 2021 08:28 — forked from aaronhayes/Currencies.md
Common Currencies Array JSON
import * as amqp from 'amqplib';
export class ExponentialBackoffHelper {
private maxDelay: number = 60;
private factor: number = 2;
private maxAttempts: number = 5;
constructor(
@ssut
ssut / dns-over-https.go
Created February 16, 2017 13:48
dnsoverhttps
package main
import (
"encoding/json"
"errors"
"net/url"
fasthttp "github.com/valyala/fasthttp"
)
@ssut
ssut / packages.md
Last active November 27, 2016 10:37
memo
@ssut
ssut / payapp.py
Created May 17, 2016 12:53
A Simple PayApp Implementation
# coding: utf-8
try:
import requests
except ImportError:
raise ImportError(u'requests 패키지가 설치되어있지 않습니다.\n>> pip install requests')
from urllib.parse import parse_qsl
from collections import namedtuple
from datetime import datetime
import json
@ssut
ssut / main.py
Created February 9, 2016 07:06
Simplest way to sort Japanese in python
import icu
import romkan
from unihandecode import Unihandecoder
def main():
d = Unihandecoder(lang='ja')
collator = icu.Collator.createInstance(icu.Locale('ja_JP.UTF-8'))
table = [
u"女言葉の消失", # 2
@ssut
ssut / clien.css
Created December 16, 2015 17:13
clien transformer
/* layout
-------------------------------------*/
body {
margin: 0 3.5%;
padding: 0;
font-family: 'NanumGothic';
}
p, h2, tr, td, td a, select {
font-family: 'NanumGothic'!important;