ffmpeg -i $VIDEO_FILE -vf ass=$ASS_FILE $OUTPUT_FILE
This file contains hidden or 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 | |
USERNAME='flandre' | |
cd /root && \ | |
wget https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt && \ | |
cat localhosts hosts.txt > /etc/hosts && \ | |
rm hosts.txt* && \ | |
sudo -u $USERNAME notify-send -t 30000 '/etc/hosts update' |
This file contains hidden or 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 python | |
import curses | |
import curses.textpad | |
import time | |
stdscr = curses.initscr() | |
#curses.noecho() | |
#curses.echo() |
This file contains hidden or 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
@font-face { | |
font-family: japarifont; | |
src: url(https://cdn.rawgit.com/aratama/kemonogen/417db197/docs/japarifont.woff) | |
format('woff'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
.name { | |
font-size: 16px; |
This file contains hidden or 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 New Userscript | |
// @namespace https://github.com/ipcjs | |
// @version 0.0.1 | |
// @description try to take over the world! | |
// @author ipcjs | |
// @match http://bangumi.bilibili.com/anime/5788/play* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== |
This file contains hidden or 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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url-prefix("https://ani.gamer.com.tw/animeVideo.php") { | |
@media screen and (max-width: 1366px) { | |
#ani_video.vjs-playing:not(.vjs-fullscreen) { | |
position: fixed; | |
top: 0; | |
left: 0; | |
max-height: 100vh; | |
max-width: 100vw; |
This file contains hidden or 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
/* | |
* GM_download polyfill | |
* | |
* @description A polyfill to make your userscript supports GM_download | |
* @author ccloli | |
* @version 1.0 | |
*/ | |
// to use this polyfill, you must add "@grant GM_xmlhttpRequest" at userscript metadata block |
This file contains hidden or 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
// | |
// _oo0oo_ | |
// o8888888o | |
// 88" . "88 | |
// (| -_- |) | |
// 0\ = /0 | |
// ___/`---'\___ | |
// .' \\| |// '. | |
// / \\||| : |||// \ | |
// / _||||| -:- |||||- \ |
This file contains hidden or 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
/* | |
* 存成 ~/桌面/hello.cpp | |
*/ | |
#include <GL/glut.h> | |
void display(void) | |
{ | |
glClear(GL_COLOR_BUFFER_BIT); | |
glutWireTeapot(0.5); |