05 2015 档案

摘要:1.创建mydemo项目cd d:\myworkmvn archetype:create -DgroupId=com.example.mydemo -DartifactId=mydemo生成mydemo目录,删除该目录下src目录,修改pom.xml,将packaging值修改为:pom2. 然后... 阅读全文
posted @ 2015-05-30 15:05 samu 阅读(558) 评论(0) 推荐(0) 编辑
摘要:(1)客户端向服务器提出请求,发出SSL握手信号。 (2)服务器发出回应,并出示服务器证书(公钥),显示服务器站点身份。 (3)客户端验证服务器证书,并生成一个随机的会话密钥,密钥长度达到128位。 (4)客户端用服务器的公钥加密该会话密钥,产生加密会话密钥。 (5)客户端对该会话密钥进行签名,... 阅读全文
posted @ 2015-05-29 17:46 samu 阅读(205) 评论(0) 推荐(0) 编辑
摘要:DES加密介绍 DES是一种对称加密算法,所谓对称加密算法即:加密和解密使用相同密钥的算法。DES加密算法出自IBM的研究,后来被美国政府正式采用,之后开始广泛流传,但是近些年使用越来越少,因为DES使用56位密钥,以现代计算能力,24小时内即可被破解。虽然如此,在某些简单应用中,我们还是可以使用... 阅读全文
posted @ 2015-05-28 14:54 samu 阅读(319) 评论(0) 推荐(0) 编辑
摘要:http://www.tuicool.com/articles/ENfe2uhttps://github.com/tobiasflohre/movie-databaseWhat is the best way to build a web application?I know, tough ques... 阅读全文
posted @ 2015-05-28 11:54 samu 阅读(424) 评论(0) 推荐(0) 编辑
摘要:http://www.citicsf.com/download/ctp/ 阅读全文
posted @ 2015-05-27 10:21 samu 阅读(269) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2015-05-21 16:19 samu 阅读(3) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2015-05-21 15:24 samu 阅读(2) 评论(0) 推荐(0) 编辑
摘要:https://www.atlassian.com/git/tutorials/comparing-workflowsComparing WorkflowsThe array of possible workflows can make it hard to know where to begin ... 阅读全文
posted @ 2015-05-20 23:09 samu 阅读(214) 评论(0) 推荐(0) 编辑
摘要:nginx 的403Forbidden errors 表示你在请求一个资源文件但是nginx不允许你查看。403 Forbidden 只是一个HTTP状态码,像404,200一样不是技术上的错误。哪些场景需要返回403状态码的场景?1.网站禁止特定的用户访问所有内容,例:网站屏蔽某个ip访问。2.访... 阅读全文
posted @ 2015-05-20 21:15 samu 阅读(130) 评论(0) 推荐(0) 编辑
摘要:http://www.easyicon.net/ 阅读全文
posted @ 2015-05-20 15:17 samu 阅读(92) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2015-05-20 14:59 samu 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2015-05-20 13:33 samu 阅读(2) 评论(0) 推荐(0) 编辑
摘要:github私有仓库是收费的,有些代码不方便托管到外面的git仓库,因此就产生了自己搭建git服务器的需求。好在有广大的开源人士的贡献,有了gitlab这一神器。手动配置较多,直接用集成包:bitnami-gitlab-6.4.3-1-linux-x64-installer.run=========... 阅读全文
posted @ 2015-05-19 11:59 samu 阅读(2696) 评论(0) 推荐(0) 编辑
摘要://jquery$(document).ready(function(){ $(window).scroll(function() { $(this).scrollTop() > 10 ? $("#login-bar").slideUp(100):... 阅读全文
posted @ 2015-05-18 10:50 samu 阅读(155) 评论(0) 推荐(0) 编辑
摘要:git clone url #克隆新的版本库git initgit pull repo_name #有关联的远程库,抽取并和本地合并git fetch remote_repo_name #抽取并新建分支 #在当前commit对象上新建分支 指针head#head指向正在工作中的本地分支的指... 阅读全文
posted @ 2015-05-15 15:06 samu 阅读(1558) 评论(0) 推荐(0) 编辑
摘要:20,000,000,000+ 621706 传统PC网站已经拥有移动跨屏的云适配版--> 传统PC网站已经拥有移动跨屏的自适应网站 ... 阅读全文
posted @ 2015-05-15 14:19 samu 阅读(409) 评论(0) 推荐(0) 编辑
摘要:http://lea.verou.me/css-4d/#heart-demo 阅读全文
posted @ 2015-05-15 13:36 samu 阅读(102) 评论(0) 推荐(0) 编辑
摘要:.btn-warning { color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,0.25); background-color: #faa732; background-image: -moz-linear-gradient(top,#fbb450,... 阅读全文
posted @ 2015-05-15 12:57 samu 阅读(170) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2015-05-15 11:47 samu 阅读(2) 评论(0) 推荐(0) 编辑
摘要:import java.util.ArrayList;import java.util.HashMap;import java.util.regex.Matcher;import java.util.regex.Pattern;import lombok.AllArgsConstructor;imp... 阅读全文
posted @ 2015-05-15 11:16 samu 阅读(214) 评论(0) 推荐(0) 编辑
摘要:1. 接口是什么? 接口也是对象,面向对象编程中,接口被类集成,不同的类有不同的实现方式。因此,接口是一种描述性对象,它主要表示某一系列类的公用方法集合抽象,以及所能提供服务的能力和规范。2. 项目开发演进中的接口编程 项目初期设计阶段,需要描述清楚各个大小模块之间的调用规则和处理流程,不同模块... 阅读全文
posted @ 2015-05-15 10:52 samu 阅读(472) 评论(0) 推荐(0) 编辑
摘要:$(":div[name=div_edit]").each(function() { $(this).hover(function() { $(this).find(">div:first-child").hide(... 阅读全文
posted @ 2015-05-14 20:48 samu 阅读(169) 评论(0) 推荐(0) 编辑
摘要:The latestpipversions will fail on you when the packages it needs to install are not hosted onPyPI. When you try to installMySQL Connector/Pythonthe u... 阅读全文
posted @ 2015-05-12 21:08 samu 阅读(282) 评论(0) 推荐(0) 编辑
摘要:curl -v -XPOST -H "Content-Type: image/jpeg" --data-binary @test.jpg http://127.0.0.1:3000/thumbnail 阅读全文
posted @ 2015-05-12 20:27 samu 阅读(143) 评论(0) 推荐(0) 编辑
摘要:chrome://net-internals/#sockets 阅读全文
posted @ 2015-05-12 17:20 samu 阅读(312) 评论(0) 推荐(0) 编辑
摘要://返回顶部 $(document).on('click', '.backTop', function (e) { $('html, body').animate({scrollTop: 0}, 500); return fa... 阅读全文
posted @ 2015-05-12 16:30 samu 阅读(110) 评论(0) 推荐(0) 编辑
摘要:全国连锁: 南京 北京 ... 阅读全文
posted @ 2015-05-12 16:29 samu 阅读(271) 评论(0) 推荐(0) 编辑
摘要://命名空间var base = {};//classbase.gClass={};//鼠标hover交互方法: 注册对象的hover的class特性以及mouseMoveIn,mouseMoveOut方法base.gClass.hover=(function(creat){ var crea... 阅读全文
posted @ 2015-05-12 16:24 samu 阅读(174) 评论(0) 推荐(0) 编辑
摘要:首页Home 首页Home 品牌连锁BRAND CHAIN ... 阅读全文
posted @ 2015-05-12 16:21 samu 阅读(257) 评论(0) 推荐(0) 编辑
摘要:1)查找并删除3天前的历史文件rm -rfi `find /tmp/ -ctime 3`2)按分钟查找find -cmin N 阅读全文
posted @ 2015-05-12 10:37 samu 阅读(324) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/moozi/archive/2010/01/06/1640034.html 阅读全文
posted @ 2015-05-07 19:59 samu 阅读(114) 评论(0) 推荐(0) 编辑
摘要:http://www.templatepinboard.com/page/2/ 阅读全文
posted @ 2015-05-07 14:37 samu 阅读(114) 评论(0) 推荐(0) 编辑
摘要:http://www.cssmoban.com/ 阅读全文
posted @ 2015-05-06 22:37 samu 阅读(134) 评论(0) 推荐(0) 编辑
摘要:1、重新启动时按住“Command()”和"R"键盘2、选择磁盘工具 阅读全文
posted @ 2015-05-04 14:37 samu 阅读(686) 评论(0) 推荐(0) 编辑
摘要://标签切换var nav = $('.index-nav');var content = $('.index-nav-content li');function hoverNav ($eleArr) { var $nav = $eleArr[0]; var $content = $el... 阅读全文
posted @ 2015-05-04 11:39 samu 阅读(277) 评论(0) 推荐(0) 编辑
摘要:https://pypi.python.org/pypi/seleniumfrom selenium import webdriverfrom selenium.webdriver.common.keys import Keysbrowser = webdriver.Firefox()browser... 阅读全文
posted @ 2015-05-03 18:56 samu 阅读(836) 评论(0) 推荐(0) 编辑
摘要:import scrapyfrom myproject.items import MyItemclass MySpider(scrapy.Spider):name = ’example.com’ allowed_domains = [’example.com’] start_urls = [ ... 阅读全文
posted @ 2015-05-03 18:46 samu 阅读(1116) 评论(0) 推荐(0) 编辑