-
Run the command:
python pixiv_auth.py login
This will open the browser with Pixiv login page.
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
#!/bin/sh | |
#=============================================================================== | |
# tile-thumbnails | |
# create an image with thumbnails from a video | |
# modified from https://github.com/NapoleonWils0n/ffmpeg-scripts/blob/master/tile-thumbnails, adapte for jellyfin docker | |
#=============================================================================== | |
# dependencies: | |
# ffmpeg ffprobe awk |
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
// ==UserScript== | |
// @name FastGit | |
// @version 0.8 | |
// @description GitHub Clone or download、Releases 下载加速 | |
// @author Vhxubo | |
// @license MIT | |
// @icon https://github.githubassets.com/favicon.ico | |
// @homepage https://gist.github.com/vhxubo/d67fbd5bb3b7308b2e3690ca58e12c12 | |
// @namespace https://gist.github.com/vhxubo/d67fbd5bb3b7308b2e3690ca58e12c12 | |
// @match https://github.com/*/* |
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
################### | |
# # | |
# SU.SG # | |
# # | |
################### | |
# https://mp.weixin.qq.com/s/H3OOqhFRr0YZGorIAlsCjA | |
# todo | |
# replace or remove content-security-policy header |
Spring Boot applications can run within a container by Multi-Layer based approach. Each layer may contain different parts of the application such as dependencies, source code, resources and even snapshot dependencies.
In the other hand, with Multi-Stage Build approach, any application can be built at a separate image from the final image that will contain the runnable application.
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
这个脚本综合了下面2个脚本,并含有DD windows系统的功能。 | |
1、Linux下网络安装Debian/Ubuntu纯净版一键脚本 | |
2、Linux下网络安装CentOS纯净版一键脚本 | |
仅适用于KVM,不适合OpenVZ。 | |
默认root密码为 Vicer | |
一、安装软件 | |
Debian/Ubuntu: |
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
#EXTM3U name="bj-unicom-iptv" | |
#EXTINF:-1,CCTV1 | |
rtp://239.3.1.1:8000 | |
#EXTINF:-1,CCTV2 | |
rtp://239.3.1.2:8004 | |
#EXTINF:-1,CCTV4 | |
rtp://239.3.1.4:8216 | |
#EXTINF:-1,CCTV7 | |
rtp://239.3.1.7:8024 | |
#EXTINF:-1,CCTV9 |
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
public static void main(String[] args) { | |
Segment segment = HanLP.newSegment().enableAllNamedEntityRecognize(false).enableCustomDictionary(false); | |
List<List<Term>> result = segment.seg2sentence("信里说他们离青云山还有很远,老祖宗说不着急,走个两三年也没什么打紧,所以他们走走停停," + | |
"有时听说哪里有好看好玩的事物,也会专门绕路过去,停驻几天。又说路上什么都好,哪怕是荒郊野外," + | |
"老祖宗也能变出热腾腾的吃食,还有各种衣物,穿戴比家里都要好。他们还自己动手搭过木屋,在一颗很高很大的树上," + | |
"建起了一座小小的屋子,为此他还专门学会了爬树…总之是一切都好,让父母大人不用担心他,老祖宗有个百宝囊,里面什么都有," + | |
"连书都有很多,没事的时候,他们就跟着老祖宗读书练字,最后祝高堂安泰。", true); | |
for (List<Term> sentence : result) { | |
for (Term term : sentence) { | |
System.out.printf("%s ", term.word); |
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
# !/usr/bin/env python3 | |
# | |
# nianfo.py - TudouCode Demo in Python 3 | |
# Credit: https://github.com/lersh/TudouCode/ | |
# | |
# Note: | |
# | |
# This is the first version('佛曰') of TudouCode('与佛论禅'). | |
# The second version('如是我闻') needs compression and I can't debug. | |
# |
NewerOlder