Skip to content

Instantly share code, notes, and snippets.

View freedomlang's full-sized avatar
💭
I may be slow to respond.

blackie freedomlang

💭
I may be slow to respond.
View GitHub Profile
@freedomlang
freedomlang / install-ffmpeg-centos.sh
Last active December 23, 2023 21:43 — forked from cbosco/install-ffmpeg-centos.sh
Compile ffmpeg in CentOS 7
#!/bin/bash
if [ "`/usr/bin/whoami`" != "root" ]; then
echo "You need to execute this script as root."
exit 1
fi
###############################################################################
# ffmpeg installer for centos 7
# based on instructions at https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
@freedomlang
freedomlang / squirrel-theme-apathy.sh
Last active July 28, 2018 10:16
auto set theme(apathy) for squirrel
echo 'patch:
style:
color_scheme: apathy
horizontal: true
inline_preedit: true
candidate_format: "%c\u2005%@ \u2005" # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间。
font_point: 16 # 候选文字大小
label_font_point: 14 # 候选编号大小
corner_radius: 5 # 候选条圆角
border_height: 0 # 窗口边界高度,大于圆角半径才生效
@freedomlang
freedomlang / eslintrc
Created May 28, 2017 15:53
settings for webpack-dashboard's error
{
"root": true,
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
extends: "airbnb-base",
rules: {
},