Skip to content

Instantly share code, notes, and snippets.

keep it real

Jiahao Guo frantic1048

keep it real
Block or report user

Report or block frantic1048

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View aur_dep_indicator.user.css
#pkgdepslist a[href^="/packages/"]::after {
display: inline-block;
margin-left: 0.4em;
margin-right: 0.2em;
line-height: 1;
vertical-align: top;
font-size: 0.6em;
color: #333;
content: "AUR";
frantic1048 / glowing-bear-style.css
Created Mar 16, 2017
Stylished glowing bear stylesheet
View glowing-bear-style.css
.content {
height: 100%;
min-height: 100%;
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4)), url("http://localhost/images/ 346501.png");
background-color: white;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;

Keybase proof

I hereby claim:

  • I am frantic1048 on github.
  • I am frantic1048 ( on keybase.
  • I have a public key whose fingerprint is D2DE 8CCA 1E74 D572 369F 4C69 9207 632B D48B DDAA

To claim this, I am signing this object:

frantic1048 / loi.js
Last active Dec 1, 2016
Exract video frames with subtitle according to a .ass subtitle
View loi.js
#!/usr/bin/env node
* loi.js
* Extract video frames with subtitle according to .ass subtitle file.
* usage:
frantic1048 /
Last active Oct 13, 2019
KDE KSysGuard NVIDIA GPU temperature/memory/utilization sensor
#!/usr/bin/perl -w
# act as a KSysGuard sensor
# provides NVIDIA GPU info via `nvidia-settings`
# Usage (e.g. add gpu temperature sensor)
# 1. save this file, make sure it has a exec permission
# 2. in KSysGuard's menu, open `File` -> `Monitor Remote Machine`
# 3.1 in new dialog, type `Host` whatever you want
# 3.2 set `Connection Type` to `Custom command`
frantic1048 /
Last active Sep 25, 2018
waifu2x batch operation wrapper
waifu () {
if [[ $# -eq 0 ]]; then
cat << EOF
Usage: waifu [OPTIONS] FILE1 [FILE2 ...]
-d dry run, just print out the commands to exec.
frantic1048 / PKGBUILD
Last active Apr 29, 2016
Arch Linux patched linux kernel for Bug 1317116 - System freeze when Wacom One Tablet (CTL-471) is attached
# $Id: PKGBUILD 265148 2016-04-19 06:55:26Z tpowa $
# Maintainer: Tobias Powalowski <>
# Maintainer: Thomas Baechler <>
#pkgbase=linux # Build stock -ARCH kernel
pkgbase=linux-Kafuu # Build kernel with a different name
arch=('i686' 'x86_64')
frantic1048 / restyle_tree_style_tab.user.css
Created Nov 27, 2015
A stylish style restyling awesome Tree Style Tab addon on Firefox, e.g. adding a background image XD
View restyle_tree_style_tab.user.css
/* author:
* frantic1048 (
* description:
* a simple stylish style costmizing key style of Tree Style Tab addon for Firefox
* Tree Style Tab:
* usage:
* create a blank stylish style, paste this file into editor, click save ~
* comment:
* modify the rules to fit your flavor :P
frantic1048 / getImageDataFromInput.js
Last active Dec 7, 2015
get ImageData(pixel information) directly from HTML Input Element
View getImageDataFromInput.js
/* use on <input> like this, multiple is optional.
* <input
* type="file"
* multiple
* accept="image/*"
* onchange={handleFile}
* />
function handleFile() {
function extractDataAndDoSomething(f) {
frantic1048 / stackedit-backgroundimage.user.css
Last active Nov 12, 2015 with background image
View stackedit-backgroundimage.user.css
@namespace url(;
@-moz-document domain("") {
/* set page background image
* adjust these rules to your flavor :)
background-image:url('<path to your background image>');
background-repeat: no-repeat;
You can’t perform that action at this time.