- 博客(36)
- 收藏
- 关注
转载 Dynamic dates in Selenium IDE
http://dubbelfnutt.wordpress.com/2011/02/18/dynamic-dates-in-selenium-ide/If you have a test where you need to input a date somewhere, chances are that you want a date sometime in the future.
2014-09-25 02:19:13 658
转载 .htaccess实现301网页永久重定向及302临时重定向
http://blog.sina.com.cn/s/blog_4e2d571901013imy.html常用的重定向方式有: 301 redirect, 302 redirect 与 meta fresh: 301 redirect: 301代表永久性转移(Permanently Moved),301重定向是网页更改地址后对搜索引擎友好的最好方法,只要不是暂时搬移的情况,都建议使用
2014-09-25 02:16:00 3729
转载 URL重写:RewriteCond指令与RewriteRule 指令格式
转自:http://www.sky54.net/?p=932Rewirte主要的功能就是实现URL的跳转和隐藏真实地址,基于Perl语言的正则表达式规范。平时帮助我们实现拟静态,拟目录,域名跳转,防止盗链等。本文将针对mod_rewrite和URL匹配的技术细节,以及RewriteCond与RewriteRule 指令格式进行探讨。Rewirte模块内部处理Rewirt
2014-09-25 02:15:19 736
转载 C# URL操作
获取完整url:http://stackoverflow.com/questions/40680/how-do-i-get-the-full-url-of-the-page-i-am-on-in-c-sharp
2014-09-25 02:09:56 758
转载 C# Slugify方法
private string GenerateSlug(string phrase) { string str = this.RemoveAccent(phrase).ToLower(); str = Regex.Replace(str, @"[^a-z0-9\s-]", ""); // invalid chars
2014-09-25 02:06:12 707
原创 屏幕底角可关闭客服
http://www.viicms.com/http://down.admin5.com/demo/code_pop/18/1846/
2014-09-25 01:16:55 651
转载 JavaScript Scoping and Hoisting
http://octsky.com/post/65/看到一篇好的文章,忍不住要翻译一下了,本文来自twitter工程师 ben cherry的JavaScript Scoping and Hoisting,主要讲解了JavaScript中的变量和函数声明的解析顺序,阅读本文之前,读者最好掌握了JavaScript中变量对象VO、函数声明FD以及函数表达式FE的概念.考虑到作者没有详
2014-09-23 09:52:36 485
转载 重温大师经典 — Martin Fowler的《持续集成》
持续集成作者:Martin Fowler 译者:滕云原文发布时间:2006年5月1日 翻译时间:2012年2月25日原文链接:http://www.martinfowler.com/articles/continuousIntegration.html 持续集成是一种软件开发实践,在实践中项目成员频繁地进行集成,通常每
2014-09-19 23:41:11 752
转载 Nodejs学习路线图
http://blog.fens.me/nodejs-roadmap/从零开始nodejs系列文章,将介绍如何利Javascript做为服务端脚本,通过Nodejs框架web开发。Nodejs框架是基于V8的引擎,是目前速度最快的Javascript引擎。chrome浏览器就基于V8,同时打开20-30个网页都很流畅。Nodejs标准的web开发框架Express,可以帮助我们迅速建立
2014-09-19 07:09:39 1270
转载 Nodejs异步流程控制Async
前言Nodejs框架类库很多,功能相近的框架,本来只打算学一种写一种。之前写过流程控制框架windjs文章,本来是想着要支持一下“国人框架”。无奈啊,作者竟然放弃了维护,国人真的不靠谱啊!“流程控制”本来是件比较简单的事,但是由于Nodejs的异步架构的实现方法,对于需要同步的业务逻辑,实现起来就比较麻烦。嵌套3-4层,代码就会变得的支离破碎了!今天就遇到了一个业务逻辑,连
2014-09-19 06:32:18 757
转载 Node.js Async Tutorial
http://justinklemm.com/node-js-async-tutorial/I’ve been doing a lot of backend development in Node.js recently. Node.js runs on a single threaded event loop and leverages asynchronous calls for
2014-09-19 06:27:16 944
原创 Batch文件操作命令
创建文件:http://stackoverflow.com/questions/210201/how-to-create-empty-text-file-from-a-batch-file
2014-09-17 22:57:38 1365
转载 持续集成工具的选择
Server中唯一支持树状结构配置的。我可以把Configuration配置成Team A, Team B ...,然后根据实际情况,对每个Team配置任意多个子节点,孙节点(注意,Configuration的数目在QuickBuild的Community Edition里是要限制的,好像是最多16个),另外,
2014-09-17 12:58:25 674
转载 SQL 中的in 语句 IN 与 EXISTS 的区别
http://cr173.com/html/13104_1.html先看一下关于 IN 的帮助 IN 操作符IN 操作符允许我们在 WHERE 子句中规定多个值。SQL IN 语法SELECT column_name(s)FROM table_nameWHERE column_name IN (value1,value2,...)
2014-09-13 01:02:50 729
转载 SQL的内连接与外连接
http://www.cnitblog.com/stomic/archive/2011/03/24/73180.html在oracle的SQL语句常用的连接有内连接(inner join),外连接(outer join)等,内连接又包括等值连接,非等值连接,自连接;而外连接又分为左连接和右连接。其中默认的是内连接的等值连接。 为了方便我们创建两张最简易的表A、B,具
2014-09-13 01:02:03 458
转载 Determining whether jQuery has not found any element
http://stackoverflow.com/questions/2877654/determining-whether-jquery-has-not-found-any-element$('#idThatDoesnotexist').length is what you're looking for. (If it finds nothing, this will ===
2014-09-11 05:54:21 495
转载 How to pass List from Controller to View in MVC 3.
http://stackoverflow.com/questions/10994790/how-to-pass-list-from-controller-to-view-in-mvc-3//controllerListMyObject> list = new ListMyObject>();return View(list);//view@model ListMy
2014-09-11 05:33:40 614
转载 Win7安装Jenkins端口问题
http://www.2cto.com/os/201405/302216.html1. 安装Jenkins时运行“java -jar jenkins.war” 命令,出现下列问题只是因为8080端口已经有程序占用了,需要修改端口号。解决方法是:运行“java -jar jenkins.war --ajp13Port=-1 --httpPo
2014-09-10 06:50:09 649
转载 Jenkins使用经验谈4(创建Job)
http://bookong.iteye.com/blog/1962433前面做了那么多工作,现在终于到了创建Job这一步了,某种意义上,Jenkins的主要工作就是为了调度这些Job。Job的创建是有很大自由度的,也没有谁规定一定要创建成什么样子才行。下面我会以实际使用中的几个场景来举例说明。 需要注意的是: Job名称千万不要用中文名称(不作死就不会死)。创建Job
2014-09-10 06:48:42 1222
转载 Make body have 100% of the browser height
http://stackoverflow.com/questions/6654958/make-body-have-100-of-the-browser-heightTry setting the height of the html element to 100% as well.html, body{ height: 100%;}Body looks t
2014-09-09 07:39:23 511
转载 10 Powerful jQuery Full-Screen Slider
If you are a designers or artists who wants to showcase an online portfolio on your website, then you will need a powerful tool that can maximize visibility of your works, one of which is a fullscre
2014-09-06 07:38:06 1846
转载 12 jQuery Fullscreen Plugins
http://www.sitepoint.com/jquery-fullscreen-plugins/Let’s face it, sometimes fullscreen websites are super cool, if a website looks plain and boring how long do you think visitors will stay? So
2014-09-06 07:26:16 1131
转载 Using AngularJS Promises
http://liamkaufman.com/blog/2013/09/09/using-angularjs-promises/In my previous article I discussed the benefits of using dependency injection to make code more testable and modular. In this ar
2014-09-06 05:34:33 635
转载 Truthy and Falsy: When All is Not Equal in JavaScript
http://www.sitepoint.com/javascript-truthy-falsy/Craig BucklerPublished July 1, 2009 TweetSubscribeLike most computer languages, JavaScript supports Boolean data type
2014-09-06 04:46:51 870
转载 "[ERROE] Error initializing Cordova: Class not found” only on Android
http://forum.ionicframework.com/t/erroe-error-initializing-cordova-class-not-found-only-on-android/3555
2014-09-06 02:19:32 1362
转载 CSS实现垂直居中的5种方法
http://www.qianduan.net/css-to-achieve-the-vertical-center-of-the-five-kinds-of-methods.html糖伴西红柿利用 CSS 来实现对象的垂直居中有许多不同的方法,比较难的是选择那个正确的方法。我下面说明一下我看到的好的方法和怎么来创建一个好的居中网站。使用 CSS 实现垂直居
2014-09-05 11:18:55 794
转载 深入理解ANGULARUI路由_UI-ROUTER
http://blog.eisneim.com/articles/dive_deep_into_ui-router.htmlAngularJS不需要任何第三方库,利用自身集成的各个模块便可开发出功能齐全的web应用,不过活跃的AngularJS社区也开发了很多能够最大限度强化web应用的编程库。本文带读者了解专业开发使用的模块AngularUI中的ui-路由(ui-router)。
2014-09-05 04:43:52 2301
转载 前端开发神器 Emmet 介绍
在前端开发的过程中,一大部分的工作是写 HTML、CSS 代码。特别是手动编写 HTML 代码的时候,效率会特别低下,因为需要敲打很多尖括号,而且很多标签都需要闭合标签等。于是,就有了 Emmet,它可以极大的提高代码编写的效率,它提供了一种非常简练的语法规则,然后立刻生成对应的 HTML 结构或者 CSS 代码,同时还有多种实用的功能帮助进行前端开发。你可能听说过一款强大的功能相似的工具
2014-09-04 06:02:06 679
转载 Restart my Phonegap app programmatically
I'm not sure if you still need an answer to this, but this might help someone. I encountered the same problem with PhoneGap running on Android 3. I solved it by replacing this line:location.reload(t
2014-09-04 05:42:35 1055
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人