git使用https协议,每次pull,
push都要输入密码,相当的烦。使用git协议,然后使用ssh密钥。这样可以省去每次都输密码。大概需要三个步骤:一、本地生成密钥对;二、设置github上的公钥;三、修改git的remote
url为git协议。一、生成密钥对。=============大多...
分类:
其他好文 时间:
2014-06-09 16:23:26
阅读次数:
229
如果想在gnome-shell桌面放点个性化的应用,可以在https://extensions.gnome.org网站上安装扩展(记得使用firefox).下面我记录几个我们觉得还不错的扩展:1.Alt
Tab Workspaceurl:https://extensions.gnome.org/ex...
分类:
其他好文 时间:
2014-06-08 23:28:25
阅读次数:
182
一、功能代码函数实现 private function _weather($city) {
include("weather_cityId.php"); $c_name=$weather_cityId[$city]; if(!em...
分类:
微信 时间:
2014-06-08 21:05:51
阅读次数:
1484
原题地址:https://oj.leetcode.com/problems/sqrtx/题意:Implementint
sqrt(int x).Compute and return the square root
ofx.解题思路:实现开平方函数。这里要注意的一点是返回的时一个整数。通过这一点我们可...
分类:
编程语言 时间:
2014-06-08 21:04:38
阅读次数:
329
原题地址:https://oj.leetcode.com/problems/search-for-a-range/题意:Given
a sorted array of integers, find the starting and ending position of a given
target ...
分类:
编程语言 时间:
2014-06-08 21:03:21
阅读次数:
297
原题地址:https://oj.leetcode.com/problems/sort-colors/题意:Given
an array withnobjects colored red, white or blue, sort them so that objects of
the same col...
分类:
编程语言 时间:
2014-06-08 20:56:32
阅读次数:
394
原题地址:https://oj.leetcode.com/problems/add-binary/题意:Given
two binary strings, return their sum (also a binary string).For example,a ="11"b
="1"Return"...
分类:
编程语言 时间:
2014-06-08 20:28:04
阅读次数:
300
最近在弄网页爬虫这方面的,上网看到关于htmlagilitypack搭配scrapysharp的文章,于是决定试一试~于是到https://www.nuget.org/packages/ScrapySharp去看看,看到这句下载提示:To
install ScrapySharp, run the f...
分类:
Web程序 时间:
2014-06-08 20:23:28
阅读次数:
402
原文:.net 获取https页面的信息
在iis7.5服务器上不管用让我纠结了一天多的问题,给大家看下,有相同情况的可以不用浪费时间了,本人当时找了好半天都没找到什么有用的信息,项目在本地没有问题,但部署在服务器后,获取不到https页面的信息,加入下面的代码就可以了,因为iis7.5的安全协议比...
分类:
Web程序 时间:
2014-06-08 19:37:27
阅读次数:
192
什么是WAFWeb Application
Firewall通过执行一系列针对HTTP/HTTPS的安全策略来防御对Web应用的攻击。目前主要有单设备WAF与云WAFWAF的现状1.太多数WAF能够拦截较为普通的WEB攻击2.大多数WAF没有针对热点漏洞奇葩攻击EXP防御的能力3.基本所有的WAF都...
分类:
其他好文 时间:
2014-06-08 18:54:13
阅读次数:
414