asp.net Razor 视图具有.cshtml后缀,可以轻松的实现c#代码和html标签的切换,大大提升了我们的开发效率。但是Razor语法还是有一些棉花糖值得我们了解一下,可以更加强劲的提升我们的开发效率,减少开发bug的出现。 Razor 采用的是@ 尾巴符号,正是这个符号成就了Mvc开发效...
分类:
Web程序 时间:
2015-08-18 19:05:30
阅读次数:
227
搬运自本人博客:http://www.xgezhang.com/xpath_helper.html
每一个写爬虫、或者是做网页分析的人,相信都会因为在定位、获取xpath路径上花费大量的时间,甚至有时候当爬虫框架成熟之后,基本上主要的时间都花费在了页面的解析上。在没有这些辅助工具的日子里,我们只能通过搜索html源代码,定位一些id去找到对应的位置,非常的麻烦,而且经常出错。这里介绍一个...
分类:
Web程序 时间:
2015-08-16 18:19:02
阅读次数:
388
db.properties
#mongodb数据库配置文件
#数据库服务器所在的ip地址
ip=127.0.0.1
#mongodb服务端口号
port=27017
#要连接的库
dbName=yc
#用户名
uname=
#密码
password=
#默认的连接集合
collectionName=voting
...
分类:
数据库 时间:
2015-08-15 23:10:51
阅读次数:
283
matlab tips and tricks and ...page overview:I created this page as a vectorization helper but it grew to become my annotated Matlab reading cache. In ...
分类:
其他好文 时间:
2015-08-11 23:12:10
阅读次数:
190
package com.fengyunhe.helper.image;
import java.io.*;
/**
* 图片base64互转
* Created by yangyan on 2015/8/11.
*/
public class ImageBase64Utils {
public static String bytesToBase64(byte[...
分类:
编程语言 时间:
2015-08-11 10:21:41
阅读次数:
218
using System;
using System.Collections.Generic;
using System.Data.SQLite;
using System.Data;
namespace Com.ZCWL.Rock.Helper
{
public class SQLiteHelper
{
private static string connectionString =...
分类:
数据库 时间:
2015-08-05 22:27:28
阅读次数:
326
关键词:sqlite数据库,listview,数据适配器,内容提供者sqlite数据库:SQLiteOpenHelper类;SQLiteDatabase; SQLiteOpenHelper:A helper class to manage database creation and version....
分类:
移动开发 时间:
2015-08-03 20:52:48
阅读次数:
165
AsyncQueryHandler A helper class to help make handling asynchronous ContentResolver queries easier. 一个助手类来帮助简化处理异步ContentResolver查询。 AsyncQueryHandler...
分类:
其他好文 时间:
2015-08-01 21:53:18
阅读次数:
219
今天在网上看了一下传说中的快速排序,然后试着用C#递归实现了一下:(这里是降序)void Main(){ int[] arraytosort=new []{1,1,2,3,5,6,7,70,10,58,3,19,1,0,5,2,4,3}; Helper helper=new He...
分类:
编程语言 时间:
2015-07-29 06:14:46
阅读次数:
111
Android里Scroller类是为了实现View平滑滚动的一个Helper类。通常在自定义的View时使用,在View中定义一个私有成员mScroller = new Scroller(context)。设置mScroller滚动的位置时,并不会导致View的滚动,通常是用mScroller记....
分类:
移动开发 时间:
2015-07-28 20:50:11
阅读次数:
202