<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[王川的私房菜]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/starcuan</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; starcuan]]></copyright><item><title><![CDATA[chrome调试less]]></title><link>https://blog.csdn.net/starcuan/article/details/50756390</link><guid>https://blog.csdn.net/starcuan/article/details/50756390</guid><author>starcuan</author><pubDate>Sat, 27 Feb 2016 18:43:53 +0800</pubDate><description><![CDATA[chrome调试less文件前需要配置chrome到文件间的关联，见前一章:chrome调试css

1、安装lessc

npm install -g less

2、安装wr工具，跟踪文件修改实时编译

npm install -g wr

使用方法：

wr 'lessc style.less style.css' style.less

注：wr命令默认是以wr]]></description><category></category></item><item><title><![CDATA[Chrome调试css(chrome开发工具workspace使用)]]></title><link>https://blog.csdn.net/starcuan/article/details/50756083</link><guid>https://blog.csdn.net/starcuan/article/details/50756083</guid><author>starcuan</author><pubDate>Sat, 27 Feb 2016 17:32:23 +0800</pubDate><description><![CDATA[以WebStorm打开Express为例，调试style.css页面，



右键选择Add folder to workspace，  定位到对应到文件夹下


弹出的提示信息点击允许


在左边css资源一栏就会多出一个目录项，如图所示右击，




选择Map to network resource


选中localhost的这一项，配置就完成了，当在c]]></description><category></category></item><item><title><![CDATA[前端开发必备]]></title><link>https://blog.csdn.net/starcuan/article/details/50756046</link><guid>https://blog.csdn.net/starcuan/article/details/50756046</guid><author>starcuan</author><pubDate>Sat, 27 Feb 2016 17:09:46 +0800</pubDate><description><![CDATA[//2016/2/27
1、Chrome调试css]]></description><category></category></item><item><title><![CDATA[JAVA访问URL]]></title><link>https://blog.csdn.net/starcuan/article/details/40691563</link><guid>https://blog.csdn.net/starcuan/article/details/40691563</guid><author>starcuan</author><pubDate>Sun, 02 Nov 2014 00:15:28 +0800</pubDate><description><![CDATA[JAVA访问URL：


package Test;

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLC]]></description><category></category></item><item><title><![CDATA[JAVA随笔]]></title><link>https://blog.csdn.net/starcuan/article/details/40691357</link><guid>https://blog.csdn.net/starcuan/article/details/40691357</guid><author>starcuan</author><pubDate>Sun, 02 Nov 2014 00:12:37 +0800</pubDate><description><![CDATA[目录：


JAVA访问URL]]></description><category></category></item><item><title><![CDATA[jQuery源码学习笔记：jQuery.fn.init(selector,context,rootjQuery)代码详解]]></title><link>https://blog.csdn.net/starcuan/article/details/28302047</link><guid>https://blog.csdn.net/starcuan/article/details/28302047</guid><author>starcuan</author><pubDate>Tue, 03 Jun 2014 21:37:57 +0800</pubDate><description><![CDATA[3.1 源码
init: function( selector, context, rootjQuery ) {
		var match, elem, ret, doc;

		// Handle $(""), $(null), or $(undefined)
        //如果selector为空格，！selector为false
		if (!selector) {]]></description><category></category></item><item><title><![CDATA[jQuery源码学习笔记：扩展工具函数]]></title><link>https://blog.csdn.net/starcuan/article/details/27983455</link><guid>https://blog.csdn.net/starcuan/article/details/27983455</guid><author>starcuan</author><pubDate>Sun, 01 Jun 2014 20:47:40 +0800</pubDate><description><![CDATA[// 扩展工具函数
jQuery.extend({
    // http://www.w3school.com.cn/jquery/core_noconflict.asp
    // 释放$的 jQuery 控制权
    // 许多 JavaScript 库使用 $ 作为函数或变量名，jQuery 也一样。
    // 在 jQuery 中，$ 仅仅是 jQuery 的别名，因此即使不使用]]></description><category></category></item><item><title><![CDATA[jQuery源码学习笔记：构造jQuery对象]]></title><link>https://blog.csdn.net/starcuan/article/details/27982175</link><guid>https://blog.csdn.net/starcuan/article/details/27982175</guid><author>starcuan</author><pubDate>Sun, 01 Jun 2014 20:41:48 +0800</pubDate><description><![CDATA[3.1源码结构：
(function( window, undefined ) {
   
    var jQuery = (function() {
       // 构建jQuery对象
       var jQuery = function( selector, context ) {
           return new jQuery.fn.init( selector, c]]></description><category></category></item><item><title><![CDATA[jQuery源码学习：常用正则表达式]]></title><link>https://blog.csdn.net/starcuan/article/details/27980909</link><guid>https://blog.csdn.net/starcuan/article/details/27980909</guid><author>starcuan</author><pubDate>Sun, 01 Jun 2014 19:58:21 +0800</pubDate><description><![CDATA[常用的数字正则（严格匹配）

正则	含义
^[1-9]\d*$	匹配正整数
^-[1-9]\d*$	匹配负整数
^-?[1-9]\d*$	匹配整数
 /^(([1-9]\d*)|(0+))$/;	匹配非负整数（正整数 + 0）
^-[1-9]\d*|0$	匹配非正整数（负整数 + 0）
/^(([1-9]\d*)|0)\.\d+$/	匹配正浮点数
^-([1-9]\d*\.\d*|0\.\d*[1]]></description><category></category></item><item><title><![CDATA[jquery1.7.1源码学习]]></title><link>https://blog.csdn.net/starcuan/article/details/27980827</link><guid>https://blog.csdn.net/starcuan/article/details/27980827</guid><author>starcuan</author><pubDate>Sun, 01 Jun 2014 19:50:34 +0800</pubDate><description><![CDATA[目录：


jquery源码学习笔记：总体架构]]></description><category></category></item><item><title><![CDATA[jQuery源码学习笔记：总体架构]]></title><link>https://blog.csdn.net/starcuan/article/details/27980555</link><guid>https://blog.csdn.net/starcuan/article/details/27980555</guid><author>starcuan</author><pubDate>Sun, 01 Jun 2014 19:48:57 +0800</pubDate><description><![CDATA[1.1、自调用匿名函数：
(function( window, undefined ) {
    // jquery code
})(window);
这是一个自调用匿名函数，第一个括号内是一个匿名函数，第二个括号立即执行，传参是window。
1、为什么有自调用匿名函数？
通过定义匿名函数，创建了一个“私有”空间，jQuery必须保证创建的变量不能和导入它的程序发生冲突。
2、为什么]]></description><category></category></item><item><title><![CDATA[淘宝分类导航条；纯css实现固定导航栏]]></title><link>https://blog.csdn.net/starcuan/article/details/27826311</link><guid>https://blog.csdn.net/starcuan/article/details/27826311</guid><author>starcuan</author><pubDate>Sat, 31 May 2014 16:22:39 +0800</pubDate><description><![CDATA[效果如下：


页面如下：





ul, ol {
    list-style: none outside none;
}
.nav-wrap {
    width:100%;
    height: 50px;
}
.float-navbar {
    border-bottom: 1px solid #F3F3F3;
    margin: 0;
    padding: 0]]></description><category></category></item><item><title><![CDATA[第十五章 文正学院成绩录入系统]]></title><link>https://blog.csdn.net/starcuan/article/details/27715669</link><guid>https://blog.csdn.net/starcuan/article/details/27715669</guid><author>starcuan</author><pubDate>Fri, 30 May 2014 22:37:51 +0800</pubDate><description><![CDATA[这是13年上半年给文正学院做的一个成绩录入系统，只需要实现成绩录入的功能，嫁接到文正教务系统中。实现的功能如图所示。










王川


2014/5/30]]></description><category></category></item><item><title><![CDATA[一个简单的图片切换特效]]></title><link>https://blog.csdn.net/starcuan/article/details/27203791</link><guid>https://blog.csdn.net/starcuan/article/details/27203791</guid><author>starcuan</author><pubDate>Tue, 27 May 2014 14:59:17 +0800</pubDate><description><![CDATA[如图所示。




该图片切换特效实现很简单，而且兼容性很好。
html页面如下


	
		
			
			
			
			
			
		
	



css样式

* {margin:0; padding:0;}
body {font-size:12px; color:#222; font-family:Verdana,Arial,Helvetica,sans-serif; b]]></description><category></category></item><item><title><![CDATA[SQL编程实例]]></title><link>https://blog.csdn.net/starcuan/article/details/24934105</link><guid>https://blog.csdn.net/starcuan/article/details/24934105</guid><author>starcuan</author><pubDate>Sat, 03 May 2014 21:20:42 +0800</pubDate><description><![CDATA[SQL编程：


SQL编程：存储过程+事务处理+回滚+数据迁移
SQL编程：统计n次考试的成绩]]></description><category></category></item><item><title><![CDATA[SQL编程实例：Access数据库，两张表的统计，count、sum聚合函数的使用，iif的使用，group by的使用]]></title><link>https://blog.csdn.net/starcuan/article/details/24934297</link><guid>https://blog.csdn.net/starcuan/article/details/24934297</guid><author>starcuan</author><pubDate>Sat, 03 May 2014 21:19:38 +0800</pubDate><description><![CDATA[使用工具：
FineReport报表设计器，Access数据库
需求描述：
有两张表，订单表和订单明细表
1、订单表结构：


2、订单明细表结构：


目的：根据这两张表做出下面的一张表


分析：
1、因为在订单明细里订单ID可能出现多次，所以一定要先把订单ID去重，否则两张表join的时候，订单ID就会有重复的，这时用count函数求订单数量时就会出错了
所以先]]></description><category></category></item><item><title><![CDATA[linux学习：常用shell语句]]></title><link>https://blog.csdn.net/starcuan/article/details/24796857</link><guid>https://blog.csdn.net/starcuan/article/details/24796857</guid><author>starcuan</author><pubDate>Wed, 30 Apr 2014 16:32:50 +0800</pubDate><description><![CDATA[一、正则表达式的使用
cd /usr/share/dict
1、找出words文件下所有以a开头t结尾的单词
egrep "^a.*t$" words
2、匹配以abcde开头，以at结尾的单词
egrep "\" words
3、以大写字母开头，以t结尾
egrep "^[[:upper:]]t$" words
二、管道的使用
egrep "^a.*t$" words|wc -]]></description><category></category></item><item><title><![CDATA[linux学习：sqlite3简单数据库查询操作]]></title><link>https://blog.csdn.net/starcuan/article/details/24558923</link><guid>https://blog.csdn.net/starcuan/article/details/24558923</guid><author>starcuan</author><pubDate>Sat, 26 Apr 2014 22:58:49 +0800</pubDate><description><![CDATA[1、Fedora下首先确保已装sqlite3，用命令行的方式装比较麻烦，其实Febora20中软件里面可以找到一个名叫Sqliteman的软件，下载安装就行了
/*
 ============================================================================
 Name        : Test.c
 Author      : w]]></description><category></category></item><item><title><![CDATA[linux学习：获取http文件]]></title><link>https://blog.csdn.net/starcuan/article/details/24536471</link><guid>https://blog.csdn.net/starcuan/article/details/24536471</guid><author>starcuan</author><pubDate>Sat, 26 Apr 2014 15:38:22 +0800</pubDate><description><![CDATA[在Fedora系统下首先需要su获得超级用户，yum install curl curl-devel
/*
 ============================================================================
 Name        : Test.c
 Author      : wangchuan
 Version     :
 Copy]]></description><category></category></item><item><title><![CDATA[linux学习：Fedora常用软件安装]]></title><link>https://blog.csdn.net/starcuan/article/details/24497657</link><guid>https://blog.csdn.net/starcuan/article/details/24497657</guid><author>starcuan</author><pubDate>Fri, 25 Apr 2014 22:17:16 +0800</pubDate><description><![CDATA[首先su命令切换超级用户

1、gcc安装
yum install make gcc gcc-c++
下断点调试：gdb hellword
break 5
run


2、eclipse安装
yum install jre
yum install eclipse-cdt


3、chrome安装
先下载rpm文件，http://www.google.cn/chrome]]></description><category></category></item></channel></rss>