![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DevEnv
chuqingq
这个作者很懒,什么都没留下…
展开
-
diff和patch说明
先参见wiki的附件和一个网上的说明(转):见附件。 说明两点:1、使用diff –u是通用格式(有---和+++的,patch使用此格式),否则是>和<的形式。 2、举个例子,说明patch文件中的内容含义:--- lib/inets/src/http_client/http_uri.erl.orig 2009-03-12 13:32:39.000000...2009-10-04 23:29:05 · 68 阅读 · 0 评论 -
emacs安装php-mode
php-mode.sf.net (add-to-list 'load-path "../chuqq_elisp")(load "php-mode") (defun python-run() (interactive) (shell-command (concat "\"D:/Program Files/Python27/python.exe\" \""...2011-11-24 23:00:44 · 168 阅读 · 0 评论 -
[emacs]color-theme
:http://www.nongnu.org/color-theme/ -> http://download.savannah.gnu.org/releases/color-theme/color-theme.el.gz (require 'color-theme)(color-theme-classic)2011-11-24 23:25:58 · 85 阅读 · 0 评论 -
字体:中文雅黑,英文Mocano
字体:中文雅黑,英文Mocano原创 2012-10-17 21:59:21 · 274 阅读 · 0 评论 -
git for windows
http://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git原创 2012-10-19 22:04:16 · 64 阅读 · 0 评论 -
linux文件挂载命令
格式化:fdisk /dev/sdbp 打印分区表n 创建分区 分区:mkfs -t ext4 /dev/sdb1 查看uuid:blkid 修改/etc/fstab:原创 2012-08-26 21:02:59 · 108 阅读 · 0 评论 -
emacs的org-mode
主要说明下时间管理: 1、在org文件中记录TODO等项2、使用C-c C-s/C-d 加入时间点3、在.emacs中加入到org-agenda-files中: (setq org-agenda-files (list "~/doc/org/linux.org" "~/doc/org/work.org" ...原创 2012-09-02 21:36:22 · 85 阅读 · 0 评论 -
【记录】lubuntu安装配置
# 输入法:先安装fcitx; 然后安装fcitx-googlepinyin。 OK。# 字体:lubuntu通过gnome-font-viewer安装字体。 # chromium+flash sudo apt-get update sudo apt-get install chromium-browser sudo apt-get install pepperf...原创 2013-09-06 19:51:01 · 296 阅读 · 0 评论 -
code2ebook
name=xxx ## sudo apt-get install ctags ## get `src2html.pl`: https://github.com/agentzh/code2ebook src2html.pl --color --cross-reference --line-numbers . $name ## sudo apt-get instal...原创 2015-01-18 17:57:02 · 211 阅读 · 0 评论 -
ubuntu桌面安装fcitx输入法
先安装fcitx;然后安装fcitx-googlepinyin。OK。原创 2015-01-18 18:11:04 · 172 阅读 · 0 评论 -
【开发环境】sublime
1、使用ctags 下载ctags58.zip,其中包含windows版本的ctags.exe:http://sourceforge.net/projects/ctags/files/ctags/ 可能需要配置PATH环境变量,然后启动sublime,安装ctags插件,然后在工程目录邮件Rebuild Tags sublime的ctags...2015-01-23 10:58:15 · 143 阅读 · 0 评论 -
source insight扩展:UTF-8 + 多标签
http://www.cnblogs.com/Red_angelX/p/3713935.htm原创 2014-10-31 15:55:42 · 256 阅读 · 0 评论 -
apt-get build-dep <package>
安装编译源代码需要的库(包):# apt-get build-dep packagename所的源代码包一个'Build-Depends'域,指明了从源代码编译这个包需要安装的软件。上面的命令可以下载这些包,其中'packagename'是包名。...2014-11-13 19:25:01 · 243 阅读 · 0 评论 -
【转】wget下载整个网站或目录
转自:http://www.cnblogs.com/lidp/archive/2010/03/02/1696447.html 需要下载某个目录下面的所有文件。命令如下wget -c -r -np -k -L -p www.xxx.org/pub/path/在下载时。有用到外部域名的图片或连接。如果需要同时下载就要用-H参数。wget -np -nH -r --span-ho...原创 2014-11-14 15:20:22 · 1056 阅读 · 0 评论 -
emacs syntax highlight
emacs syntax highlight: M-x global-font-lock-mode or (global-font-lock-mode t) in .emacs原创 2011-11-19 09:58:50 · 123 阅读 · 0 评论 -
[emacs].emacs
通用设置 ;; 缩进(setq c-default-style "linux" c-basic-offset 4);; 不使用tab(setq-default indent-tabs-mode nil);; turn on highlighting current line(global-hl-line-mode 1);; 显示行号和列号...原创 2012-01-02 16:36:45 · 162 阅读 · 0 评论 -
iteye闲聊api使用范例
<?php$ch = curl_init();curl_setopt($ch, CURLOPT_URL, "http://api.iteye.com/api/twitters/create");curl_setopt($ch, CURLOPT_USERPWD, "username:passwd");curl_setopt($ch, CURLOPT_POST,...2011-12-27 21:53:02 · 140 阅读 · 0 评论 -
debian安装
补旧的一篇。。。 debian + fluxbox 使用netinst安装,后修改sources.list: deb http://security...已有deb-src http://security...已有deb ftp://ftp.tw.debian.org/debian/ main contrib non-free 新加 网络(安装时没设...原创 2010-01-10 02:01:05 · 86 阅读 · 0 评论 -
debian中apt-get update报错GPG error
查看 http://ftp-master.debian.org/ 查看“Archive signing key”,点击download 或者 wget http://ftp-master.debian.org/archive-key-5.0.asc 然后 apt-key add archive-key-5.0.asc OK 也有可能是另一个问题:在本本装上Debian后...2009-08-10 23:33:46 · 430 阅读 · 0 评论 -
Debian telnetd ftpd xinetd
apt-get install telnetd ftpd xinetdtelnetd和ftpd会自动起来;也可以编辑/etc/xinet.d/2009-08-10 23:42:43 · 78 阅读 · 0 评论 -
Debian+Fluxbox...
使用netinst安装,后修改sources.list:deb http://security...已有deb-src http://security...已有deb ftp://ftp.tw.debian.org/debian/ main contrib non-free 新加 apt-get install sudo用visudo命令在/etc/...2009-08-10 23:43:20 · 221 阅读 · 0 评论 -
directfb安装
Debian中比较简单,apt-get install libdirectfb-dev 等下载DirectFB-examples-1.2.0.tar.gzExamples默认安装到/usr/local/bin下,资源文件在/usr/local/share/direct-examples.df_andi等均可正确执行。另外mplayer也可以正确显示a...2009-08-10 23:44:00 · 149 阅读 · 0 评论 -
32位机运行64位虚拟机
1, CPU必须支持Intel VT-x/AMD-V。并且在BIOS及虚拟机软件中启用。2, 虚拟机要启用 IO ACPI另,VmwarePlayer已经加入了创建虚拟机的功能,可能快照数量有限制。...原创 2010-05-09 14:43:52 · 262 阅读 · 0 评论 -
apt how to 学习笔记(转)
主要想了解一下如何查某文件属于哪个软件包,可能未安装。。。 转自:http://blog.csdn.net/yeqihong/archive/2007/01/18/1487100.aspx 一基本配置1. /etc/apt/sources.list文件的基本格式:deb http://site.http.org/debian distribution section1 s...原创 2010-06-03 23:11:54 · 73 阅读 · 0 评论 -
yum基本命令(转)
转自:http://blog.csdn.net/qiuyu0619/archive/2007/02/07/1503886.aspx Yum 是一个功能强大的包管理工具,它可以轻而易举地为你解决包依赖关系,对软件进行安装、搜索、删除和列表操作。搜索一个应用程序 # yum search 程序名 列出仓库可用包# yum list available列出软件包信息# yum inf...原创 2010-06-03 23:26:16 · 86 阅读 · 0 评论 -
fedora安装telnet
0、配置yum源可以使用mirrors.sohu.com或mirrors.163.com。(当前我使用光盘) 1、yum install telnet-server2、/etc/xinet.d/telnet:disable = yes 注释掉3、service xinetd restart4、setup配置防火墙为关 ...原创 2010-06-16 20:21:47 · 130 阅读 · 0 评论 -
fedora配置vi高亮
默认的vi是/bin/vi,不是vim.只需yum install vim-enhanced即/usr/bin/vim。 可以再ln -sf /usr/bin/vim /bin/vi原创 2010-06-16 20:45:14 · 135 阅读 · 0 评论 -
fedora配置源
cd /etc/mv yum.repos.d yum.repos.d.bak mkdir yum.repos.dcd yum.repos.d vim sohu.repo内容如下[updates]name=Fedora updatesbaseurl=http://mirrors.sohu.com/fedora/updates/$releasever/$...原创 2010-06-16 21:00:37 · 152 阅读 · 0 评论 -
Notepad++ NppExec F6
1.Notepad++ NppExec F6 "D:\Program Files\PHP\php.exe" "$(FULL_CURRENT_PATH)" 2.Ctrl + Shift + F原创 2010-11-30 21:59:08 · 277 阅读 · 0 评论 -
收藏接口
用户认证:curl -u 用户名:密码 http://api.iteye.com/api/auth/verify返回:成功 {"domain": "博客子域名", "name": "用户名", "id": 用户ID} 失败 error.auth.fail 用户收藏API id:ID url:链接 title:标题 descriptio...原创 2011-12-17 15:25:22 · 227 阅读 · 0 评论 -
curl用法
curl使用方法: -o <filename> = -O -x <proxyip:port> -b <incookiefile> -D <outcookiefile> -A <useragentinfo> 例如"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)...2014-11-14 15:24:26 · 79 阅读 · 0 评论