Skip to content

Instantly share code, notes, and snippets.

胡起 huqi

Block or report user

Report or block huqi

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
@huqi
huqi / basecommand_emacs
Created Oct 27, 2017 — forked from shijinkui/basecommand_emacs
Emacs常用基本快捷键
View basecommand_emacs
/************************************/
基本命令
C-x C-f 打开/新建文件
C-x C-s 保存当前缓冲区
C-x C-w 当前缓冲区另存为
C-x C-v 关闭当前Buffer并打开新文件
C-x i 光标处插入文件
C-x b 切换Buffer
C-x C-b 显示Buffer列表
C-x k 关闭当前Buffer
View Emacs.md

Setting up Emacs daemon on OS X

Tired of waiting for emacs to start on OS X? This step by step guide will teach you how to install the latest version of emacs and configure it to start in the background (daemon mode) and use emacsclient as your main editor.

Install Homebrew

First you'll need to install the [Homebrew package manager][brew] if yo haven't already. It is amazing.

View mac_gnu_grep
# Enable dupe and install
brew tap homebrew/dupes
brew install homebrew/dupes/grep
# Install the perl compatible regular expression library
brew install pcre
@huqi
huqi / start-conky.sh
Last active Aug 29, 2015
start conky
View start-conky.sh
#!/bin/sh
sleep 20
conky -d -c ~/.conkyrc
exit
@huqi
huqi / a_sync.sh
Last active Aug 29, 2015
sync c tags
View a_sync.sh
#!/bin/sh
# generate tag file for cscope
echo "Generating cscope tag file..."
find $PWD -name "*.h" -o -name "*.c" -o -name "*.cpp" -o -name "*.res" -o -name "*.mak" > cscope.files
cscope -bkq -i cscope.files
# generate tag file for ctags
echo "Generating ctags tag file..."
ctags -R
@huqi
huqi / git_toturial
Last active Nov 21, 2018 — forked from guweigang/git_toturial
git toturial
View git_toturial
git init # 初始化本地git仓库(创建新仓库)
git config --global user.name "xxx" # 配置用户名
git config --global user.email "xxx@xxx.com" # 配置邮件
git config --global color.ui true # git status等命令自动着色
git config --global color.status auto
git config --global color.diff auto
git config --global color.branch auto
git config --global color.interactive auto
git config --global --unset http.proxy # remove proxy configuration on git
git clone git+ssh://git@192.168.53.168/VT.git # clone远程仓库
@huqi
huqi / trial.key
Created Apr 11, 2015
Beyond Compare 4 license for Mac
View trial.key
Beyond Compare 4
Licensed to: ASIO Allsoftinone
Quantity: 1 user
Serial number: 1822-9597
License type: Pro Edition for Windows
--- BEGIN LICENSE KEY ---
H1bJTd2SauPv5Garuaq0Ig43uqq5NJOEw94wxdZTpU-pFB9GmyPk677gJ
vC1Ro6sbAvKR4pVwtxdCfuoZDb6hJ5bVQKqlfihJfSYZt-xVrVU27+0Ja
hFbqTmYskatMTgPyjvv99CF2Te8ec+Ys2SPxyZAF0YwOCNOWmsyqN5y9t
@huqi
huqi / BaiduYun_Speech.org
Last active Aug 29, 2015
BaiduYun Speech
View BaiduYun_Speech.org

Speech

BaiduYun演讲目录介绍

NamePasswordComments
0001.zip\,vE>9~ivB7(QinHui,XiongPeiYun
You can’t perform that action at this time.