This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
overscroll-behavior-x: none; | |
} | |
section.publish-group.vk-publish-group.publish-group--expanded { | |
left: 64px !important; | |
opacity: 0.8; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setTimeout(() => { | |
const tweetButton = document.querySelector("div[aria-label='ツイートする']"); | |
const observer = new MutationObserver(() => { | |
if (tweetButton.getAttribute('aria-disabled') !== 'true') tweetButton.click(); | |
}); | |
observer.observe(tweetButton, {attributes: true}); | |
tweetButton.click(); | |
}, 5000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
chcp 65001 | |
echo %~2>voice.txt | |
curl -s -X POST "localhost:50021/audio_query?speaker=%1" --get --data-urlencode text@voice.txt > query.json | |
curl -s -H "Content-Type: application/json" -X POST -d @query.json "localhost:50021/synthesis?speaker=%1" > %~3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<!-- | |
HHH | |
HHWHH UUUVOCOwWH | |
UUVO7777OVOOOCCCOCzzCzzCCOOOOVU0VV7TH HV7<<<<<>;;;+zXH | |
HHHHU0OC711<<_` -(;;>>;>;;>;;;;;;>>>>><<~`` ~<?OUWHH N NN HH0I!` ` _(>;;;zXWH | |
HU0I<<<<;;:;;><<____(<;;;;>>;;>>>>>>>>>>?<~_``````` _<1zOXWHH HHHHUOz<<_ `` .(;>;+zwW | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TLに流れてる画像回収 with dlib+TPTSモデル | |
import os | |
import time | |
import datetime | |
import urllib | |
import json | |
import sqlite3 | |
import tweepy as tp | |
from dlib_detector import face2d_detect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TLに流れてる画像回収 with lbpcascade_animeface 完全版 | |
import os | |
import time | |
import datetime | |
import urllib | |
import json | |
import sqlite3 | |
import tweepy as tp | |
from lbpcascade import face2d_detect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TLに流れてる画像回収 with lbpcascade_animeface 重複検出版 | |
import os | |
import time | |
import datetime | |
import urllib | |
import json | |
import tweepy as tp | |
from lbpcascade import face2d_detect | |
from image_hash import phash_calc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TLに流れてる画像回収 with lbpcascade_animeface | |
import os | |
import time | |
import datetime | |
import urllib | |
import json | |
import tweepy as tp | |
from lbpcascade import face2d_detect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TLに流れてる画像をすべて回収 | |
import os | |
import time | |
import datetime | |
import urllib | |
import json | |
import tweepy as tp | |
def get_oauth(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 環境構築確認 | |
import json | |
import tweepy as tp | |
def get_oauth(): | |
"""設定ファイルから各種キーを取得し、OAUTH認証を行う""" | |
setting = json.load(open("./setting.json")) | |
auth = tp.OAuthHandler(setting['CK'], setting['CS']) | |
auth.set_access_token(setting['Admin_Key'], setting['Admin_Secret']) |