Skip to content

Instantly share code, notes, and snippets.

Avatar

Bao, Huang-Huang EHfive

View GitHub Profile
@EHfive
EHfive / mastodon-emoji-scaling.css
Last active Sep 4, 2020
Custom CSS for EHfive's Mastodon instance (https://mstdn.eh5.me)
View mastodon-emoji-scaling.css
/* START mastodon emoji scaling by @eh5@eh5.me */
.account__header__content,
.reply-indicator__content,
.status__content:not(.status__content--collapsed) {
overflow: unset;
}
.account__header__content .emojione,
.reply-indicator__content .emojione,
.status__content:not(.status__content--collapsed) .emojione {
View keybase.md

Keybase proof

I hereby claim:

  • I am ehfive on github.
  • I am eh5 (https://keybase.io/eh5) on keybase.
  • I have a public key ASAUyeUtjxJDMzKXgcgAI5L_h2VdZ1INC1oCPD-P4UqDYwo

To claim this, I am signing this object:

@EHfive
EHfive / Blogment_CLA.md
Last active May 20, 2020 — forked from CLAassistant/SAP_CLA
Blogment Individual Contributor License Agreement
View Blogment_CLA.md

Blogment Individual Contributor License Agreement

Thank you for your interest in contributing to open source software projects (“Blogment”) made available by Blogment IO or its affiliates (“Blogment IO”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Blogment IO in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact blogmentio@eh5.me.

You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.

Copyright License. You hereby grant, and agree to grant, to Blogment IO a non-exclusive

@EHfive
EHfive / PKGBUILD
Last active Sep 12, 2020
给VLC打补丁, 使flac网络文件/流的Content-Type始终为"audio/flac", 以"修复"网易云音乐获取的flac网络文件Content-Type为"audio/mpeg"而导致VLC不能正确识别文件而播放失败的问题
View PKGBUILD
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
# Contributor: Martin Sandsmark <martin.sandsmark@kde.org>
pkgname=vlc
_vlcver=3.0.6
# optional fixup version including hyphen
_vlcfixupver=
pkgver=${_vlcver}${_vlcfixupver//-/.r}
@EHfive
EHfive / PKGBUILD
Last active Feb 15, 2019
bluez-git PKGBUILD
View PKGBUILD
# Contributor: Huang-Huang Bao <eh5@sokka.cn>
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy@archlinux.org>
_pkgbase=bluez
pkgbase=$_pkgbase-git
pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 'bluez-plugins')
pkgver=5.50.r283.g1aa16d14c
View bluezutils.py
#!/usr/bin/env python2
## From bluez (GPL2)
import dbus
SERVICE_NAME = "org.bluez"
ADAPTER_INTERFACE = SERVICE_NAME + ".Adapter1"
DEVICE_INTERFACE = SERVICE_NAME + ".Device1"
View 20-bt-auto-enable-a2dp.rules
# /etc/udev/rules.d/20-bt-auto-enable-a2dp.rules
# hxss
SUBSYSTEM=="bluetooth", ACTION=="add", RUN+="/home/replace-it/bt-auto-enable-a2dp.sh"
View LLproxy_user_json.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Get user_json from LLproxy</title>
</head>
<body>
<script>
function Jump2MainPage() {
location = "https://llsifteambuilder.herokuapp.com/build_team/"
You can’t perform that action at this time.