原创 刪除桌面快捷方式小圖標的bat命令
打開記事本 寫入: reg delete HKcr\Lnkfile /v IsShortcut /f 保存爲bat 文件 然後運行
原创 使用C# 向記事本窗口發送消息
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServi
原创 使用C# 優化KMP字符串匹配算法
字符串匹配在現實生活中有着廣泛的應用,DNA匹配,情報檢索,信息查找等.在字符串匹配算法中BM 算法,經過事實驗證是最高效算法.不過它也是最抽象的算法.由於本人水平有限,只能寫一些KMP的優化,希望大家海涵.具體示例代碼如下: using
原创 我的友情鏈接
51CTO博客開發
原创 JavaScript總結
JavaScript 裏的函數和對象即有對象的特徵也有數組的特徵. 例: var aFunction = function() {}; //一個函數 aFunction.aProperty = "Property of
原创 SQlDataReader用法介紹
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient;
原创 JavaScript總結
JavaScript 裏的函數和對象即有對象的特徵也有數組的特徵. 例: var aFunction = function() {}; //一個函數 aFunction.aProperty = "Property of
原创 仿Jquery
var MyQuery = function(selector){ if ( window == this ) return new MyQuery(selector); //這裏只實現dom類型的簡單
原创 window平臺的lisp環境搭建
下載 lisp in a box 包 安裝 emacs : 進入 lispbox-x.x/emacs-x.xx/bin,點擊運行 addpm.exe,爲你自動安裝. 啓動 emacs, 按下 C-x C-f ,輸入 ~,查找到默認hom
原创 我的友情鏈接
51CTO博客開發
原创 JavaScript實現調查問卷
鄙人屌絲程序猿一枚,閒來無事,想嘗試攻城師是感覺,於是乎搞了點小玩意.用js實現調查問卷,實現了常規的題型,單選,多選,排序,填空,矩陣等. 遂開源貼出來與各程序員共享,聊以自慰. 前臺代碼如下: 1 <%@ Page Langu
原创 JS對象與函數糾纏
function person(name){ this.name=name; //構造函數內的屬性 this.show=show; } function sho
原创 快速刪除瀏覽器緩存
快速刪除瀏覽器緩存的幾種方式: 一. ctrl+shift+delete 二. F12 打開調試工具,點擊緩存.然後刪除
原创 js 實現鼠標拖動的div層
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
原创 GetHashCode 與HashTable ,Dictionary
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressi