Skip to content

Instantly share code, notes, and snippets.

@Canorus
Canorus / darkreader.js
Created September 4, 2021 02:44 — forked from kfur/darkreader.js
Dark Reader userscript for Safari browser
// ==UserScript==
// @name DarkReader
// @match *://*/*
// @grant none
// @run-at document-start
// ==/UserScript==
// MIT License
// Copyright (c) 2019 Alexander Shutau
@Canorus
Canorus / README.md
Created August 5, 2020 01:54 — forked from channprj/README.md
실행중인 파이썬 프로세스 모니터링하기

실행중인 파이썬 프로세스 모니터링하기

사전준비

pip install pyrasite urwid meliae

사용방법

set srcFile to ((path to desktop) as text) & "dialog.txt"
set lns to paragraphs of (read file srcFile as «class utf8»)
repeat with ln in lns
my stringToClipboard(ln)
tell application "KakaoTalk" to activate
tell application "System Events"
keystroke "v" using command down
key code 36
delay 1.5
@Canorus
Canorus / svg2icns.sh
Last active February 2, 2021 06:31 — forked from adriansr/svg2icns.sh
Convert SVG file to macOS icon (icns) format
#!/bin/sh -x
set -e
SIZES="
16,16x16
32,16x16@2x
32,32x32
64,32x32@2x
128,128x128