Skip to content

Instantly share code, notes, and snippets.

Avatar
🔞
PornHub, t66y, Go.

Zeo KarlZeo

🔞
PornHub, t66y, Go.
View GitHub Profile
@KarlZeo
KarlZeo / github.css
Created Mar 8, 2019
CSS for github code
View github.css
.markdown-body pre {
box-shadow: 0 5px 12px rgba(255,255,255,.25);
filter: invert(1) hue-rotate(180deg) saturate(200%);
background-color: #ced0d4 !important;
border-radius: .35rem !important;
}
.blob-wrapper {
box-shadow: 0 5px 12px rgba(255,255,255,.25);
filter: invert(1) hue-rotate(180deg) saturate(200%);
background-color: #ced0d4 !important;
@KarlZeo
KarlZeo / subtitle-extract.md
Created Feb 17, 2018 — forked from pavelbinar/subtitle-extract.md
Extract subtitles from *.mkv files on Mac OS X
View subtitle-extract.md

Extract Subtitles From .mkv

This instructions whall work on any system (Mac OS X, Linux) supporting installation of mkvtoolnix

Install mkvtoolnix

If you don't have Homebrew installed, do it first, the continue with following command:

brew install mkvtoolnix
@KarlZeo
KarlZeo / sublime-project.json
Created Dec 9, 2017 — forked from swiftcafex/sublime-project.json
Sublime 配置为 iOS 编译工具
View sublime-project.json
// 完整教程请参看 http://swiftcafe.io/2016/10/24/sublime-build-ios/
{
"folders": [
{
"follow_symlinks": true,
"path": "."
}
],
"build_systems": [
{
@KarlZeo
KarlZeo / osx-for-hackers.sh
Created Jul 31, 2016 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned. Also, please don't email me about this script, my poor inbox...
View osx-for-hackers.sh
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
@KarlZeo
KarlZeo / alternative.yaml
Created Jun 30, 2016 — forked from lotem/alternative.yaml
Rime 別樣設定,使用西文標點、[ ] 鍵換頁
View alternative.yaml
# Rime alternative settings
# encoding: utf-8
#
# difference from default settings:
# 1. ascii-style punctuation in half-shape mode
# 2. [ ] as paging keys
#
# save this file as:
# (Linux) ~/.config/ibus/rime/alternative.yaml
# (Mac OS) ~/Library/Rime/alternative.yaml
@KarlZeo
KarlZeo / alternative.yaml
Created Jun 30, 2016 — forked from yxjxx/alternative.yaml
Rime中文输入状态下也使用英文标点
View alternative.yaml
###中文输入法下也使用英文标点2013/8/14 yxj
###有些用戶習慣在中文裏使用ASCII標點,那麼與其一個一個覆寫,不如 整套都換掉 。
###取得這份設定檔—— Rime 別樣設定,使用西文標點(一个gist:https://gist.github.com/lotem/2334409) 在用戶資料夾保存爲 alternative.yaml ;
###再將輸入方案中的「導入 default 設定」通過打 patch 替換爲「導入 alternative 設定」
###刚刚遇到一个问题,因为教程里面说需要这前两行,所以就直接粘贴了,但是发现模糊音失效了,找到原因是[只能有一个patch:,因为上面已经有了,所以就下面就不要了,注意缩进,两个英文空格]
###又加入了一行代码['key_binder/import_preset': alternative]作用是让[ ]可以翻页,如果一开始就用 [ 上翻页的会连高亮的字加[都一起上屏「比如你好[ 」就会这样了,哈哈
###patch:
##'punctuator/import_preset': alternative
##'key_binder/import_preset': alternative
######