Skip to content

Instantly share code, notes, and snippets.

Avatar

tenhow

View GitHub Profile
@tenhow
tenhow / Mac Chrome Application Shortcuts 2018-06.txt
Created Dec 3, 2018 — forked from yeutterg/Mac Chrome Application Shortcuts 2018-06.txt
How to enable Application Shortcuts on Chrome for Mac, as of June 2018
View Mac Chrome Application Shortcuts 2018-06.txt
How to get "Application Shortcut" functionality on Chrome for Mac, as of June 2018:
1. Type chrome://flags/ in the URL bar and hit return
2. Enable these options:
- The new bookmark app system
- Allow hosted apps to be opened in windows
- Creation of app shims for hosted apps on Mac
3. Restart the browser
4. Visit the web page you would like to turn into an application
5. Navigate to Settings > More Tools > Create Shortcut...
View luna_pinyin.custom.yaml
# luna_pinyin.custom.yaml
# 修改字典名爲 luna_pinyin.kunki
# 其對應的用戶詞典名取句點之前部分即 luna_pinyin
patch:
translator/dictionary: luna_pinyin.kunki
@tenhow
tenhow / install_fish_debian.sh
Created Apr 1, 2018 — forked from mamiu/install_fish_debian.sh
Install fish shell in Debian 8 (commands from the original fish shell website).
View install_fish_debian.sh
#!/bin/bash
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/2/Debian_8.0/ /' >> /etc/apt/sources.list.d/fish.list
apt-get update
wget -qO - http://download.opensuse.org/repositories/shells:fish:release:2/Debian_8.0/Release.key | apt-key add -
apt-get update
apt-get install -y fish
You can’t perform that action at this time.