Skip to content

Instantly share code, notes, and snippets.

View sakage24's full-sized avatar
🌴
On vacation

kiwi-bird sakage24

🌴
On vacation
View GitHub Profile
@sakage24
sakage24 / requirements.txt
Last active May 31, 2017 10:28
2ch_scraper
certifi==2017.4.17
chardet==3.0.3
colorama==0.3.9
cssselect==1.0.1
Django==1.11.1
httplib2==0.10.3
idna==2.5
image==1.5.5
lxml==3.7.3
olefile==0.44
@sakage24
sakage24 / css
Created August 16, 2017 11:00
wordpress用にcssいじってみよう
h1
{
border-left: 0.4em ridge black;
border-bottom: 0.1em groove black;
padding-left: 0.5em;
padding-top: 0.5em;
padding-bottom: 0.5em;
margin: 1em;
}
@sakage24
sakage24 / README.md
Last active August 30, 2017 13:45
ウォーターマーク入れる君

ウォーターマーク入れる君とは?

自身が作成したり描いた画像に対し、薄い透かしと透かし文字(以下、ウォーターマークと呼びます)を入れて新規作成するプログラムです。 元の画像には一切手を加えませんのでご安心下さい。

本プログラムはPython3.6.2を用いて作成されました。 ソースコードを公開していますので、知識のある方は以下から自由に改造していただいても結構です

ウォーターマーク入れる君

@sakage24
sakage24 / shutdown.py
Last active May 4, 2019 07:21
Chromeのダウンロード後に自動でシャットダウンするスクリプト
import os, sys
from time import sleep
TARGET_PATH = os.path.expanduser("~") + "\\Desktop" # ダウンロード先のフォルダを指定
STAND_BY_INIT = 120 # 再実行までの待機時間
TARGET_EXEC = [".crdownload", ".mega"]
MIN = 60
SEC = MIN - STAND_BY_INIT # 現在の待機秒数
def shutdown():
@sakage24
sakage24 / noip2.service
Created January 26, 2022 01:22 — forked from NathanGiesbrecht/noip2.service
Systemd Service file for no-ip.com dynamic ip updater
# Simple No-ip.com Dynamic DNS Updater
#
# By Nathan Giesbrecht (http://nathangiesbrecht.com)
#
# 1) Install binary as described in no-ip.com's source file (assuming results in /usr/local/bin)
# 2) Run sudo /usr/local/bin/noip2 -C to generate configuration file
# 3) Copy this file noip2.service to /etc/systemd/system/
# 4) Execute `sudo systemctl daemon-reload`
# 5) Execute `sudo systemctl enable noip2`
# 6) Execute `sudo systemctl start noip2`