Jpeg2000編解碼器,附VC、Delphi等常用編程語言的使用例程
J2K-Codec ver 1.9
=== === === === === === === === =====
Make your graphics look better with an easy-to-use
JPEG 2000 decoding component. J2K-Codec can help
game developers, screensaver creators and many
others to improve their products--to achieve better
image quality and reduce installation package size.
The new image compression standard based on wavelet
technology has many interesting features not
available in the old JPEG, such as alpha-channel
and varied resolution levels.
兩種解決方案 Richard just finished building his new house. Now the only thing the house misses is a cute little wooden fence. He had no idea how to make a wooden fence, so he decided to order one. Somehow he got his hands on the ACME Fence Catalogue 2002, the ultimate resource on cute little wooden fences. After reading its preface he already knew, what makes a little wooden fence cute.
A wooden fence consists of N wooden planks, placed vertically in a row next to each other. A fence looks cute if and only if the following conditions are met:
?The planks have different lengths, namely 1, 2, . . . , N plank length units.
?Each plank with two neighbors is either larger than each of its neighbors or smaller than each of them. (Note that this makes the top of the fence alternately rise and fall.)
=== === === === === === === === === === ====
IBM PC KEYBOARD INFORMATION FOR SOFTWARE DEVELOPERS
================================================================
Sources:
PORTS.A of Ralf Brown s interrupt list collection
repairfaq.org keyboard FAQ(doesn t appear to exsist)
Linux source code
Test hardware:
New Samsung KB3T001SAXAA 104-key keyboard
Old Maxi 2186035-00-21 101-key keyboard
NO WARRANTY. NO GUARANTEE. I have tried to make this information
accurate. I don t know if I succeeded. Corrections or additional
information would be welcome.
This is a plain-text document. If you use a word-processor to view
it, use a fixed-pitch font (like Courier) so columnar data and
ASCII art lines up properly.
模擬Monty Hall 猜謎游戲,該游戲來源于電視節(jié)目“Let’s Make a Deal”, 游戲規(guī)則如下:游戲中設(shè)有三扇門,其中一扇門后是一輛汽車,另外兩扇門后各有一頭山羊。游戲參與者首先選擇其中一扇門,然后,節(jié)目主持人將另外兩扇門中藏有山羊的那扇打開(由于有兩頭山羊,不管游戲參與者如何選擇,節(jié)目主持人總是可以打開一扇藏有山羊的門),并給游戲參與者一次改選的機(jī)會,這樣,游戲參與者實(shí)際上有三種不同的選擇方式:
維持原先的選擇不變。
隨機(jī)決定是維持原先的選擇還是選擇另一扇門(例如拋硬幣作決定)。
直接選擇另一扇門。
模擬程序運(yùn)行時(shí),提示用戶輸入其所作的決定以及用戶希望玩多少次游戲。程序使用隨機(jī)數(shù)產(chǎn)生器來決定汽車在哪扇門后面以及用戶最開始選擇的是哪扇門。若用戶采用上述的第二種選擇方式,程序隨機(jī)選擇是維持原決定還是換一扇門。
shc是一個(gè)加密shell腳本的工具.它的作用是把shell腳本轉(zhuǎn)換為一個(gè)可執(zhí)行的二進(jìn)制文件.
用shell腳本對系統(tǒng)進(jìn)行自動化維護(hù),簡單,便捷而且可移植性好.
但shell腳本是可讀寫的,很有可能會泄露敏感信息,如用戶名,密碼,路徑,IP等.
同樣,在shell腳本運(yùn)行時(shí)會也泄露敏感信息.
shc是一個(gè)加密shell腳本的工具.它的作用是把shell腳本轉(zhuǎn)換為一個(gè)可執(zhí)行的二進(jìn)制文件.
這就很好的解決了上述問題.
tar zxvf shc-3.8.tgz
cd shc-3.8
make test
make
make test
make strings
make install 這一步需要root權(quán)限
使用方法:
shc -r -f script-name 注意:要有-r選項(xiàng), -f 后跟要加密的腳本名.
運(yùn)行后會生成兩個(gè)文件,script-name.x 和 script-name.x.c
script-name.x是加密后的可執(zhí)行的二進(jìn)制文件.
./script-name 即可運(yùn)行.
script-name.x.c是生成script-name.x的原文件(c語言)
Motoko it s a 2D library to handle the graphical user interface of the game. It supports the basic controls of the windows GUI look like: PictureBox, TextBox, ListBox, LabelBox, ControlListBox, ComboBox, Button, CheckButton, Dialog, Panel, HScrollBar and VScrollBar. It uses the library CRM32Pro, so the CRM32Pro devkit will be needed to develop any application with Motoko, and it s contained in the Motoko devkit. The Motoko library is under the LGPL license, so read first the license if you want to make any change to the library.
At the heart of Java technology lies the Java virtual machine--the abstract computer on which all Java programs run. Although the name "Java" is generally used to refer to the Java programming language, there is more to Java than the language. The Java virtual machine, Java API, and Java class file work together with the language to make Java programs run.
THIS DESIGN IS PROVIDED TO YOU "AS IS". XILINX MAKES AND YOU RECEIVE NO WARRANTIES OR CONDITIONS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, AND XILINX SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR A PARTICULAR PURPOSE. This design has not been verified on hardware (as opposed to simulations), and it should be used only as an example design, not as a fully functional core. XILINX does not warrant the performance, functionality, or operation of this Design will meet your requirements, or that the operation of the Design will be uninterrupted or error free, or that defects in the Design will be corrected. Furthermore, XILINX does not warrant or make any representations regarding use or the results of the use of the Design in terms of correctness, accuracy, reliability or otherwise.