Skip to content

Instantly share code, notes, and snippets.

View blood72's full-sized avatar

Kim Dong-Hyeon blood72

  • @marketboro 마켓보로
  • South Korea
  • 11:27 (UTC +09:00)
View GitHub Profile
@blood72
blood72 / google-calendar-today.js
Created March 24, 2023 12:36
click today for check schedules
// ==UserScript==
// @name Google Calendar Today
// @description click today for check schedules
// @version 1.0.0
// @match https://calendar.google.com/calendar/u/0/r?tab=mc&pli=1
// @grant none
// ==/UserScript==
(function () {
setTimeout(function () {
@blood72
blood72 / Vivaldi_private.applescript
Last active September 25, 2022 16:20
Open Vivaldi Browser on private mode for Choosy (applescript)
on open location this_URL
set _NOT_ACTIVATED to 0
if application "Vivaldi" is running then
# open previous browser
tell application "Vivaldi"
set totalWindows to count of window
set currentWindow to 1
set selectedWindow to _NOT_ACTIVATED
@blood72
blood72 / tistory-copy-without-source.js
Created September 22, 2022 17:20
Tistory copy without source
// ==UserScript==
// @name Tistory copy without source
// @version 1.0.0
// @description remove source when copying
// @match http://*.tistory.com/*
// @match https://*.tistory.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
@blood72
blood72 / synology-ca-renew.sh
Last active September 27, 2021 13:36
Synology DSM 7 wildcard certificate renewal script without restarting (DS920+)
/bin/python - <<EOF
import os
from sys import exit
from json import load as parse
from filecmp import cmp, clear_cache
# env
DOMAIN = '__YOUR_DOMAIN__'
DEFAULT_CERT_KEY = '__YOUR_CA_DIR__'
ACME_DIR = '__YOUR_ACME_DIR__'
@blood72
blood72 / BlueStacks.ahk
Last active September 25, 2021 05:57
Default audio switcher temporarily for BlueStacks 4 (AHK script)
#NoEnv
/*
* Variables
*/
AUDIO_DEVICE_1 = __SOUND_DEVICE_WHAT_YOU_WANT_TO_SET_TEMPORARILY__
AUDIO_DEVICE_2 = __SOUND_DEVICE_THE_ORIGINAL_ONE__
;BLUESTACKS4_COMMAND = -json "{\"app_icon_url\":\"\",\"app_name\":\"Microsoft Launcher\",\"app_url\":\"\",\"app_pkg\":\"com.microsoft.launcher\"}"
global BLUESTACKS4_LAUNCHER_PATH := "__YOUR_BLUESTACKS4_PATH__\Bluestacks.exe " . BLUESTACKS4_COMMAND
@blood72
blood72 / khinsider-batch-downloader.js
Created September 6, 2021 19:08
khinsider batch downloader (mainly written by maple3142)
// ==UserScript==
// @name khinsider Batch Downloader
// @description batch download for downloads.khinsider.com
// @version 1.0.0
// @match https://downloads.khinsider.com/game-soundtracks/album/*
// @require https://cdn.jsdelivr.net/npm/web-streams-polyfill@3.1.1/dist/ponyfill.min.js
// @require https://cdn.jsdelivr.net/npm/streamsaver@2.0.5/StreamSaver.js
// @require https://cdn.jsdelivr.net/npm/streamsaver@2.0.5/examples/zip-stream.js
// @connect 23.237.126.42
// @connect vgmsite.com
@blood72
blood72 / gmarket-mouse-right-click-enabler.js
Last active July 11, 2021 08:14
Accept mouse right button click on Gmarket
// ==UserScript==
// @name Gmarket Mouse Click Enabler
// @version 1.1.0
// @description accept mouse right button click
// @match http://item.gmarket.co.kr/*
// @match https://item.gmarket.co.kr/*
// @match http://*.auction.co.kr/*
// @match https://*.auction.co.kr/*
// @grant none
// @run-at document-end
@blood72
blood72 / wa-event-parser.py
Created May 30, 2021 11:05
2018-10-15~2018-11-02 와룡전설 이벤트 글 추적기 (python 3.5)
from bs4 import BeautifulSoup
from tkinter import Tk, Label, IntVar, Entry, Button
import requests
import ctypes
import win32process
import os
import sys
# variables
base_url = "http://wa.ilovegame.co.kr/event/read/"
@blood72
blood72 / naver-cc-disable.js
Created May 27, 2021 02:58
Naver Hyperlink-Auditing Blocker; bypass to move cc.naver.com
// ==UserScript==
// @name Naver Hyperlink-Auditing Blocker
// @version 1.0.0
// @description bypass to move cc.naver.com
// @match http://*.naver.com/*
// @match https://*.naver.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
@blood72
blood72 / array_column_recursive.php
Last active April 12, 2021 18:38
Return the values from a single column in the input array recursively
<?php
if (! function_exists('array_column_recursive')) {
/**
* Return the values from a single column in the input array recursively
*
* @param array $array
* @param int|string|null $columnKey
* @param int|string|null $indexKey
* @return array