Code Project精彩系列(2)

640?wx_fmt=gif

640?wx_fmt=jpeg


Windows Forms

Fireball Resourcer

把各種資源嵌入應用程序資源

Window Hiding with C#

隱藏窗體, 似乎是其它運行的窗體 J

Proper Threading in Winforms .NET

Windows Forms User Settings in C#

使用VS設置設定forms, cool

A Pretty Good Splash Screen in C#

一個自繪可愛屏幕

A curtain hiding screen updates, and blending old and new content with a nice fade effect

一個list卷屏和淡出入效果, very cool!

Creating a non rectangular form using GDI+

創建一個非矩形的窗體

Instantly Changing Language in the Form

立即改變Form的語言

Changing the background color of cells in a DataGrid

改變DataGrid單元格的顏色

Sticky Windows - How to make your (top-level) forms to stick one to the other or to the screen

磁石窗口, 互相吸引緊貼, 在一個主窗體下

Form Region Extender Provider

帥, 界面

Drag and Drop Internet Shortcuts from Windows Forms to the Desktop

從WIN Forms程序拖拽internet快捷方式到桌面

Drag and Drop files from Windows Explorer to Windows Form

拖拽文件從Explorer到Win Form

The Favalias Application
1 Oct 2003

Favalias application enables you to manage your favorites web sites in an XML file and to launch your favorites application using aliases. You can also make your own addins (in any .NET language) to call your own code.

Using Cache in Your WinForms Applications

應用程序使用緩沖區

Drag-and-Drop Attached File From Outlook (97 and above) to C# Window Form

拖拽附件從Outlook到Windows Form

Form appearance effect and notification window

透明通知窗口

Saving and Restoring the Location, Size and Windows State of a .NET Form

存儲和恢復本地窗口大小和狀態

How to do Application Initialization while showing a SplashScreen

應用軟件初始化時候顯示的一個等待屏

Unleash PropertyGrid with Dynamic Properties and Globalization

屬性控件添減/只讀

Use the ApplicationContext Class to Fully Encapsulate Splash Screen Functionality
3 Jan 2004?Advanced

This isn't an example on how to create a splash screen for your app. This article explains a clean way to encapsulate splash screen functionality into an inherited ApplicationContext class. This article also shows in detail what happens behind the scenes when a WinForm app starts.

Drawing Cards with Cards.dll

繪制一個卡片

Add Most Recently Used Files (MRU) List to Windows Applications

實現Windows Applications最近訪問過的文件

Article One: Building a UI Platform in C# - Drag and Drop

拖拉, 線上拖拉, 自由拖拉, 拖拉到一個區域內產生磁石效果

A simple framework for adding undo/redo support

撤銷/重做

A Single Instance Application which Minimizes to the System Tray when Closed

一個單實例應用程序并且關閉時最小化到系統托盤

Ye Aulde Application Starter

一個漂亮的大按鈕

Windows Forms Setup Saver

可以從多個配置文件中載入配置, 定制某一個

Add Context Sensitive Functionality to a Windows Forms Control

右鍵后效果

Article Two: Building a UI Platform in C# - Testing via UI Animation

模擬鼠標動作

Multi Document Interface (MDI) tab page browsing with C#

MDI TAB瀏覽器

Save valuable screen space by hiding seldom used or insignificant controls on a WinForm

顯示完全用戶界面和縮減用戶界面

Windows XP Visual Styles for Windows Forms

XP風格的Windows Forms

Runtime resizable controls!

運行時刻調整大小的控件

File Splitter Utility in C# - WinForms

分裂/合并文件

Introduction to MDI Forms with C#

介紹MDI

OSD window with animation effect, in C#
25 May 2006

The article explains how to create an OSD window with animation/semi-transparent effects, in C#, using the NativeWindow class.

Application State Data using XML

應用程序狀態

Article Three: Building a UI Platform in C# - The Control Composite

復合控件控制, 和鼠標控制

FormAnimations

動感窗體, 拉伸/淺出/定位/控件順序出現/消失, 非常帥

Windows Explorer in C#

Windows Explorer 這里是個文件瀏覽器

Extending the save file dialog class in .NET

擴展save file對話框

A Base Windows Form for displaying, editing and automatically updating Many-to-Many relationships - Part I

A Base Windows Form for displaying, editing and automatically updating Many to Many relationships – Part 2

Enabling Windows XP Visual Style UI for your C# applications

XP風格界面

Form Placement Component

退出程序以后重新啟動自己…

MdiClient Revisited

繪制MDI背景, 漸變色, cool

Pre-beginner's guide to using a timer

計時器初學指南

Window State Monitor

Windows狀態監視器

Irregular Shaped Form

不規則界面, 這里是個按鈕

SnapFormExtender - a magnet for your MDI child forms

磁鐵MDI子窗體

A Shaped Windows Form Application with Variable Opacity

透明的不規則窗體

A Reusable, Flexible Error Reporting Framework
29 Apr 2004

Using configuration classes and simple implementation, this library allows your applications a flexible method of reporting errors that happen. Included is a Windows XP-like WinForms UI that allows users the ability of opting for error reporting in WinForms applications.

Access Parent Statusbar from a child

MDI子窗體訪問母窗體的Statusbar

Non-transparent controls on a semi-transparent window

不透明控件在半透明窗體 cool 按鈕

Gradient Forms - The Easy Way

傾斜的漸變色窗體背景 Forms

Tic Tac Toe in C#

OX棋, 很好玩 J

Using a delegate to pass data between two forms

使用一個代理在兩個窗體間傳遞數據

Not Just Another Form Fader

透明灰度化窗體

Multithreaded UI Model-View Data Binding

多窗體間共享數據綁定

Tiny WinForms Application Framework - Juju

應用程序框架

Move window/form without Titlebar in C#

在界面上按著鼠標就能拖動

Automatic Fading Form

淡出淡入窗體 

Floating, collapsible transparent window in C#

漂浮. 透明窗體 cool

Fireball.XmlGui

XML界面

Using inheritance to create Windows Forms dialogs.

從一個基礎類里邊建立窗體

Cute Splash Windows and About Boxes using .NET

可愛的初始框 && About對話框

A Resizable Analog Clock in C# using GDI+ & Windows Forms

一個大小相當可以調整大小的鐘表, 使用GDI+雙緩沖

Reporting in Windows.Forms

把Windows APP程序數據變成Html報表

Interactive Shaped Forms

一個Hot播放器用界面

Passing an Object between Two .NET Windows Forms

在兩個窗體間傳遞對象

Creating Custom Shaped Windows Forms in .NET

一步一步教你畫不規則窗體

Fade-in forms using .NET and C

淡入漸出

Multi-monitor programming in C#
21 Mar 2004

How to discover and use multiple monitors.

Full Screen Mode in C#

Form的全屏模式

Form and Control Position and Size Utility

Form和控件的大小紀錄下來, 再打開一樣.

XML/XSLT

?

XmlSerializer and 'not expected' Inherited Types
25 Oct 2004

A solution to XmlSerializing inherited types not known until runtime.

?

A (very) simple XSLT test utility

轉換一個XML文件到XSLT文件

Enumerate over XML data in a foreach loop

列舉所有XML數據

EDIFACT to XML to Anything You Want

轉換一個XML到XSLT

C# and XML Source Code Documentation
8 Sep 2005

Demonstrates how to use C#.NET's XML source documentation to produce professional, indexed and searchable source documentation.

How to Append to a Large XML File

給一個大的XML文件追加數據

Quick and Dirty Settings Persistence with XML

XML臟標記 ?

XML Data Files, XML Serialization, and .NET

XML Schema,xsd.exe  讀入card文件, 似乎轉變成手機識別格式

A Simple XML Validator

確認XML文件的有效性, 檢察錯誤

An XML Compiler

一個XML編輯器

XPath reader-writer

使用XPath對XML文件讀寫

XSLT Object Relational Mapping

XML forking in .NET Framework 1.1

顯示如何在1.1的環境下處理XML

CreateXMLDB - Create an XML Database and Associated C# Class to Access it

從XML文件創建一個XML數據, 并且生成一個訪問它的C#類

AnyDataFileToXmlConverter Class/Utility

把不同的數據文件轉換成對應的XML資料

Load and save objects to XML using serialization

使用serialization讀取存儲對象到XML

Generate Classes From Declarative Code

通過XML創建對應類

A Simple Serializer / Deserializer
22 Sep 2004

A simple Serializer / Deserializer.

Import/Export registry sections as XML
8 Feb 2005

Allows for the import and export of registry sections as XML.

XPath - Elements and Attributes

Extracting tags and details from your MP3 collection into XML

提取mp3 XML的tags和詳細資料

XML-based Data Abstraction Layer generator

From XML to Strong Types in C#

C#/XML based state engine

Multiple Document Output from XSL Transformations using Parameters and C#

用xml,xsl文件中產生一個靜態的web頁

Extract RSS feeds from Web pages

從一個web頁里提取RSS feeds

Recursive directory watch

遞歸目錄XML

XML sub-tree processing in .NET Framework 1.1

XML子樹處理

AidaNet : Network resources inventory
8 Mar 2004

XPath script to analyze multiple XML files.

Vector Data Language Specification (v1.1)
23 Feb 2004

This article covers the Vector Data Language Specification for Vector version 1.1

Insert XML Nodes Using XmlTextReader and XmlTextWriter

使用XmlTextReader和XmlTextWriter插入XML節點

Using .xml files to replace small databases

把xml文件變成一個小的數據庫

Reading an XML file using .NET

讀取XML

Embedding a Date Formatting Script in an XSL File
12 Nov 2004

This example shows you how to use Microsoft's XSL script extensions to add custom scripts to your XSL file.

Generating Get/Set Methods for your C# Code Using XML/XSLT

使用XML/XSLT文件產生一個GET/SET方法

Wrap the .NET Xml Serialization Framework
2 Jun 2003

This lightweight base class trivializes Xml Serialization and eliminates duplication in projects with multiple serializable classes.

Convert RSSBandit XML files to OPML format
xml文件轉換到opml文件

?

Creating an XML file based on XSD

從一個XSD文件創建一個XML文件

http://www.codeproject.com/csharp/?頁初稿. 06.12.26 21:01 鳥

Docking bars

?

OutlookBar: A Simplified Outlook Style Sidebar Control

OutLook風格的左側靠邊工具條

BarTender - Group your contents

收縮工具條

A Docking control that can be dragged and resized by the user

一個運行時大小可調節框

?

Menus

?

Menu Images using C# and IExtenderProvider - a better mousetrap!

擴展Menu支持icon和image 2002文

A Magical Edit Menu Manager

一個全功能的edit菜單, 包括全選,復制,粘貼等

Cheat's Outlook Bar

Outlook左側伸縮菜單

Extended Interface for Status Message

選擇項的時候的屏幕下方的信息條提示

MenuItem Extender - add images and font support to your menu

菜單項擴展, 加入圖像和字體支持

MenuEx - full image and color support for Windows Forms Menus using C#

加入圖像擴展… Office2003風格

Office 2003 Menus

Almost Office2003 - Getting rid of the margin in MenuItems

Office2003風格菜單

Populating Menu Control in ASP.NET 2.0 - using different data sources

橫向擴展和縱向擴展菜單條, cool

Most Recently Used (MRU) Component

最近訪問

Switching language of Menu using C# and XML

使用XML改變菜單語言

ActionMenuStrip/OptionMenuStrip: Generic MenuStrips Configured by an Enum T

文字, 框選和圈選

Dynamic Menu Creation

動態菜單創建

Improvement of the .NET Menu Style class

改進風格, 這里鼠標項變色

Toolbars

?

Office 2007 ToolStrip Renderer

Office2007的工具條和菜單

A Simple C# Toolbar Docking Framework

一個拖放停靠工具條

Extended Interface for Toolbars

This extension allows toolbar buttons to call functions automatically

Rebar Control Wrapper in C#

停靠工具欄

Print Preview Control Bar

打印預覽控制欄

Magic MenuControl - VS.NET Style

模擬VS.NET風格菜單

Adding a custom control to a ToolStripDropDownButton

添加一個自定義控件到下拉按鈕

Unedited Reader Contributions

?

Upgrading from MainMenu and ToolBar to MenuStrip and ToolStrip

濃縮….. 還有一個停靠窗口…..

Add User Shortcuts To Files/Urls to Application Menus

添加快捷方式從文件/地址到菜單

ToolStrip Custom Renderers

透明Tool條

ButtonMenu - a.k.a. a simple hack for a nice gui
按鈕的下拉菜單

C# Samples

?

CodeProject Utilities

?

AutoSig: A browser helper object that automatically adds a different signature when you post a message to a CP forum

在你貼的CP消息上自動添加不同的簽名

CodeProject Quoter

Simple tool for storing and retrieving the quotes and using them in the signatures.

Date and Time

?

Calculating Christian Holidays

計算基督教假期時間

Convert date from Hijri Calendar to Gregorian Calendar and vise versa

轉換日期: Hijri歷法到羅馬歷法

Custom ShortDate type (struct: IComparable)

定制一個簡短時間類型

General

?

Line Counter - Writing a SharpDevelop Add-In

一個VS插件, 計算行數

Webpage thumbnailer

An article on how to get a webpage thumbnail and give your favorite links a face.

?

Automating web browsing

自動web瀏覽, 自動點擊按鈕填寫表單

Using the Google Desktop and ReSharper APIs

使用Google桌面API給ReSharper寫一個插件

?

Generate a PDF File using CrystalReports

用CrystalReports產生一個PDF文檔

Profiting from the WebForm designer generated code

創建一個數據庫訪問類, 從webForm設計器產生代碼

Purgatory

To Remove Decimal From Price

轉換一個價格單位到十進制, 小數點存在

Screensavers

A complete C# Screensaver that does double-buffering on multiple monitor systems!

在一個多監視器系統的屏幕保護程序

Andrew's CodeProject Screen Saver

靠… 一個CodeProject屏保

Christian and James' Code Project Screensaver

CodeProject屏保

Strings

Converting PDF to Text in C#

轉換PDF到文本

A word-wise HTML text compare and merge engine

A C# .NET implemntation of HTML text compare and merge engine based on a similar algorithm as the Unix diff.

Parsing event log(*.evt) file

分析evt事件日志

Conditional Replacement

string條件置換

Adding line numbers to text

添加一行數據到源碼或者text文件

Fastest C# Case Insenstive String Replace

Find a fast way to replace case insenstive string.

Repair Broken Text

修復壞掉的的文本

Word Search Engine

一個單詞搜索工具在你的應用程序或者webSite

Processing Command Line Arguments

處理命令行參數

Bulk String Comparison - Time Involved

大字符串比較

Unedited Reader Contributions

LightBox Web Gallery Generator

產生一個Web畫廊效果. 使用的是LightBox JS

Planet 3D (alias GL Earth)

3D地球, opengl移動行星

Globalization of Windows Application in 20 Minutes using C#

20分鐘全球化你的應用程序

The XmlTextReader - A Beginner's Guide

XML文本閱讀者

How to get Website Thumbnail in a C# application without creating a forms. (console)

Database Schema Comparison Utility

尋找兩個數據庫中間的不同

Integrate Windows Desktop Search 2.x with web search

Windows桌面搜索和web搜索一體化

Testing file access rights in .NET 2.0

測試文件的正確性?

A simple way to test individual access rights for a given file and user

UI for simple HTTP File Downloader

HTTP文件下載工具 && 界面

Capturing Web Type Content to a Single Image

Web內容截圖到單一圖像文件 cool

Full Text Search Tool

全文搜索工具

Panorama 360

OpenGL全景360°

An application to create interesting and fully customizable web photo gallery

一個應用程序創建一個有趣定制的web照片庫

Simple SVG editor

SVG文件編輯器

Skinned form playing Audio and OpenGL altogether

播放音頻和OpenGL

OpenGL + BASS Audio + AERO-GLASS style on XP.

Automatic Sql server Backup Utility using sqlserveragent.

自動備份SQLsever 使用 sqlserveragent

How to embed Web Page in an InfoPath Form

把一個InfoPath Form嵌入到網頁里

An easy way to populate instances using generics

使用類創建一個簡單的數據存取層

Window force forward

當用戶輸入時可能需要一個小例子去解釋如何創建程序窗口

A small example how program window can be brought up when user input may be needed.

Counting PDF Pages using regular expressions

使用正則表達式計算PDF頁數

Easy String to DateTime , DateTime to String and formating.

轉換string和日期

How to build an Inductive User Interface using the Windows Presentation Foundation

感應用戶界面

Magic Box

OpenGL + skinEngine.

A Really Vain "How are my articles doing" web spider

網絡蜘蛛 取codeproject文檔

Csharp Image Selection Form

從一些照片中選著一個顯示

How to programmatically open a text file in Excel using VSTO

在Excel中打開一個文本文件?.. --#..

CGV Password Generator

一個密碼發生工具

Converting Dates in C#

把日期從歐洲格式轉換成美國格式

Discover Parameters For Ms Access Jet 4.00 Database Using Microsoft Patterns DataBlock
22 Dec 2006

Discover Parameters For Ms Access Jet 4.00 Database Using Microsoft Patterns DataBlock

Simple Message Queue Manager

消息隊列管理

System Beep

系統聲音, bibi聲?

Writing custom attributes in C#

定制屬性

ADODB serialization

How to serialize and deserialize an ADODB Recordset

Contents

General

Enforcing Single Instance of a Hidden-Window Application

單實例隱藏窗體應用程序

Single Instance Application, Passing Command Line Arguments

單實例命令行程序

Inter-Process Communication

Inter-Process Communication in .NET Using Named Pipes, Part 1

Inter-Process Communication in .NET Using Named Pipes, Part 2

使用管道在.NET應用程序進程間交流

Multi-threading

Work Queue based multi-threading

Allows an application to queue work that is performed concurrently to the main thread while maintaining exception processing.

Finite State Machine and Multithreading using .NET

有限機和多線程

Multithreading in C#

Multithreaded Programming Using C#

多線程程序

.NET multi-threading and communication between threads

多線程和線程間交換信息

Managing shared resource access in .NET multi-threading

多線程共享資源存取

Multithreading Concepts in C#

多線程觀念

Converting single threaded C# class to multithreaded one

轉換一個單線程類到多線程?.. --#..

Processes

Launching a process and displaying its standard output

發動一個進程和顯示它的標準輸出

IPC Between Managed and Unmanaged Code

在托管和非托管進程之間傳遞數據 進行通信

Thread Pooling

Smart Thread Pool

一個巧妙的線程池

Changing the default limit of 25 threads of ThreadPool class

改變線程池類的默認的25線程限制

.NET's ThreadPool Class - Behind The Scenes

When to use .NET's ThreadPool class, and when to use something different.

Thread variables and the .NET thread pool

變量線程和線程池

Creating your own thread pool in .NET

創建你自己的線程池

Wait for threads in a ThreadPool object to complete

等待線程池中的線程結束

Cancellable Thread Pool

一個復位線程池, 關于異常中斷和重新開始功能

Worker Queue: Serialised Access to the ThreadPool

An abstraction layer for applications to intercept access between the application and threadpool, to better manage processing upon it.

Don't waste time! Synchronize your ThreadPool.

同步線程池

Threading

Generic InvocationHelper

一個線程安全的泛型類 另一個線程更新用戶界面.

A generic class for providing thread-safe invocation of delegates. Can be used for (but not limited to) updating GUI elements from another thread.

Threading paradigms available under the .NET CLR, using C#

這篇文檔討論在.NET CLR下不同的線程范例

The .NET Framework's New SynchronizationContext Class

對于線程同步問題的容易的控制

ThreadQueue -- A queue for threads that allows asynchronous execution and a time limit

一個線程隊列允許異步執行和時間限制

PriorityLock - Release locks by priority

A Monitor like class that releases locks by priority.

Sending parameters at thread startup

線程啟動的時候發送參數

Unedited Reader Contributions

?

PipeStream, a Memory Effecient and Thread-Safe Stream

使用兩個線程 安全讀/寫數據流. 基于單生產者/單消費者問題

Idiot's Guide to Grid Computing I

網格計算機的傻瓜指南

Asynchronous File IO using anonymous method

使用匿名辦法實現異步文件IO

Real Multi-threading in .NET 2.0

Improper Usage of Invoke
26 Jun 2006

Asynchronous programming is great, but improper use can cause your form to become non-responsive

異步問題是狠大的, 不正確使用會讓你的form無響應.. --#///


Diff?文件差異比較?diff問題

A Generic - Reusable Diff Algorithm in C#

在兩個對象之間尋找差異

A Generic, Reusable Diff Algorithm in C# - II

一個重用的差異比較

An O(ND) Difference Algorithm for C#

比較兩個文本文件. 最快最多的比較它們之間的不同

QuickLZ Pure C# Port

This article describes a C# port of the new QuickLZ compression algorithm

A .NET Path Finder Library

This is a .NET .DLL that currently contains one type called SimplePathFinder, it is simple and easy to use, great for A* beginners.

Encryption

?

The Art & Science of Storing Passwords

一個藝術和科學的辦法存儲密碼, 三路密碼存儲, 解釋和例子

RC4 Encryption Algorithm: C# Version

RC4 加密運算法則, C#版本

ThexCS - TTH (tiger tree hash) maker in C#

TTS是一個通用的hash文件運算法, 主要用在P2P直連方面的hash運算

Cyclic Redundancy Check (CRC32) HashAlgorithm

CRC32(循環亢余檢測) Hash運算

A C# implementation of the Twofish cipher

二魚(Twofish)密碼.. --#...

http://www.chinabcg.com.cn/Article_Print.asp?ArticleID=475

Evolutional?進化計算

采用簡單的編碼技術來表示各種復雜的結構,并通過一組編碼表示進行簡單的遺傳操作和優勝劣汰的自然選擇來指導學習和確定搜索的方向。用于解決傳統的人工智能方法遇到的知識表示、處理信息模式及組合爆炸等問題提出的一種通用的問題求解方法。

?

Evolution computations on C#

進化計算庫 && 使用它們的應用程序,和一些問題的解決

Generalization of a Simple Genetic Algorithm (GA)

一個簡單的遺傳運算,

AI - Simple Genetic Algorithm (GA) to solve a card problem

AI- 簡單遺傳運算解決卡片問題

A Simple C# Genetic Algorithm

遺傳運算

A simpler C# genetic algorithm

Genetics Dot Net - The Basics

遺傳運算

General

Unicode Optical Character Recognition

Unicode光學識別, 使用一個人造神經網絡

The Project is an optical character recongnition application using artificial neural networks.

Inference in Belief Networks

在一個信度網絡中的桶消元算法

Pure C# MiniLZO port

使用miniLZO快速stream壓縮

LZO快速從預壓縮文件中解壓大量數據的算法, 開源

Back to Basics - Generic Data Structures and Algorithms In .NET 2.0

普通數據結構和運算法則

A Simple Compiler for the Common Language Runtime

LALR(1)編譯器 end-to-end example

http://www2.gdin.edu.cn/jkx/webstudy/bianyiyuanli/fornpage/

Code Analysis Tools - A collection of IL code analysis tools

1 Sep 2006?Advanced

This tool analyses the IL of a list of assemblies, looking for types, methods, and fields that are not used by another list of assemblies. This lets you see if you have unused legacy code lying around that should be cleaned up.

The Longest Common Substring with Maximal Consecutive

一個長的公有子鏈最大連續問題

Verhoeff Check Digit in C#

檢測數字using the Verhoeff scheme

Option Pricing using the Binomial Tree Model in C#

二項式期權定價模型

Implement Phonetic ("Sounds-like") Name Searches with Double Metaphone Part V: .NET Implementation

實現一個Double Metaphone語音匹配算法 (雙精度變音位, 音位的自由變換).

Fast statistical calculations of sub matrices for image processing

Describes the summed area table algorithm of Franklin Crow.

Ternary Search Tree Dictionary in C#: Faster String Dictionary!

快速有效的實現一個string詞典數據結構

Ternary?Search?Trees結合了binary?search?trees 及 digital?search?tries的優點,也就是說具備digital?search?tries只儲存word list節省空間與binary?searchtree搜尋快速的特性。適合拿來當作查詢字典的資料結構。

Combinatorial algorithms in C#

一些基本的組合運算

AI Search to Solve the Missionaries and Cannibals Problem

智能解決傳教士過河問題

有N個牧師和M個野人過河,只有一條能裝下R個人的船,在河的任何一方或者船上,如果野人的人數大于牧師的人數,那么牧師就會有危險。找出過河需要的最少步數,如果不能安全過河,返回-1 java解

http://cache.baidu.com/c?word=missionaries%2Cand%2Ccannibals&url=http%3A//zhangfaen%2Espaces%2Elive%2Ecom/blog/cns%2122c5bdad50909735%21191%2Eentry&p=97759a45d3df13fc57ee91255f0d97&user=baidu

Simple Parrot Turing Algorithm in C#

一個簡單的機器人聊天程序, 努力要通過圖靈測試(Turing test: 測試計算機AI程序是否具有人類思維的方法)

XOR tricks for RAID data protection

使用異或的辦法對RAID-5進行數據保護

http://cache.baidu.com/c?word=raid%3B%2D%3B5&url=http%3A//www%2Eqqgb%2Ecom/Netware/datasave/datasaveJs/Save3/133702%2Ehtml&p=8b2a9640898211a058efc16f4c42c1&user=baidu

Volume Weighted Average Price (VWAP) Algorithm

VWAP運算法則 VWAP:成交量加權平均價格

ID3 Decision Tree Algorithm in C#

ID3 機器學習的決策樹算法

Fortune's Voronoi algorithm implemented in C#

使用Fortune(平面掃描算法)計算2D Voronoi graphs

http://cache.baidu.com/c?word=fortune%3B%CB%E3%B7%A8&url=http%3A//wywcgs%2Espaces%2Elive%2Ecom/&p=882a970685cc44b505b4db344e&user=baidu

Math

One dimensional root finding algorithms

關于一元f(x)=0算法解決…

Evaluating Mathematical Expressions by Compiling C# Code at Runtime

一個新的辦法解決數學表達式求值程序

Extended Euclidean Alogo

乘法逆元

High Speed Prime Numbers Calculation

高速基礎數計算

Path Finding

?

C#: A-Star is born

A* 最短路徑搜索算法

The Bridges of K?nigsburg
10 Aug 2006

Solving the impossible! A solution to The Bridges of K?nigsburg.

Path finding in C#

Very simple A* algorithm implementation

初學者的簡單的A*尋徑計算

Maze Solver (shortest path finder)

迷宮問題, 最短路徑尋找

Sorting

ObjectComparer

在任意列中排序對象數組

Sorting Algorithms In C#

A collection of sorting algorithms implementing customizable comparitor and swapper functions.

?

Numeric String Sort in C#

Windows Explorer中用文件名字符串排序

ArrayList Sort Tutorial

Arraylist排序指南

A QuickSort Algorithm With Customizable Swapping

用customize swapping快速排序

A Dictionary Collection Sorting By Value

一個字典集合按值排序

A Simple and Generic sorting technique for your business object collection

This article discusses sorting of a user defined collection object based on any of the properties of the business entity.

business object(bo)業務對象 Generic(泛型)

關于你的一個簡單和普通的排序技巧

How Count Sort Works

數字排序

Generic Quick Sort using anonymous methods

使用泛型方法進行快速匿名排序

QuickSort Algorithm using Generics in C# 2.0

使用泛型快速排序

String Matching

A SoundEx implementation in .NET

Demonstrates an OO implementation of 4 SoundEx variants

Soundex是一種語音算法,利用英文字的讀音計算近似值,值由四個字符構成,第一個字符為英文字母,后三個為數字。在拼音文字中有時會有會念但不能拼出正確字的情形,可用Soundex做類似模糊匹配的效果。例如Knuth和Kant二個字符串,它們的Soundex值都是 H416。更詳細的說明參考Donald Knuth大師的名著:電腦程序設計的藝術 (The Art Of Computer Programming) 第三卷排序和搜尋。

An improvement on capturing similarity between strings

一個改進的算法. 用于在字符串之間捕獲相似

Efficient Boyer-Moore Search in Unicode Strings

Unicode Strings 高效率的Boyer-Moore匹配算法

Aho-Corasick string matching in C#

Aho-Corasick多模式匹配算法?AC自動機匹配算法

一個高效率的Aho-Corasick使用多關鍵字支持的關鍵字匹配算法

Boyer-Moore and related exact string matching algorithms

Boyer-Moore 有關精確字符串匹配算法

Implementing C# custom expression evaluator through RPN

使用RPN的自定義表達式求值程序

逆波蘭范式RPN全稱reverse Polish notation,

把嵌套括號的表達式翻譯成RPN表達式可以減少循環,加快求值速度。

http://cache.baidu.com/c?word=rpn&url=http%3A//www%2Echinaitpower%2Enet/2005September/2005%2D09%2D13/206363%2Ehtml&p=8d71ce15d9c747e043bfc7710e1c82&user=baidu

Word stemming for German on .NET Framework

關于德文的.. --#... An article on word stemming algorithm, implemented for German language on the .NET framework.

Fast, memory efficient Levenshtein algorithm

A version of the Levenshtein algorithm that uses 2*Min(StrLen1,StrLen2) bytes instead of StrLen1*StrLen2 bytes.

Levenshtein?Distance可以用來比較兩個字符串的相似度,即兩個字符串之間的“距離”。這個“距離”其實就是從源字符串變換到目標字符串需要進行的刪除、插入和替換的最少次數。

Unedited Reader Contributions

A-?star - A* algorithm implementation in C# (Path Finding, Path Finder)

A*尋徑

Combination Generator
12 Jun 2006

A combination generator that works properly with duplicate symbols in its input.

Genetics Dot Net Two - Adaptive Programming

遺傳- 自適應

AI : Neural Network for beginners (Part 1 of 3)

AI : Neural Network for beginners (Part 2 of 3)

神經網絡初學

Self-Organizing Feature Maps (Kohonen maps)

自組織特征映射 理論和程序實現

Artificial intelligence network load balancing using Ant Colony Optimisation

使用蟻群算法的人工智能網絡負載均衡(load balancing)

Base Conversion of Very Long Positive Integers

轉換一個非常長的正整數從基數到另一個 from one base to another

Cribbage Hand Counting Library
4 Sep 2006

A library to score cribbage hands.

A reusable Prefix Tree using generics in C# 2.0

泛型寫的一個可重用的前綴樹數據結構

Encrypt and Decrypt an string

加解密一個字符串

A (almost) RFC 822/2822 compliant date parser

分析一個E-MAIL時間?電子郵件的標準格式 (RFC 822)

Mini Algebaraic Calculator 1

一個mini型的數學表達式剖析器

Emulating PBEWithMD5AndDES Encryption under .Net

.NET下仿效java的PBEWithMD5AndDES的加解密辦法

GraphSynth - design, implement, and test graph grammars

設計. 實現 . 測試一個圖語法

圖語法將字符串上的形式文法擴充為圖上的形式文法,提供一種能夠使用精確的數學方法來模擬圖變換的機制.

Ps: 似乎跑馬燈文字, 圖上寫字也是圖語法…………….. 是一個東西嗎?

Create Postfix from infix experssion.
20 Aug 2006

this article create postfix experssion from an infix experssion.

從一個中綴產生一個后綴

Simulated Annealing example in C#

人工智能- 模擬退火算法

Photometric Normalisation Algorithms

光測定的人臉圖確認識別算法

人臉識別,特指利用分析比較人臉視蠉特征信息進行身份鑒別的?計算機?技術。

http://cache.baidu.com/c?word=recognition%2Calgorithms&url=http%3A//e84158215ee6c29dff06689e46d0799e%2Ezh%2Ewikiax%2Enet/&p=82759a478f821dfc57ecc02a13&user=baidu

Binary Search Made Easy

二叉查找樹?Advanced

SuDoku Solver and Generator

程序解決數獨游戲問題, 呵呵, 好像很流行的

DES implementation in C#

DES

A Generic Diff/Patch Utility written in C#

Diff/Patch unix中有DiffPatch工具維護源碼

diff以"行"為單位比較兩個文本文件(也可以是目錄比較),并將不同之處以某種格式輸出到標準輸出上;patch可以讀入這種輸出,并按照一定指令使源文件(目錄)按照目標文件(目錄)更新。

2D Cramer's rule C#

2D的聯立方程解決方案

Bind Nested Tree view from database

從數據庫中綁定一個嵌套樹

Client/Server Development

An Asynchronous Socket Server and Client

同步的socket服務器/客戶端

Genesis UDP Server and Client

UDP的server/client 可選擇的可靠信道

Picture Chat Using C#

畫圖聊天…

Terminal Control Project (C# VT100 SSH Telnet)

通過SSH實現一個telnet, 并且繪制一個VT100控制界面

IP Multicasting in C#

Asynchronous Socket Communications Using the .NET Framework

Asynchronous socket communication

異步socket通信

Testing TCP and UDP socket servers using C# and .NET

測試TCP/UDP socket服務器

XML Based Communication library

使用command /object, 基于TCP/IP連接的XML通信庫

TCP/IP Chat Application Using C#

TCP/IP聊天程序

A chat server/client solution for local networks

局域網聊天

A very basic TCP server written in C#

簡單的TCP服務器

A Simple .NET TCP Socket Component

可復用的簡單的Tcp socket

SmartIrc4net - the C# IRC library

IRC通信庫

IPv6 Client Server Network Applications in C# .NET

IPV6標準的server/client應用程序

TcpDemon

一個典型的TCP調試監督程序

Create your own Web Server using C#

創建自己的web服務器

A TCP/IP Server written in C#

一個TCP/IP服務器, 運行在windows服務里等待客戶請求

A Chat Application Using Asynchronous TCP Sockets

討論一個異步socket聊天程序

An Introduction to Socket Programming in .NET using C#

一個socket程序入門

EasySocket - Flexible and easy implementation of client-server architecture in C#

一個事件導向C/S程序

Sending Binary Data using Sockets

發送二進制數據

Protocol implementation

在服務器端加入一些協議

Sockets in C#

socket

Real Time TCP/IP using C#

Making Socket Based Application Using TcpListener and TCPClient

A word on asynchronous sockets

Solution for TCP/IP client socket message boundary problem

一個TCP/IP客戶套接字消息邊界問題的解決方案

A simple TCP/IP Chat client/server

Windows TCP Tunnel

使用TCP socket從一臺機器到另一臺

DNS

C# .NET DNS query component

一個DNS查詢的可重用代碼

Peer Name Resolution (PNRP)
27 Oct 2005?Beginner

Introduction to Peer Name Resolution and Microsoft's Peer-to-Peer technology.

入門 Peer Name Resolution 和 MS P2P技術

Test Your DNS Response Times with DNS Tester

測試你的DNS響應時間

Domain Walker

允許你探測一個internet拓撲對象

Peer Graph - Searching
6 Jan 2006

Searching record meta-data in a Peer Graph using Microsoft's Peer-to-Peer technology.

Email

SMTP and POP3 Mail Server

SMTP和 POP3 E-MAIL服務器

SMTP: MailMessage done right

HTML email payload from a URL. 從一個url中有效載入HTML email

Command Line Emailer

從命令行發送E-MAIL

Email Templates: A generic solution to handle template files

E-MAIL模版 , 一個普通的(泛型的?)模版文件的解決辦法

Hotmail Exposed

連接Hotmail

A POP3 Client in C# .NET

一個POP3客戶端讀取并且處理E-MAIL, 包括附件

SendSmtp - a command line utility to send e-mails via SMTP

一個命令行使用SMTP發送e-mail

Embed HTML Email Images

How to embed images in your email newsletter 在你的email newsletter(實事通訊)嵌入圖片

Sending the contents of a webpage with images as an HTML mail

用圖像發送一個網頁內容 (HTML mail)

Hotmail using C# ?A HTTPMail client under .NET

使用HTTPMail(undocumented)連接hotmail

Ready-to-use Mass Emailing Functionality with C#, .NET 2.0, and Microsoft?SQL Server 2005 Service Broker
8 Sep 2006

This paper demonstrates an extensible mass emailing framework (Smart Mass Email SME). The demo implementation uses cutting edge .NET technologies available today such as C#, .NET 2.0, Microsoft?SQL Server 2005 Service Broker, MS Provider Pattern, Enterprise Library January 2006 etc.

A Library for downloading Mails from a POP3 Server

從POP3服務器下載Mails

Simple MAPI.NET

MAPI API

Sending complex emails in .NET 1.1

發送復雜的e-mail

POP3 Client as a C# Class

BooProd.BMail - sending dynamically generated EMails
2 Jan 2005

This package will help you send all kinds of EMails like account creation, order, mailing, reports, ... everything containing dynamic fields. You can configure your own SMTP server, use notification and add attachments.

A class for sending emails with attachments in C#.

發送一個帶附件的e-mail

IMAP Client library using C#

IMAP協議取信

Retrieve Mail From a POP3 Server Using C#

從POP3服務器重新找到e-mail, RFC 1725

How to send a simple text email message

發送一個簡單的文本e-mail

SMTP Login class

SMTP登錄

WallaAgent
29 Mar 2005

WallaAgent is a Walla free mail checking agent that runs on your computer instead of logging in to the Walla mail site.

Mail library using sockets, in C#

使用socket操作e-mail

Windows Email Client application using .NET (C#)

Socket Console for SMTP in C#

Socket SMTP發送..

POP3 Library in C#

FTP

Using FTP with .NET including sending server commands

如何發送和接收文件, 搜舉目錄和子目錄, 發送命令到FTP服務端口

Application for uploading modified Files to a FTP Server

一個改良的上傳文件到FTP server

FTP client library for C#

FTP庫, 異步運作

C# FTP Client Library

FTP庫 使用簡單

LightFTPClient: a basic FTP client

一個基本的FTP客戶端

Console FTP in C#

控制臺FTP

C# FTP client, based on the WinInet.dll API

FTP客戶端, 基于WinInet.dll

FTP search of older files and delete them

FTP搜索太老的文件并且刪除

FTP-based Replication with Sharp FTP Server
26 Jun 2004?蜘蛛? 鏡像?

This article explains how to do FTP-based replication through the example of the Sharp FTP Server.

General

Raw Ethernet Packet Sending

如何發送一個未加工的原始數據包, 使用C#和NDIS Protocol Driver

Tracert Component for .NET Framework 2.0

一個基于ping_class的追蹤程序

UT2003 Gameserver Status

虛幻2003游戲服務器狀態監測

SNTP Client in C#

SNTP 客戶端(SNTP互聯網精確時間協議 RFC 2030)

TAPI 3.0 Application development using C#.NET

使用TAPI3.0 API開發電話程序, 本文不涉及TAPI基礎

Getting active TCP/UDP connections on a box

獲得活動的TCP/UDP網絡連接

Cool C# File Downloader

文件下載

Connecting to MSN messenger with the MSNP9 protocol

使用MSNP9連接 MSN

Blogging to LiveJournal.com Using C# Code

Ripping Data on the Web

恢復和重新包裝web資料 ………….

Finding IP Address Information

尋找IP地址消息

Create WAP Push SMS Messages
26 Jul 2004

How to generate a WAP Push SMS message for sending content to mobile phones.

Whois search using C#

域名相關資料搜索

Serial Communication in .NET 2.0

持續通訊: 使用一個timer代理握手協議

Display an Internet Connection status icon using .NET Framework 2.0

顯示一個internet連接狀態圖標

WebResourceProvider goes .NET

a simple yet powerful framework for retrieving useful information from public sources on the web.

Get IP Address from Web host name

從Web地址得到IP

IP list, Check an IP number against a list in C#

A class for holding a list of IP numbers, which you can check new IP numbers against.

Creating a global Whois class

創建一個全球化的域名消息收集

ICMP the ping-tracert

一個ICMP ping追蹤者

HTTP

HTTPeep - an HTTP inspector

執行一個定制的HTTP請求和顯示未加工的HTTP應答

A Simple Crawler Using C# Sockets

C# socket多線程爬蟲, 解決WebRequest. GetResponse()死鎖問題

MiniHttpd: an HTTP web server library

一個web服務器

Bi-directional HTTP Connection

雙向通訊, 使用一個單連接

Threaded WebDownload class with Progress Call-backs

執行一個異步下載文件, 完成以后回調通知

C#/VB - Automated WebSpider / WebRobot

蜘蛛

How to use HttpWebRequest and HttpWebResponse in .NET

如何使用HttpWebRequest 和 HttpWebResponse

LDAP

輕型目錄訪問協議,即Lightweight Directory Access Protocol?(LDAP)是一個訪問在線目錄服務的協議

An RFC 2253 Compliant Distinguished Name Parser

A set of classes to parse and manipulate LDAP distinguished names

Network

SharpPcap - A packet capture framework for .NET

網絡封包截獲, 注入, 分析, 基于WinPcap packet capture driver

Peer Graph = Peers and Connections

Peer Group - Identities

理解Peer Group Identities和MS的P2P技術

An introduction to Microsoft's Peer-to-Peer Graphing technology

關于MS P2P技術簡介

sharpSsh - A Secure Shell (SSH) library for .NET

運行一個SSH2協議

安全外殼協議(SSH)是一種在不安全網絡上提供安全遠程登錄及其它安全網絡服務的協議。

Network Shares and UNC paths

搜舉本地網絡和遠程機器上的共享信息, 并且轉換本地文件路徑到UNC 路徑.

file:\server\share\path\project file.mpp”是絕對 UNC 地址

A collection class for listing all the computers and servers in your network, with category information

列出本地網絡所有的計算機和服務器, 并且按類別報告

Using a NetworkStream with raw serialization, GZipStream, and CryptoStream

使用一個Networkstream(提供網絡訪問的基本數據流)用raw serialization, GZipStream, and CryptoStream

Network computer picker control

一個得到選擇的網絡計算機的庫類

Retreiving a list of network computer names using C#

得到一個網絡的計算機名, 使用NetServerEnum function from the Netapi32.dll

Network Stuff (easy socket v3)

一個類, 操作TCP,UDP,ICMP Sockets…. 包括ping, traceroute, whois, ARP, IPHelper函數, 原始包偽造和截獲

Server Traffic Redirector

在一個內部網中使網絡信息改變方向

File Synchronization using a NAnt Task

文件同步, 在本地和本地/遠程 目標目錄樹之間同步. 使用Nant

RawSocket Class-Create Network Monitoring (Packet Sniffing) Apps

原始Socket 創建一個網絡監視程序. 包嗅探型

Implementation and Subscription for the SENS Network Events Component

使用SENS探測網絡連接

Peer Graph - Exchanging Private Data

使用P2P交換個人數據

The Simplest TcpServer

TCP server

Associating Attribute Meta-Data in a Peer Graph using Microsoft's Peer-to-Peer technology

Peer Group - Create, Open, and Delete

P2P技術的創建, 打開, 刪除

Peer Collaboration - Contacts

Contact Management聯系(接觸)管理- 使用P2P協作技術…in Windows Vista.

Wake-On-Lan Class

實現遠程開機 ,通過發送Wake-On-Lan packet

A Network Based Multi-Player Eater Game

一個網絡游戲程序 Eater… 吃什么的人….豆子?

Network Sniffer and Connection Analyzer

網絡嗅探和連接分析

Collecting Remote System Information With WMI

使用WMI收集遠程系統信息

HostName, IP, and MAC Address

得到網絡主機的一些消息

Wake On Lan sample for C#

遠程開機

Peer Collaboration - Applications

Registering applications using Microsoft's Peer-to-Peer Collaboration technology, in Windows Vista.

List Peer Servers and their IP Addresses inside a Workgroup.

在一個工作組中 服務器和IP地址 列表

Enumerate All of the IP Addresses on the Network W/O ActiveDirectory

搜舉一個網絡中全部的IP地址using ActiveDirectory

NNTP?網絡新聞協議

NNTP library that supports post retrieval with attachments and a lot more

NNTP庫

Handling basic NNTP commands

處理基本的NNTP命令

Getting the list of groups in a news server

從一個新聞服務器得到新聞組列表

Proxy / Firewall

Using PAC files proxy

如何使用PAC文件設定一個代理服務器

C# class for connecting via a SOCKS5 Proxy Server

連接一個SOCKS5代理服務器

UDP

Scalable Server Events with .NET UDP Sockets

以網絡上一個事件的發生, 通知clients

A Chat Application Using Asynchronous UDP sockets

一個異步UDP聊天

Unedited Reader Contributions

?

Instant Messaging / Chat using Remoting for LAN

局域網中及時的消息/聊天使用Remoting

sharpBITS.NET - wrapper for BITS API

BITS庫, BITS, 后臺智能傳送服務

http://www.novell.com/zh-cn/documentation/zenworks7/index.html?page=/zh-cn/documentation/zenworks7/dm7admin/data/b4m1k8x.html

Search Engine for?Local Area Network ( LAN )
在局域網共享里搜索文件或者文件

POP3 Email Client with full MIME Support (.NET 2.0)

POP3 E-MAIL客戶端?Advanced

MultipurposeInternetMailExtentions,一般譯作“多媒體郵件傳送模式”。顧名思義,它可以傳送多媒體文件,在一封電子郵件中附加各種格式文件一起送出。

aSystem.Net.Mail.MailMessage pure C# 2.0, only .NET framework DLLs used

Applications Traffic Watcher

監視一個應用程序和internet數據交換總量

Applications Traffic Watcher Lite

又一個監視, 不過是監視其它應用程序

Remotely updating local user passwords with DirectoryServices

使用DirectoryServices遠程更改本地用戶密碼, 包括一個搜舉所有計算機在一個Active Directory里

Getting active TCP/UDP connections using GetExtendedTcpTable function

得到活動的TCP/UDP連接 和 進程被附加上的連接

MultiThreaded Chat Server

Utilities

Tracert Map: View the IP network path on a map

顯示一個IP地址在地圖上的位置

Iserver Cyber Cafe

Cyber caf?software to keep track of buisness.

Google Translator

使用Google在線語言翻譯工具

Weather Update application

This article is intended to show you how you can use the Internet to gather and display dynamic content.

Trace Utility to Trace IP Packet Path

追蹤IP包路徑

Simple ICMP Service Monitor

ICMP PING服務監視器

Simple RSS

RSS的一個簡單使用的類

Google Position Monitor

Google按關鍵字 監視排名


本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/272497.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/272497.shtml
英文地址,請注明出處:http://en.pswp.cn/news/272497.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

python bool值要注意的一些地方

1、像(),[],{}這三個是可以通過bool(()),bool([]),bool({})轉化為bool值的;且它們轉化后的結果為False。但是這三個值它本身并不等于False、切記不可以與False 直接進行比較。 #!/usr/bin/python #!coding:utf-8 import sysif __name__ "__main__":falseL…

system函數和popen函數使用方法

system int system(const char *command);system()函數的返回值如下: 成功,則返回進程的狀態值; 當sh不能執行時,返回127; 失敗返回-1; 其實是封裝后的exec,函數源代碼在…

前端必備知識點—SVG

基本內容什么是SVG? 全稱為Scalable Vector Graphics,是一種使用XML技術描述二維圖形的語言,簡單來說 - 矢量圖(不失真)SVG與HTML5的關系早在HTML5之前,存在SVG技術SVG文件擴展名為".svg"在HTML5出現之前,要在HTML頁面中引入SVG文件在HTML5出…

CocoaPods安裝和使用及問題:Setting up CocoaPods master repo

CocoaPods是什么? 當你開發iOS應用時,會經常使用到很多第三方開源類庫,比如JSONKit,AFNetWorking等等。可能某個類庫又用到其他類庫,所以要使用它,必須得另外下載其他類庫,而其他類庫又用到其他…

進程間的通信IPC(無名管道和命名管道)

進程間的通信IPC介紹 進程間通信(IPC,InterProcess Communication)是指在不同進程之間傳播或交換信息。 IPC的方式通常有管道(包括無名管道和命名管道)、消息隊列、信號量、共享存儲、Socket、Streams等。其中 Socket…

那些關于瀏覽器的趣圖和幽默段子

1、當瀏覽器化作一種槍,你喜歡用哪種呢?2、這神奇的反射弧,有點長…3、瀏覽器們成長的煩惱4、這么說來,IE瀏覽器扳回一分!5、如何用瀏覽器區分 HTML和 HTML56、都在吹牛,還是IE最務實!7、主流瀏…

前端新手程序員不知道的 20個小技巧

1.作為前端開發者,使用雙顯示器能大幅提高開發效率。2.學編程最好的語言不是PHP,是English。3.東西交付之前偷偷測試一遍。4.問別人之前最好先自己百度,google一下,以免問出太低級的問題。5.把覺得不靠譜的需求放到最后做&#xf…

IPC 共享內存和 消息隊列(發送、接收、移除)以及鍵值的生成

一、消息對列 消息隊列,是消息的鏈接表,存放在內核中。一個消息隊列由一個標識符(即隊列ID)來標識。 特點: 消息隊列是面向記錄的,其中的消息具有特定的格式以及特定的優先級。消息隊列獨立于發送與接收進…

DBA十大必備工具(SQLServer)

曾經和一些DBA和數據庫開發人員交流時,問他們都用過一些什么樣的DB方面的工具,大部分人除了SSMS和Profile之外,基本就沒有使用過其他工具了;誠然,SSMS和Profile足夠強大,工作的大部分內容都能通過它們搞定&…

linux 信號和信號量編程

對于 Linux來說,實際信號是軟中斷,許多重要的程序都需要處理信號。信號,為 Linux 提供了一種處理異步事件的方法。比如,終端用戶輸入了 ctrlc 來中斷程序,會通過信號機制停止一個程序。 信號概述 信號的名字和編號&…

安卓動畫基礎講解

//逐幀動畫 /** * 1.加入單張圖片 * 2.生成movie.xml整個圖片 * 3.代碼中使用圖片movie.xml */ iv(ImageView) findViewById(R.id.iv);// iv.setImageResource(R.drawable.movie);//為iv加載六張圖片// AnimationDrawable ad(AnimationDrawable) iv.getDrawable();//得到圖片給…

JS一些常用的類庫

一、返回上一頁(history)發覺有兩種用法:1、javascript:history.back(-1);2、javascript:history.go(-1);它們倆的區別是:history.back(-1):直接返回當前頁的上一頁,數據全部消息,返回新頁面history.go(-1)…

Linux上線程開發API概要(線程)

進程與線程 典型的UNIX/Linux進程可以看成只有一個控制線程:一個進程在同一時刻只做一件事情。有了多個控制線程后,在程序設計時可以把進程設計成在同一時刻做不止一件事,每個線程各自處理獨立的任務。 進程是程序執行時的一個實例&…

Redis學習筆記1-Redis數據類型

Redis數據類型 Redis支持5種數據類型,它們描述如下: Strings - 字符串 字符串是 Redis 最基本的數據類型。Redis 字符串是二進制安全的,也就是說,一個 Redis 字符串可以包含任意類型的數據,一個字符串最大為 512M 字節…

30個非常有趣的404錯誤頁面設計欣賞

當用戶訪問一個不存在的頁面的時候就會出現404錯誤頁面,這對用戶來說是很不友好的。所以很多網站都會去設計一個新穎的錯誤頁面,以吸引用戶繼續瀏覽其它的網頁內容。今天這篇文章就收集了30個非常有趣的404錯誤頁面設計欣賞,希望能帶給你靈感…

線程同步之互斥量加鎖解鎖 死鎖

與互斥鎖相關API 互斥量(mutex)從本質上來說是一把鎖,在訪問共享資源前對互斥量進行加鎖,在訪問完成后釋放互斥量上的鎖。對互斥量進行加鎖后,任何其他試圖再次對互斥量加鎖的線程將會被阻塞直到當前線程釋放該互…

游戲開發-從零開始 002

個人開發者的游戲大部分需要完成的內容: 1.完整的游戲玩法邏輯(核心) 2.UI 3.游戲關卡設計 4.游戲旁白 5.交互細節 6.游戲分享接口 7.游戲道具 8.游戲排行榜,游戲社區,如 GameCenter 9.游戲內購 如 remove Ads 10.廣告…

5 個最佳的 Linux 桌面環境

打算把每個桌面都試用一遍,但是那很費時間,而且確實有很多桌面環境可供選擇,這就是我發表“最優秀的 Linux 桌面以及他們的優缺點”的目的,本文告訴你在選擇桌面時需要注意些什么,讓我們開始吧。1. KDE我想從第五個說起…

線程條件控制實現線程的同步

與條件變量相關API 條件變量是線程另一可用的同步機制。條件變量給多個線程提供了一個會合的場所。條件變量與互斥量一起使用時,允許線程以無競爭的方式等待特定的條件發生。 條件本身是由互斥量保護的。線程在改變條件狀態前必須首先鎖住互斥量&#xff0c…

自定義能夠for each的類,C#,Java,C++,C++/cli的實現方法

自定義類能夠被for each,應該算是個老生常談的話題了,相關的資料都很多,不過這里整理總結主流語言的不同實現方式,并比較部分細節上的差異。 第一種語言,也是實現起來最簡單的Java語言。在Java里,要被for e…