Skip to content

Instantly share code, notes, and snippets.

View Winding6636's full-sized avatar
🤔
:thinking_face:

Winding Winding6636

🤔
:thinking_face:
View GitHub Profile
@Winding6636
Winding6636 / BetterDiscord_CCSS
Created November 6, 2021 18:34
Discord SidelistBars Size Custom CSS
/* 右ユーザーリストバー */
.container-2wlB3z,
.content-3YMskv[role=list]{
width: 180px;
}
/* 左サーバーリストバー */
nav[aria-label="サーバー サイドバー"],
.listItem-2Ig28I,
@Winding6636
Winding6636 / dlsite_get.sh
Last active July 7, 2024 22:44
DLsite Product Download Script / OpeEnv: WSL1 WSL2 ArchLinux
#!/bin/bash
# DLsite Product Downloader
source .session > /dev/null 2>&1
function sessionchk() {
result=`curl -L -sS "https://ssl.dlsite.com/maniax/mypage" -H 'authority: www.dlsite.com' -H "cookie: AuthCookie="$AuthCookie"; __DLsite_SID="$DSID";" --compressed | grep -oP '(?<=<title>)(.+)(?=</title)'`
if [[ $result == "新規登録 - 新規登録" ]] ; then
echo :-: 認証エラー :-:
return 1
else
#!/bin/sh
URL="http://drive.google.com/uc?export=download&id=1IGMs9ypRgJmfcZY6sgH_JjroFnUpUlf2"
InsDIR=KiwiMonitor
echo Kyoshin Monitor Update.
echo
echo Application Download...
wget $URL -O kiwimonitor.zip
echo ExtractApplication.
@Winding6636
Winding6636 / Twitter_Promotion_AccountIDs
Last active July 5, 2020 05:21
Twitter Promotion IDs 膨大で重たいぞ
756278
3512041
5176591
5562702
6654042
6824512
7198602
7550252
9646822
9797352
@Winding6636
Winding6636 / ytdl_smpatch
Created July 4, 2020 11:31
youtube-dl niconico url sm support patch
#!/bin/bash
# pip package Youtube-DL patch script
# patch : niconico URL sm|nm|so support
#
set -Ce
#Download
wget -O ./niconico_sm.patch https://raw.githubusercontent.com/Winding6636/youtube-dl/nico_short/niconico_sm.patch
#Patched
@Winding6636
Winding6636 / abemadl.sh
Last active February 16, 2021 17:04
abema_tv streamlink script
#!/bin/bash
# Abema TV Download Script
#
# require streamlink
# 作品ページ: https://abema.tv/video/title/{作品ID}
# 各話ページ: https://abema.tv/video/episode/{作品ID}_s1_p{話数ID}
# チャンネル見逃し配信: https://abema.tv/channels/abema-anime-2(チャンネルID)/slots/{動画ID}
# 無料もののみ またその判定はしていない。トークンを有料垢にすれば多分動く
# ./abemadl.sh URL {-f|-t title}
#
@Winding6636
Winding6636 / ublocklist.txt
Last active November 23, 2021 10:55
ublocklist my lists
*://game8.jp/*
*://altema.jp/*
*://gamy.jp/*
*://gamewith.jp/*
*://appmedia.jp/*
*://kamigame.jp/*
*://gamerch.com/*
*://blog.esuteru.com/*
*://jin115.com/*
*://codeday.me/*
#!/bin/bash
# Change the max password days to 99999
cat /etc/shadow | cut -d: -f1 | xargs -I {} chage -I -1 -m 0 -M 99999 -E -1 -W 7 {}
sed -i 's/^PASS_MAX_DAYS.*/PASS_MAX_DAYS 99999/' /etc/login.defs
@Winding6636
Winding6636 / ffmpeg_concat.py
Created September 12, 2019 14:54
autoconcatgenescript
#!/usr/bin/env python3
import argparse
import os
import subprocess
VERSION = '1.0'
def process_arguments():
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
@Winding6636
Winding6636 / adblock filter niconico
Last active May 30, 2020 06:03
Niconico Adv Whitelist
@@||api.nicoad.nicovideo.jp/v1/*
@@||api.nicoad.nicovideo.jp/v2/*
@@||nicoad.nicovideo.jp/assets/*
@@||nicoad.nicovideo.jp/nage/publish*
@@||nicoad.nicovideo.jp/live/publish/balloon*
@@||secure-dcdn.cdn.nimg.jp/nicoad/*