自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(23)
  • 资源 (14)
  • 收藏
  • 关注

转载 java 调用user32.dll 锁定电脑

public interface Kernel32 extends Library { public boolean Beep(int FREQUENCY, int DURATION); public void Sleep(int DURATION); } public interface User32 extends Library { boolean LockWorkStati

2013-04-26 17:02:33 2023

原创 fetion2012登录协议

RSA(nonce+SHA-1(userId+SHA-1(fetion.com.cn:password))+256字节随机)其中RSA 公钥modulus 为key的前256字节,e为 key的后6个字节

2013-04-25 14:36:10 584

原创 krc转lrc 酷狗加密歌词转换

import java.io.ByteArrayOutputStream;import java.io.FileOutputStream;import java.io.RandomAccessFile;import java.text.SimpleDateFormat;import java.util.regex.Matcher;import java.util.regex.Patter

2013-04-18 11:34:17 3645

转载 Reflection in Javascript

原文Reflection in JavascriptIt’s very easy to do reflection in Javascript. Reflection is when your code looks onto itself to discover its variables and functions. It allows two different Javas

2012-08-01 17:40:51 947

原创 Google 屏蔽的关键字

为了你能正常使用Google 请不要使用以下关键字搜索,把以下代码保存成html文件,再用浏览器打开即可看到 var a=[[14523],[1492],[6656],[8759],[63166],[9287],[4369],[8811],[7556],[6262],[14399],[64357],[64353],[10546],[6450],[63794],[61

2012-06-26 13:33:55 3305 5

转载 ucos2任务管理

把优先级别为prio的任务置为就绪状态: OSRdyGrp | =OSMapTbl[prio>>3];OSRdyTbl[prio>>3] | = OSMapTbl[prio&0x07];如果要使一个优先级别为prio的任务脱离就绪状态则可使用如下类似代码: if((OSRdyTbl[prio>>3]&=~OSMapTbl[prio&0x07])==0)OSRdy

2012-06-13 15:37:08 636

转载 VBScript 批量合并PPT

Option ExplicitPublic FileNames As VariantPublic SaveName As VariantPublic pptApp As ObjectSub GetFiles() FileNames = Application.GetOpenFilename _ (FileFilter:="演示文稿(*.ppt),*.ppt", Filte

2012-06-07 16:23:10 1389

原创 EL 表达式中使用自定义函数

一、Java  package test.utils.ctag;public class CustomTags { public static boolean equals(String s1,String s2){ if(s1==s2) return true; if(s1!=null) return s1.equals(s2); return false

2012-06-04 18:03:26 1600

转载 Expression Language

Expression LanguageA primary feature of JSP technology version 2.0 is its support for an expression language (EL). An expression language makes it possible to easily access application data stor

2012-06-04 11:38:29 1929

转载 Html block and inline

HTML elements can be grouped together with and HTML Block ElementsMost HTML elements are defined as block level elements or as inline elements.Block level elements normally start (and end)

2012-06-02 21:16:23 2023

转载 html tag

Deprecated Tags and AttributesIn HTML 4, several tags and attributes were used to style documents. These tags are not supported in newer versions of HTML.Avoid using the elements , , and and the

2012-06-02 17:08:06 548

原创 使用HtmlParser 提取百度贴吧中的图片

下载地址

2012-03-20 21:36:09 1498

原创 使用HtmlParser 提取百度贴吧中的邮箱地址

下载地址经测试,实际用时1秒左右private static final Pattern p = Pattern.compile("\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*");public static ArrayList extractEmail(int id,in

2012-03-08 16:01:20 1284

转载 Oracle数据库的备份方法

1、引言 Oracle数据库的备份方法很多,无论使用那种备份方法,备份的目的都是为了在出现故障后能够以尽可能小的时间和代价恢复系统。比如使用export实用程序导出数据库对象、使用Oracle备份数据库、使用Oracle对称复制、使用Oracle并行服务器、使用Oracle冷备份、使用Oracle热备份等各种备份方法都有其优缺点、适用的场合和相应的软硬件要求。本文主要就用export实用程序导

2012-01-03 10:01:20 661 1

转载 should we use annotations?

should we use annotations?If your answer is yes to the following questions then you can use annotations in your project.1.Do you have the flexibility to use Java 5 Environment?2.Do you have the

2011-12-19 22:28:08 411

原创 StarUML 启动时候出现"System Error. Code:1722. RPC服务器不可用."

打开Print Spooler服务 即可

2011-11-19 14:05:44 1936

原创 Life Cycle of Threads

2011-11-17 23:38:12 441

原创 使用递归 输出文件树

题目:给定任意一个目录,以树形方式展现出该目录中的所有子目录和文件。另外,在展现的时候将目录排在上面,文件排在下面。每一层要加上缩进。我写的(非常简单,就不解释了)import java.io.File;public class FileTree{ int layer = -1; //目录层数,第一层应该是0,第一次调用下面的方法会加1,所以这里是-1 public vo

2011-11-13 20:13:29 1288

转载 servlet中文乱码问题

一、中文乱码问题1.参数如果是以Post方式传递过来的,直接调用request.setCharacterEncoding(/* 编码格式 */)2、参数以get方式传递过来,使用param = getParameter(name)获得参数,然后使用param.getBytes(/

2011-07-29 01:09:12 483

原创 停止编程

原文全文下载你很可能编的太多了。  就在你的心真正的沉入到工作上,就在你的大脑完全的填满了程序,就在你的手、眼和思想正和谐的工作的时候,停下来。抬头看看。想一想是不是该结束一天的工作了。想着关掉计算机。到外面走走。  编程,完全是一种脑力劳动,却是一种非常舒适的体力活动。我们基本

2011-07-25 14:09:47 409

转载 程序员养生(01)——心态

原文 在程序之外,是程序员的生活。      当我们刚刚告别校园成为一个程序员时,大都拥有成功的梦想、万分的激情,那时的我们也拥有精力充沛的健康身体。 随时间流逝,5年过去了、10年过去了,也许,梦想可能渐渐暗淡,激情慢慢消退。但,有一点是肯定的,我们的身体大不如前了,像视力下降

2011-07-25 14:06:51 332

转载 如何控制servlet中的线程同步

作者: 韩顺平从servlet的生命周期中,我们知道,当第一次访问某个servlet后,该servlet的实例就会常驻内存,以后再次访问该servlet就会访问同一个servlet实例,这样就带来多个用户去访问一个servlet的同步问题.比如: 我们在ServletContex

2011-07-19 19:47:51 547

原创 JAVA三种变量的初始化 (转载)

问题讨论变量的初始化,所以先来看一下Java中有哪些种类的变量。    1. 类的属性,或者叫值域    2. 方法里的局部变量    3. 方法的参数    对于第一种变量,Java虚拟机会自动进行初始化。如果给出了初始值,则初始化为该初始值。如果没有给出,则把它初始化为该类型变量的默认初始值。    int类型变量默认初始值为0    float类型变量默认初始值为0.0f    do

2011-06-28 12:11:00 881

使用HtmlParser 提取百度贴吧中的图片

使用HtmlParser 提取百度贴吧中的图片

2012-03-20

linux发行版支持的硬件兼容性列表大全

Linux Hardware Compatibility Lists Debian GNU/Linux device driver check page - This database verifies the PCI devices at this time (X drivers, ISA, USB, IEEE1394 or any other devices are out of its focus). Paste your result of 'lspci -n' taken from GNU/Linux OS (such as Debian, Knoppix, RedHat, and so on) to the box, then push 'Check' button. openSUSE Hardware Compatibility List - The following pages are used by the openSUSE community to record the compatibility of various hardware and full systems with SUSE Linux. Please share your experience by adding your hardware, especially if you had some issue that you overcame. Mandriva Hardware Database - This hardware database allows you to check the compatibility of your hardware with the Mandriva Linux OS. The certified hardware has the highest level of compatibility. Red Hat Hardware Catalog - Database containing certified hardware for Red Hat products. UbuntuUsers Hardwaredatenbank - Auf dieser Seite soll eine Hardwaredatenbank fuer Ubuntu Linux entstehen. Sie koennen hier unter Ubuntu Linux verwendete (neuere) Hardware hinzufuegen, welche gut laeuft. LinuxQuestions.org HCL - This is the Linux Hardware Compatibility List from LinuxQuestions.org. Linux Hardware Compatibility HOWTO - This document attempts to list most of the hardware known to be either supported or unsupported under Linux. Linux Hardware Components - The manufacturers and distributors listed on this site sell hardware and peripherals that are Linux-friendly. If you're looking for drivers or need to know if your hardware is supported, this is a good place to find out. LinuxCompatible.org Compatibility List - This is a user submitted compatibility database for hardware running under GNU/Linux. Phoronix Linux Compatible Hardware - is designed to be a community-driven indexing system for computer hardware under GNU/Linux. This system allows you to post GNU/Linux information on hardware as well as sharing your own personal experiences when it comes to GNU/Linux compatibility. You are also able to browse and search the database for other hardware as well. FSF Hardware Database - Free Software Foundation's listing of hardware that supports free software. Linux-Hardware.org - Die Linux Hardware Datenbank soll Usern einen Ueberblick verschaffen, welche Hardware von welcher Distribution unterstuezt wird. Sie ist so angelegt, dass sie problemlos fuer alle Distributionen genutzt und von Usern ergaenzt werden kann. Linux Support for HP PC's - This page provides an overview of Linux support for HP PC's and peripeherals. Don't base purchasing decisions on the information provided here. This site's main goal is to provide information for people already owning an HP PC. Tuxhardware.de - (TU)X-beliebige Hardware. Tuxhardware.de ist ein Online- Shop in Deutschland der Produkte mit LINUX- Eignung anbietet. Hier finden Sie u.a. auch Installationsanleitungen, Tipps & Tricks und Links zu Treibern. Unix printer compatiblity database listing - The LinuxPrinting.org printer database contains a wealth of information about specific printers, along with extensive driver information, basic specifications, and an associated set of configuration tools. You can just go straight to a particular printer, or you can list all printers from a given manufacturer. Looking for a printer to buy? Take a look at: "Suggested Printers for Free Software Users". Gutenprint Supported Printers - Gutenprint, formerly called Gimp-Print, offers high quality drivers for Canon, Epson, Lexmark, Sony, Olympus, and PCL printers for use with Ghostscript, CUPS, Foomatic, and the Gimp. TurboPrint Supported Printers - This is the list of TurboPrint Supported Printers. It includes almost every Canon, Epson & HP and many Brother printers. TurboPrint makes it possible to use the latest color printers with Linux. It is designed to produce maximum quality photo prints as well as high-speed text documents. Printer set-up and configuration is as simple as on Windows or MacOS. TurboPrint is a high-quality printer driver system for Linux built on existing standards (lpr or CUPS printer spooler, ghostscript interpreter for Postscript) thus achieving easy integration and maximum compatibility with existing applications. Von TurboPrint unterstuetzte Drucker - TurboPrint ermoeglicht den Einsatz moderner Farbdrucker unter Linux. Mit TurboPrint erzielen Sie sowohl die bestmoegliche Druckqualitaet bei fotorealistischen Ausdrucken, als auch eine schnelle Ausgabe von Text-Dokumenten. Drucker-Einrichtung und Konfiguration sind durch grafische Menues genauso einfach wie in MS Windows. TurboPrint unterstuetzt fast alle Canon, Epson & HP und viele Brother Drucker. ESP Print Pro Supported Printers - ESP Print Pro supports thousands of printers - search for yours. ESP Print Pro is a complete (commercial) UNIX cross- platform printing software package, containing thousands of high quality printer drivers for AIX, Digital UNIX, HP-UX, IRIX, Linux and Solaris (Intel and SPARC). A free 21-day demo license is available for first-time users. SANE: Supported Devices - shows if your scanner is supported and if yes, by which backend. If it's not supported, it may at least point to documentation or test programs. The search engine contains information from the latest stable SANE release, the development ("CVS") version of SANE and from external backends. The database is updated once per day. VueScan: Supported Scanners - is a continuously upgraded list of VueScan supported scanners. VueScan supports more than 500 different scanners, and these are organized by vendor name. VueScan is a scanning utility that works with most high- quality flatbed and film scanners to produce scans that have excellent color fidelity and color balance. A free trial version is available. Digital Camera Support for UNIX, Linux and BSD - trys to explain how to find out if your camera may work or not under a UNIX system. This site includes a table summarize for digital cameras, how they are supported under UNIX operating systems. Supported Cameras in gPhoto - On this page, you find a list of the supported camera models of the current release of gPhoto (=digital camera software applications for Unix-like systems. gPhoto2 is a free, redistributable, ready to use set of digital camera software applications for Unix-like systems). Support for additional cameras may be in the current libgphoto2 SVN trunk code. They will be added to the next release. If your camera is neither supported in the current release nor in current SVN trunk, it is possible that it is an old camera for which the original gPhoto driver has not been ported yet (mostly due to lack of demand) or it is a new camera for which there is no support at all. Working Webcams with PWC - This is a web-based collaboration area for the next generation Philips Web Camera Linux Kernel Module. On this page, you find a list of the supported Webcams. ALSA Soundcard Matrix - ALSA ("Advanced Linux Sound Architecture") supported audio- cards or chipsets. ALSA provides audio and MIDI functionality to the Linux operating system. OSS Sound Card List - OSS supported audio- cards or chipsets. This list is not 100% complete. There are dozens of sound cards that are based on some standard sound chips (or motherboard chipset) made by vendors like Intel, VIA, Cirrus/Crystal, Analog Devices, Realtek, Yamaha, C'Media, Trident, Sigmatel and many others. Such cards may not be listed in the following list but they are still supported. Driver Status for XFree86 4.3.0 - provides information about the status of the driver and hardware support in XFree86 4.3.0 compared with that in XFree86 3.3.6. Xi Graphics Accelerated-X support - listed by Notebooks/ Laptops, Graphics Cards, Graphics Chips. Li

2011-10-11

The Developer’s code

This year (2011), I turn thirty-two. By year's end, I will have been involved in the web development industry for over 40% of my life. It's been an awfully fast 40%. When I started college in 1997, campus-wide high-speed Ethernet had just been installed across the campus. You plugged a T1 cord into your rather large desktop to log on to the WWW. Cell phones were a fashion statement. "Text" wasn't a verb.

2011-07-25

java 写的歌词搜索软件 最新版

1. 可以直接输入歌名,歌曲时间可以填,也可以不填(最好填上,这样搜到的结果更精确)。 2。可以为一个文件夹下的所有MP3自动下载歌词,不过这个功能还不完善,如果文件夹里有不是MP3格式的文件程序就会出错 而且程序是根据文件名下载歌词的,可能不准额,等这学期考完试,就把它改成使用MP3的Id3信息下载 3.集成了前段时间自己写的个 krc转换器

2011-06-22

java 写的歌词搜索软件

1. 可以直接输入歌名,歌曲时间可以填,也可以不填(最好填上,这样搜到的结果更精确)。 2。可以为一个文件夹下的所有MP3自动下载歌词,不过这个功能还不完善,如果文件夹里有不是MP3格式的文件程序就会出错 而且程序是根据文件名下载歌词的,可能不准额,等这学期考完试,就把它改成使用MP3的Id3信息下载 3.集成了前段时间自己写的个 krc转换器

2011-06-18

Hacking Google Maps and Google Earth

Hacking Google Maps and Google Earth 非常好的书,开发Google Maps Google Earth必备。原版,非扫描版 Part I: Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Chapter 1: Using Geographical Information . . . . . . . . . . . . . . . . . . . . . . . . . 3 Chapter 2: The Google Local Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Chapter 3: The Google Maps API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Chapter 4: The Google Web API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Chapter 5: Storing and Sharing Information . . . . . . . . . . . . . . . . . . . . . . . . 65 Part II: Instant Gratification . . . . . . . . . . . . . . . . . . . . . . . . . 93 Chapter 6:Working with Existing Address Information . . . . . . . . . . . . . . . . . . 95 Chapter 7: Extending the Google API Examples . . . . . . . . . . . . . . . . . . . . . 103 Chapter 8: Discovering Overlays and Mash-ups . . . . . . . . . . . . . . . . . . . . . . 133 Part III: Google Maps Hacks . . . . . . . . . . . . . . . . . . . . . . . . 143 Chapter 9: Using Overlays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 Chapter 10: Overlaying Statistical Data . . . . . . . . . . . . . . . . . . . . . . . . . . 181 Chapter 11: Building a Community Site . . . . . . . . . . . . . . . . . . . . . . . . . . 207 Chapter 12: The Realtors and Archaeologists Toolkit . . . . . . . . . . . . . . . . . . . 227 Chapter 13: I Need to Get To.... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 Chapter 14: Merging with Flickr Photos . . . . . . . . . . . . . . . . . . . . . . . . . . 279 Part IV: Google Earth Hacks. . . . . . . . . . . . . . . . . . . . . . . . . 291 Chapter 15: Introducing Google Earth . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 Chapter 16: Generating Google Earth Feeds . . . . . . . . . . . . . . . . . . . . . . . . 309 Chapter 17: History and Planning with Google Earth . . . . . . . . . . . . . . . . . . . 327 Appendix: Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345 Index .

2011-06-03

jsp动态网站与上机指导.iso

jsp动态网站与上机指导 清华大学出版社。。含书中源码及课件

2011-05-18

基于GPS的汽车导航系统的设计与实现

设计并实现了一种以单片机为主要控制器件、基于GSP 模块的新型智能电动汽车底盘的导航系统。GPS定位系统主要采用技术非常成熟的GPS模块进行与单片机的接口通信完成,使用更方便,定位也更准确。所设计的电动导航系统具有全球定位、自动控制、实时性好等多方面优点为一体,应用在当今的汽车上有较好的发展前景。

2011-05-09

基于GPS GPRS 的智能公交系统的设计与实现

针对国内外公共交通管理的实际情况及GPS 技术的发展现状,以及目前国内没有将GPS,GPRS 和GIS 相融合以实现车辆定位信息的采集、收发和显示的成熟智能公交系统。文中设计一种基于GPS,GPRS 和GIS 技术的智能公交系统,并详细介绍了其组成结构和工作原理。该系统实现了基于GPS 的车辆实时信息采集、基于GPRS 的信息无线传输、基于GIS 的车辆远程监控调度。

2011-05-09

酷狗krc歌词转lrc

krc转为普通的lrc格式 本软件使用java编写,并打包为jar文件。 运行本软件必须安装java运行环境,具体请百度之。 软件特点: 1.小巧,仅几K。 2.高效,几百首歌词,几秒就会转换完成。 3.方便,只需将要转换的歌词拖到软件空白处,支持批量拖放,暂不支持文件夹拖放。 4.转换后的歌词会制动重命名 ****************如有问题,请联系作者349414586@qq.com*********************

2011-04-18

百度地图API教程 实例

百度地图API教程+实例 基础教程 +13个实例

2011-04-03

百度地图API开发指南

百度地图API开发指南 详细教程 百度地图API是一套由JavaScript语言编写的应用程序接口,它能够帮助您在网站中构建功能丰富、交互性强的地图应用程序

2011-04-03

数据库系统概论答案 王珊

高等教育出版社第四版全部答案 欢迎下载。。。。。。。。。。。。。

2011-03-29

linux 下的网卡AR81驱动

鈺硕 AR8151 Gigabit Ethernet Controller linux下驱动

2010-12-17

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除