Adobe Dreamweaver Beta
[
2008/05/31 09:00 | by Else ]
2008/05/31 09:00 | by Else ]
Adobe Dreamweaver Beta
Adobe® Dreamweaver® software is the ideal tool for web designers, coders, and application developers of all levels. Enhanced coding functions make it a breeze to navigate through complex site pages at design time. Improved layout tools bring expedited workflows, from comp conception to client approval. Innovations throughout the Dreamweaver beta can help teams and individual developers alike reach the next level in performance and functionality. Download the prerelease of the next version of Dreamweaver now and send us your feedback. The Dreamweaver beta will expire soon after the next version of Dreamweaver is available for purchase.
Important: This is a public beta, not a final release. Neither the quality nor the features are complete yet. We want to show you our direction and get your feedback so that we can incorporate it into future releases.
Terms of Use
Your use of Adobe Labs, including the downloading of software and submission of comments, ideas, feature requests, and techniques, and Adobe's rights to use such submitted materials are governed by the Adobe Labs Terms of Use and the Adobe Online Privacy Policy. By downloading, copying, or using Adobe software and related materials, you also agree to the appropriate Adobe Software License Agreement, including the limitations related to prerelease Software.
Adobe® Dreamweaver® software is the ideal tool for web designers, coders, and application developers of all levels. Enhanced coding functions make it a breeze to navigate through complex site pages at design time. Improved layout tools bring expedited workflows, from comp conception to client approval. Innovations throughout the Dreamweaver beta can help teams and individual developers alike reach the next level in performance and functionality. Download the prerelease of the next version of Dreamweaver now and send us your feedback. The Dreamweaver beta will expire soon after the next version of Dreamweaver is available for purchase.
Important: This is a public beta, not a final release. Neither the quality nor the features are complete yet. We want to show you our direction and get your feedback so that we can incorporate it into future releases.
Terms of Use
Your use of Adobe Labs, including the downloading of software and submission of comments, ideas, feature requests, and techniques, and Adobe's rights to use such submitted materials are governed by the Adobe Labs Terms of Use and the Adobe Online Privacy Policy. By downloading, copying, or using Adobe software and related materials, you also agree to the appropriate Adobe Software License Agreement, including the limitations related to prerelease Software.
算法大全(C,C++)
[
2008/05/30 14:17 | by Else ]
2008/05/30 14:17 | by Else ]
一、 数论算法
1.求两数的最大公约数
2.求两数的最小公倍数
3.素数的求法
A.小范围内判断一个数是否为质数:
1.求两数的最大公约数
function gcd(a,b:integer):integer;
begin
if b=0 then gcd:=a
else gcd:=gcd (b,a mod b);
end ;
begin
if b=0 then gcd:=a
else gcd:=gcd (b,a mod b);
end ;
2.求两数的最小公倍数
function lcm(a,b:integer):integer;
begin
if a<b then swap(a,b);
lcm:=a;
while lcm mod b>0 do inc(lcm,a);
end;
begin
if a<b then swap(a,b);
lcm:=a;
while lcm mod b>0 do inc(lcm,a);
end;
3.素数的求法
A.小范围内判断一个数是否为质数:
function prime (n: integer): Boolean;
var I: integer;
begin
for I:=2 to trunc(sqrt(n)) do
if n mod I=0 then begin
prime:=false; exit;
end;
prime:=true;
end;
var I: integer;
begin
for I:=2 to trunc(sqrt(n)) do
if n mod I=0 then begin
prime:=false; exit;
end;
prime:=true;
end;
現在第三天了,還沒有搞定,差兩個環節,
一是,頭文件,二是換位,
書到用時方恨少!
blog升級,一些小代碼升級!
一是,頭文件,二是換位,
書到用時方恨少!
blog升級,一些小代碼升級!
Ajax应用实例: asp+mdb数据库注册模块例子
[
2008/05/27 20:05 | by Else ]
2008/05/27 20:05 | by Else ]
這個是最新的下載地址
到時候換個php的
文件下载地址
http://www.uushare.com/user/cukunet/file/877278
到時候換個php的
文件下载地址
http://www.uushare.com/user/cukunet/file/877278
OleDbType 枚举
[
2008/05/26 14:32 | by Else ]
2008/05/26 14:32 | by Else ]
iis6启用gzip
[
2008/05/26 01:32 | by Else ]
2008/05/26 01:32 | by Else ]
在iis6启用压缩,网站,服务,前面两个打勾(http压缩)
最好,把临时目录设在别的地方,
文件名:MetaBase.xml
本来想把js 和css放到html那部分,测试的结果没有压缩成!
所以正确的结果应该放在下面的部分
最好,把临时目录设在别的地方,
文件名:MetaBase.xml
<IIsCompressionScheme Location ="/LM/W3SVC/Filters/Compression/deflate"
HcCompressionDll="%windir%\system32\inetsrv\gzip.dll"
HcCreateFlags="0"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="FALSE"
HcDynamicCompressionLevel="10"
HcFileExtensions="htm
html
txt
swf
jpg
gif"
HcOnDemandCompLevel="10"
HcPriority="1"
HcScriptFileExtensions="asp
dll
exe
aspx
php
js
css"
>
</IIsCompressionScheme>
<IIsCompressionScheme Location ="/LM/W3SVC/Filters/Compression/gzip"
HcCompressionDll="%windir%\system32\inetsrv\gzip.dll"
HcCreateFlags="1"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="TRUE"
HcDynamicCompressionLevel="10"
HcFileExtensions="htm
html
txt
swf
jpg
gif"
HcOnDemandCompLevel="10"
HcPriority="1"
HcScriptFileExtensions="asp
dll
exe
aspx
php
js
css"
>
</IIsCompressionScheme>
HcCompressionDll="%windir%\system32\inetsrv\gzip.dll"
HcCreateFlags="0"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="FALSE"
HcDynamicCompressionLevel="10"
HcFileExtensions="htm
html
txt
swf
jpg
gif"
HcOnDemandCompLevel="10"
HcPriority="1"
HcScriptFileExtensions="asp
dll
exe
aspx
php
js
css"
>
</IIsCompressionScheme>
<IIsCompressionScheme Location ="/LM/W3SVC/Filters/Compression/gzip"
HcCompressionDll="%windir%\system32\inetsrv\gzip.dll"
HcCreateFlags="1"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="TRUE"
HcDynamicCompressionLevel="10"
HcFileExtensions="htm
html
txt
swf
jpg
gif"
HcOnDemandCompLevel="10"
HcPriority="1"
HcScriptFileExtensions="asp
dll
exe
aspx
php
js
css"
>
</IIsCompressionScheme>
本来想把js 和css放到html那部分,测试的结果没有压缩成!
所以正确的结果应该放在下面的部分
mb_substr的應該用
[
2008/05/25 23:08 | by Else ]
2008/05/25 23:08 | by Else ]
utf-8下,php對長度的截取
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
mb_internal_encoding("UTF-8"); //這個一定要設,要不然就顯示"我們",你可以測試一下
$string = "我們還好了什麼和什麼";
$mystring = mb_substr($string,0,6);
echo $mystring;
?><br />
<?php
echo $string;
?>
<?php
mb_internal_encoding("UTF-8"); //這個一定要設,要不然就顯示"我們",你可以測試一下
$string = "我們還好了什麼和什麼";
$mystring = mb_substr($string,0,6);
echo $mystring;
?><br />
<?php
echo $string;
?>
jq更新到1.2.5
[
2008/05/23 14:05 | by Else ]
2008/05/23 14:05 | by Else ]
前几天刚更新到1.2.4 我更新了,没有想到这次又这么快更新了!
详细:jquery.com
详细:jquery.com
引用
Ticket Summary Owner Component Type
#2897
Widget factory doesn't allow passing parameters to plugin methods
None core bug
#2865
Opera 9.5 (at least this version) doesn't like null username being sent into XMLHttpRequest, this creates a login prompt in Opera, so jQuery should circumvent this
None ajax bug
#2852
jQuery 1.2.4a - Safari 2.0.4 Mac - hide() is broken
None core bug
#2842
missing url in $.ajax fails (instead of using the current url)
flesler ajax bug
#2820
$.extend not deep copying arrays
flesler core bug
#2819
$.fn.load is being overwritten
flesler event bug
#2816
erroneous behavior with IE when re-ajaxifying links in an ajax-loaded div
None ajax bug
#2811
2 bugs on jQuery.fn.add
flesler core bug
#2806
$.ajax: support for dynamic data arguments
joern ajax feature
#2803
Faster Map
flesler core enhancement
#2802
jQuery.curCSS failes in Safari 2.x
None core bug
#2787
Attribute filter ignores elements not appended to DOM tree
core bug
#2771
jQuery.index cannot index the jQuery object
flesler core bug
#2743
Potpourri of small improvements to code size and perfomance
None core enhancement
#2709
globalEval works incorrectly in IE6 if the current page has tag in the HEAD
None core bug
#2708
Cross Browser event object
None core enhancement
#2705
eval scripts in AJAX response does not work well in IE
None core bug
#2688
beforeSend should be able to cancel the Ajax call
yehuda ajax enhancement
#2662
attr "action" of form and Selectors' attribute filter
None core bug
#2655
jQuery.event module optimizations
None event enhancement
#2619
Extend makeArray
None core enhancement
#2613
bind() breaks event.preventDefault()
event bug
#2605
data should accept null values
core bug
#2600
jQuery.extend() should not ignore properties with null values
core bug
#2570
Opera 9.2.6 AJAX requiring authentication
None ajax bug
#2567
$.ajax should allow filtering JS and JSON responses to remove security measures
flesler ajax feature
#2565
event.fix performance tweaks patch
None event enhancement
#2558
$(...).attr returns different values in IE7 and Firefox
None core bug
#2548
.attr() proposal
None core enhancement
#2543
Useless variable (re)declarations
flesler event bug
#2537
attr() can return undefined instead of 0
None core bug
#2522
Remove isFunction from jQuery.event.trigger
None event enhancement
#2521
Internet Explorer doesn't seem to like attributes
None core bug
#2510
Optimizations for the merge() method
None core enhancement
#2486
jQuery.map() string as callback parameter is broken
None core bug
#2453
attr(...) function returns undefined when value is 0
None core bug
#2416
setting a form field's value to empty string fails
None core bug
#2378
Events toggle( fn, fn )
None event enhancement
#2352
Simulated click event on anchors in IE6 does not work
brandon core bug
#2249
Addition of "once" event handler
None event enhancement
#2181
JQuery fails to execute search in pages containing applets.
None core bug
#2170
attr() fails to get/set value for maxlength attribute on textarea elements
None core bug
#2119
attr('value') confusion
core bug
#2056
performance enhancements
None core enhancement
#1871
fix() in event propagation is slow
None event bug
#1802
"mousemove" consumes lots of CPU time in Firefox
None event bug
#1675
expando related problem on removeData()
None core bug
#1591
IE "Invalid Argument" $('table').attr('non-existent')
None core bug
#1562
$.extend is not working properly when using deep extension
flesler core bug
#1480
isFunction fails in certain cases
flesler core bug
#1362
$.ajax(): pass 'settings' object to 'success' callback
None ajax feature
#1318
save some bytes in grep
None core enhancement
#1170
attr("style","...") doesn't work in IE7
john core bug
#2897
Widget factory doesn't allow passing parameters to plugin methods
None core bug
#2865
Opera 9.5 (at least this version) doesn't like null username being sent into XMLHttpRequest, this creates a login prompt in Opera, so jQuery should circumvent this
None ajax bug
#2852
jQuery 1.2.4a - Safari 2.0.4 Mac - hide() is broken
None core bug
#2842
missing url in $.ajax fails (instead of using the current url)
flesler ajax bug
#2820
$.extend not deep copying arrays
flesler core bug
#2819
$.fn.load is being overwritten
flesler event bug
#2816
erroneous behavior with IE when re-ajaxifying links in an ajax-loaded div
None ajax bug
#2811
2 bugs on jQuery.fn.add
flesler core bug
#2806
$.ajax: support for dynamic data arguments
joern ajax feature
#2803
Faster Map
flesler core enhancement
#2802
jQuery.curCSS failes in Safari 2.x
None core bug
#2787
Attribute filter ignores elements not appended to DOM tree
core bug
#2771
jQuery.index cannot index the jQuery object
flesler core bug
#2743
Potpourri of small improvements to code size and perfomance
None core enhancement
#2709
globalEval works incorrectly in IE6 if the current page has
None core bug
#2708
Cross Browser event object
None core enhancement
#2705
eval scripts in AJAX response does not work well in IE
None core bug
#2688
beforeSend should be able to cancel the Ajax call
yehuda ajax enhancement
#2662
attr "action" of form and Selectors' attribute filter
None core bug
#2655
jQuery.event module optimizations
None event enhancement
#2619
Extend makeArray
None core enhancement
#2613
bind() breaks event.preventDefault()
event bug
#2605
data should accept null values
core bug
#2600
jQuery.extend() should not ignore properties with null values
core bug
#2570
Opera 9.2.6 AJAX requiring authentication
None ajax bug
#2567
$.ajax should allow filtering JS and JSON responses to remove security measures
flesler ajax feature
#2565
event.fix performance tweaks patch
None event enhancement
#2558
$(...).attr returns different values in IE7 and Firefox
None core bug
#2548
.attr() proposal
None core enhancement
#2543
Useless variable (re)declarations
flesler event bug
#2537
attr() can return undefined instead of 0
None core bug
#2522
Remove isFunction from jQuery.event.trigger
None event enhancement
#2521
Internet Explorer doesn't seem to like attributes
None core bug
#2510
Optimizations for the merge() method
None core enhancement
#2486
jQuery.map() string as callback parameter is broken
None core bug
#2453
attr(...) function returns undefined when value is 0
None core bug
#2416
setting a form field's value to empty string fails
None core bug
#2378
Events toggle( fn, fn )
None event enhancement
#2352
Simulated click event on anchors in IE6 does not work
brandon core bug
#2249
Addition of "once" event handler
None event enhancement
#2181
JQuery fails to execute search in pages containing applets.
None core bug
#2170
attr() fails to get/set value for maxlength attribute on textarea elements
None core bug
#2119
attr('value') confusion
core bug
#2056
performance enhancements
None core enhancement
#1871
fix() in event propagation is slow
None event bug
#1802
"mousemove" consumes lots of CPU time in Firefox
None event bug
#1675
expando related problem on removeData()
None core bug
#1591
IE "Invalid Argument" $('table').attr('non-existent')
None core bug
#1562
$.extend is not working properly when using deep extension
flesler core bug
#1480
isFunction fails in certain cases
flesler core bug
#1362
$.ajax(): pass 'settings' object to 'success' callback
None ajax feature
#1318
save some bytes in grep
None core enhancement
#1170
attr("style","...") doesn't work in IE7
john core bug
Windows Media Player文件新闻直播地址














