预览模式: 普通 | 列表

sql语句中使用case选择

google account

Google Accounts Sorry, there seems to be a problem. The service you're looking for is temporarily unavailable. We're working hard to restore your access as soon as possible. Please try again in a few hours. Thanks for your patience.
       错误的原因
       使用firefox下gmail manager登录了gmail,未退出;使用google tool bar退出gmail了,马上登录我的AdSence帐户,这时候出现了错误。
       完全退出gmail manage后再登录AdSence,正常~~

Tags: Google

分类:Internet | 固定链接 | 评论: 1 | 引用: 0 | 查看次数: 1051

数字,格式正则判断

   我们判断一个字符串是不是“数字,”格式

    C#
        /// <summary>
        ///  判断字符是否由数字+,格式组成
        /// </summary>
        /// <param name="input">字符输入</param>
        /// <returns>如果是数字+,格式的返回真,否则返回假</returns>
        public bool IsFormat(string input)
        {
            if (Regex.IsMatch(input, "^[\\d,]+$"))
            {
                return true;
            }
            return false;
        }

   使用 bool result = IsFormate(checkstring);

Tags: C# 正则表达式

分类:程序语言 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 720

国外免费模板网站

     本人收集的几个国外提供免费模板的网站

     1. http://webtemplatebiz.com/

         提供各种模板CSS web template, XHTML web template, Templates, web template, website template, flash template, professional template, business template, high tech template,dreamweaver template

     2. http://www.templatesbox.com

查看更多...

Tags: 免费模板 free template

分类:资源收集 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 1081

Twitter 来了

     最近twitter已经热的铺天盖地,那么究竟什么是twitter,他究竟有什么魔力能如此火热,就我自己使用来谈谈感受。

     英文twitter,字面意思是“叽叽喳喳”(google translate)

     功能非常简单,用户可以发布140字内容(不分双字节还是单字节)

     如果你想接受某个人的信息,非常简单你只要follow他,在twitter里你可以follow cnn bbc新闻,歌星名人,只要他没有屏蔽你,你都可以看到他们在说什么,在讨论什么,这样的机会可不是QQ和MSN等限时通讯工具所能办到的。

查看更多...

Tags: twitter

分类:Javascript jQuery | 固定链接 | 评论: 1 | 引用: 0 | 查看次数: 706

google.com suggest变更

   google.com的suggest,输入提示功能变脸
   提示1.内容下面多了Google Search 和 I'm Feeling Luckly按钮
   变换2.对于一些使用频繁关键字与最可能匹配的网址进行关联,
          如输入jQ 提示层中第一位的便是jQuery的官方网址jQuery.com
                   输入cnn cnn.com会被放在第一位

   

google.com-suggest

而中文谷歌的提示功能则还保持原有样式

分类:Internet | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 562

google推页面加速插件page speed

  google推出供网站开发人员页面加速优化开源插件page speed,插件从几十个项目给你网站提供提高性能的建议,需要在使用firefox浏览器,并安装firebug插件情况下使用。

What is Page Speed?

Page Speed is an open-source Firefox/Firebug Add-on. Webmasters and web developers can use Page Speed to evaluate the performance of their web pages and to get suggestions on how to improve them.

什么是页面加速

页面加速是一款开源的Firefox/Firebug插件。站长和网站开发人员可以使用页面加速插件评估页面表现得到提升页面性能的建议。

How does Page Speed work?

Page Speed performs several tests on a site's web server configuration and front-end code. These tests are based on a set of best practices known to enhance web page performance. Webmasters who run Page Speed on their pages get a set of scores for each page, as well as helpful suggestions on how to improve its performance.

页面加速是如何工作的?

查看更多...

Tags: Google page speed

分类:Internet | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 897

asp.net object toJson

  asp.net Ajax开发需要把Object,List,DataTable转为json格式,以方便操作自己整理一个JsonHelper类方便使用

需要引用

using System.Web.Script.Serialization;

public static class JSONHelper
    {
        /// <summary>
        /// 返回对象序列化
        /// </summary>
        /// <param name="obj">源对象</param>
        /// <returns>json数据</returns>
        public static string ToJson(this object obj)
        {
            JavaScriptSerializer serialize = new JavaScriptSerializer();
            return serialize.Serialize(obj);           
        }

查看更多...

Tags: asp.net json

分类:程序语言 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 691