会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
dcj890828
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
14
下一页
2016年1月6日
git 添加忽略文件 ,记住账号密码,忽略文件权限的变化
摘要: 首先被忽略的文件一定不能是被天价斤索引的文件,所以如果已经被添加进索引,请使用命令 git rm --cached filename 删除这个文件,然后在 git add . git commit -m "info" git push origin branchname 然后 nano .gitig
阅读全文
posted @ 2016-01-06 13:52 dcj890828
阅读(304)
评论(0)
推荐(0)
2016年1月4日
nginx thnkphp rewrite 规则
摘要: 我的nginx版本是1.0.××我的每一个网站都有一个××××.conf 文件,打开这个文件找到location/{×××××}将其修改成location / { root /var/www; index index.html index.htm index.php; if (!-e $reques...
阅读全文
posted @ 2016-01-04 16:42 dcj890828
阅读(124)
评论(0)
推荐(0)
2015年12月25日
sublime 常用插件
摘要: 1gitGitGutterSublime Text 有了 Git 插件之后,GitGutter 更好的帮助开发者查看文件之前的改动和差异,提升开发效率。AllAutocompleteSublime Text 默认的 Autocomplete 功能只考虑当前的文件,而 AllAutocomplete ...
阅读全文
posted @ 2015-12-25 14:52 dcj890828
阅读(194)
评论(0)
推荐(0)
2015年12月17日
php 下载 word文档
摘要: header('Content-type: application/octet-stream'); header('Content-Disposition: attachment; filename="'.$dname.'"'); header('Content-Transfer-Encod...
阅读全文
posted @ 2015-12-17 17:42 dcj890828
阅读(127)
评论(0)
推荐(0)
sublime 主题
摘要: itg.flat注册码:打开help,enterLicense,黏贴以下的注册码即可----- BEGIN LICENSE -----Andrew WeberSingle User LicenseEA7E-855605813A03DD 5E4AD9E6 6C0EEB94 BC99798F942194...
阅读全文
posted @ 2015-12-17 11:01 dcj890828
阅读(169)
评论(0)
推荐(0)
linux 搭建 swift环境,以及ide
摘要: 转载第一步:下载Swift 2.2工具链压缩包,打开终端,输入命令新建目录并下载linuxidc@linuxidc:~$ mkdir swift && cd swift;linuxidc@linuxidc:~/swift$ wget https://swift.org/builds/ubuntu15...
阅读全文
posted @ 2015-12-17 10:30 dcj890828
阅读(914)
评论(0)
推荐(0)
2015年12月1日
xubuntu 安装libreoffice
摘要: sudo apt-get install libreoffice默认安装的是英文版的,需要安装中文包sudo apt-get install libreoffice-l10n-zh-cn libreoffice-l10n-zh-tw,然后在tool选项里面选择language选中中文
阅读全文
posted @ 2015-12-01 13:15 dcj890828
阅读(157)
评论(0)
推荐(0)
2015年11月27日
centos 新系统安装之后,不能联网的解决办法(转载)
摘要: /etc/sysconfig/network-scripts/用vim(或者vi,随你便咯)编辑该文件将最后一行的ONBOOT=no改为ONBOOT=yes,如图最后输入:wq 保存并退出,再重启一下network:service network restart经测试,就可以顺利的联网拉
阅读全文
posted @ 2015-11-27 13:47 dcj890828
阅读(119)
评论(0)
推荐(0)
tor 浏览器 linux
摘要: sudo add-apt-repository ppa:webupd8team/tor-browsersudo apt-get updatesudo apt-get install tor-browser以上PPA在Ubuntu 12.04和其它基于该版本的Linux发行版中可合法使用。卸载Tor浏...
阅读全文
posted @ 2015-11-27 09:37 dcj890828
阅读(636)
评论(0)
推荐(0)
2015年11月26日
ubuntu 大量读写数据的时候硬盘吱吱响
摘要: 网上找的解决的办法sudo hdparm -B 254 /dev/sdasudo hdparm -M 128 /dev/sda不清楚是什么原因
阅读全文
posted @ 2015-11-26 22:26 dcj890828
阅读(250)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
14
下一页
公告