ubuntu wqy 文泉译
Feb 21, 2014 02:00:12 PM
sudo apt-get install xfonts-wqy ttf-wqy-zenhei ttf-wqy-microhei ttf-dejavu sudo apt-get install unity-tweak-tool unity-tweak-tool #可配置系统,包括字体
Happy coding
sudo apt-get install xfonts-wqy ttf-wqy-zenhei ttf-wqy-microhei ttf-dejavu sudo apt-get install unity-tweak-tool unity-tweak-tool #可配置系统,包括字体
首先安装bash-completion,然后将系统的bashrc复制到用户目录,并添加一条命令:
sudo apt-get install bash-completion cp /etc/bash.bashrc ~/.bashrc gedit .bashrc #添加一行: source /etc/bash_completion #关闭,退出终端,重新打开就可以了。
这里以ubuntu系统为例,其他Linux系统自行根据对应系统安装命令安装所需模组 ××××简化版××××
Notice: 其他系统可能需要自行解决相关依赖问题
1.安装软件:
```
2.设置:
修改[gae]栏的appid 为申请的AppID,如:
[gae]
appid = yourappid
3.上传:
```
按照提示输入AppID,Gmail,和专用密码。
4.使用:
启动和停止GoAgent服务
$ sudo systemctl start/stop goagent
设置开机启动
```
```
使用Vim编辑markdown文件,给Vim增加markdown语法识别的支持。
1.安装管理插件的插件 pathogen.vim
```bash
mkdir -p ~/.vim/autoload ~/.vim/bundle; \
curl -Sso ~/.vim/autoload/pathogen.vim \
https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
```
首先,你需要的是一个Openshift的账号,点我注册。就是填邮箱密码然后登录邮箱激活神马的,就不叙述了。
linux下的音乐播放器deadbeef可以使用foobar2000的feq均衡器配置文件
共享一下http://pan.baidu.com/share/link?shareid=156887&uk=302374367
linux下下载资源解决方案终于找到了,需要是迅雷会员才可以使用离线下载功能。
安装 aria2和chrome or chromium
打开chrome or chromium,到商店安装 迅雷离线助手 https://chrome.google.com/webstore/detail/eehlmkfpnagoieibahhcghphdbjcdmen
进入迅雷离线界面,点设置,弹出对话框,在下面修改Aria2 JSON-RPC Path
http://127.0.0.1:6800/jsonrpc
YAAW For Chrome
https://chrome.google.com/webstore/detail/hbjpfaalboebibgfmedmjijhbjapcnki
打开YAAW,点设置,修改Aria2 JSON-RPC Path
http://127.0.0.1:6800/jsonrpc
手动下载ThunderLixianExporter脚本: https://github.com/binux/ThunderLixianExporter
然后手动进浏览器扩展,拖动安装即可。
进入需要保存下载文件的目录,在此处打开终端,运行aria2c如下:
aria2c --enable-rpc --rpc-listen-all --rpc-allow-origin-all --file-allocation=none --max-connection-per-server=3 --max-concurrent-downloads=3 --continue
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
PS1="\[\033[0;37m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[0;31m\]\h'; else echo '\[\033[0;33m\]\u\[\033[0;37m\]@\[\033[0;96m\]\h'; fi)\[\033[0;37m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;37m\]]\n\[\033[0;37m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]"
alias aptu="sudo apt-fast update"
alias aptua="sudo apt-fast upgrade"
alias apts="sudo apt-cache search"
alias apti="sudo apt-fast install"
alias aptr="sudo apt-fast remove"
alias aptac="sudo apt-fast autoclean"
alias aptar="sudo apt-fast autoremove"
# modified commands
alias diff='colordiff' # requires colordiff package
alias grep='grep --color=auto'
alias more='less'
alias df='df -h'
alias du='du -c -h'
alias mkdir='mkdir -p -v'
alias nano='nano -w'
alias ping='ping -c 5'
alias ..='cd ..'
# new commands
alias da='date "+%A, %B %d, %Y [%T]"'
alias du1='du --max-depth=1'
alias hist='history | grep $1' # requires an argument
alias openports='netstat --all --numeric --programs --inet --inet6'
alias pg='ps -Af | grep $1' # requires an argument (note: /usr/bin/pg is installed by the util-linux package; maybe a different alias name should be used)
# ls
alias ls='ls -hF --color=auto'
alias lr='ls -R' # recursive ls
alias ll='ls -l'
alias la='ll -A'
alias lx='ll -BX' # sort by extension
alias lz='ll -rS' # sort by size
alias lt='ll -rt' # sort by date
alias lm='la | more'
# safety features
alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -I' # 'rm -i' prompts for every file
alias ln='ln -i'
alias chown='chown --preserve-root'
alias chmod='chmod --preserve-root'
alias chgrp='chgrp --preserve-root'
sudo apt-get install linux-headers-`uname -r`
sudo apt-get install build-essential
http://linux-uvc.berlios.de/ 页面底部找下载的地方。
下载后解压,然后
sudo make&make install
sudo modprobe -r uvcvideo
sudo modprobe uvcvideo
sudo apt-get install luvcview
luvcview -d /dev/video0