摘要: 1 用启动盘或者U盘启动进入WIN 2 进入win界面后 选择进入CMD命令窗口 3 输入bootrec/fixmbr 如果提示操作完成 则问题解决 阅读全文
posted @ 2016-07-24 12:23 啊你爹临死前 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 用 systemctl stop firewalld.service 关闭防火墙,再用 firewall-cmd --state 显示状态 阅读全文
posted @ 2015-09-10 10:36 啊你爹临死前 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 在你的自己的机器下面使用ssh-keygen命令来实现创建公钥使用 ssh-keygen -t rsa 来创建密钥,程序会问你存放的目录,如果不需要修改,直接回车两次即可2.将你~/.ssh目录中的id_rsa.pub这个文件拷贝到你要登录的服务器的~/.ssh目录中,然后再运行以下命令来将公钥导入... 阅读全文
posted @ 2015-09-10 10:13 啊你爹临死前 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Ubuntu的网络参数保存在文件 /etc/network/interfaces中,默认设置使用dhcp,内容如下:# The primary network interfaceauto eth0iface eth0 inet dhcp设置静态ip的方法如下:(1)编辑 /etc/network/i... 阅读全文
posted @ 2015-08-27 21:12 啊你爹临死前 阅读(120) 评论(0) 推荐(0) 编辑
摘要: static_cast:用法static_cast(old)将old转换成type类型(可以是类类型,基本类型之间的转换),但没有运行时类型检查来保证安全性,基类不需要有虚函数,当把派生类转化成基类指针类型时,是安全的,但把基类转化成派生类时,不会进行动态类型检查注意: static_cast不能转... 阅读全文
posted @ 2015-08-13 09:38 啊你爹临死前 阅读(148) 评论(0) 推荐(0) 编辑
摘要: chsh -s /bin/zsh 阅读全文
posted @ 2015-08-11 12:28 啊你爹临死前 阅读(174) 评论(0) 推荐(0) 编辑
摘要: The ssh with RHEL 4 is a lot more anal about security checking. In my case, it was the fact that $HOME/.ssh/config was group-writable which was causin... 阅读全文
posted @ 2015-08-10 21:10 啊你爹临死前 阅读(3632) 评论(0) 推荐(0) 编辑
摘要: ; + m :去掉空格字符, + c + u :撤销注释, + c + m :注释ctrl + r : 撤销u的操作jj : ESC== : 格式对齐S : 删除本行并进入输入操作J : 合并下一行~ : 小写变大写. :重复上一个命令U : 删除本行$ : 光标移到本行末尾0 (零):光标移到本行... 阅读全文
posted @ 2015-08-07 16:47 啊你爹临死前 阅读(97) 评论(0) 推荐(0) 编辑
摘要: HTML5仿Apple Watch时钟动画DEMO演示 in HTML+CSS+JS-->cssbody { background: black;}.clock { position: absolute; opacity: 1;}.fill .clock { left: 50... 阅读全文
posted @ 2015-05-22 19:17 啊你爹临死前 阅读(350) 评论(0) 推荐(0) 编辑
摘要: grid分块 Cont 1 Conten Cont 3 tab Primary Social Promotions Updatestab-pills Primary Social Promotions Updates 阅读全文
posted @ 2015-05-19 21:55 啊你爹临死前 阅读(104) 评论(0) 推荐(0) 编辑