Time of Update: 2015-06-23
SVG畫圓形進度條,svg圓形進度條<!doctype html><html><head> <meta charset="UTF-8"> <title>HTML5自由者</title> <style> #svgForStroke { position: absolute; top: 0;
Time of Update: 2015-06-23
移動端手機橫屏提示,端手機橫 【項目地址】: http://dwz.cn/RYgq7【手機二維碼】:【效果】:【代碼】 為了更好的體驗,請使用豎屏瀏覽 /* 樣式放在結尾,防止 base64 圖片造成擁塞 */ @keyframes rotation { 10% { transform: rotate(90deg); -webkit-transform:
Time of Update: 2015-06-20
ADF中選擇表行後改變當前行的編輯狀態,adf當前 現在要實現在table中,選中某一行,該行的上傳按鈕可用,不選中的行為不可用,如下實現效果: 具體實現方式如下:1、對應的table代碼,用<selectionListener>屬性關聯實作類別 <af:table value=&
Time of Update: 2015-06-20
手動處理異常的使用,手動處理使用 在程式運行過程中,不免遇到一些錯誤,這時候就要對錯誤進行一些處理,使得錯誤能夠更友好的展示給使用者。所以在這介紹一下手動錯誤處理的使用:1、建立錯誤處理程式的類,繼承自RuntimeException ,如下public class ApplicationException extends RuntimeException { public ApplicationException() { }
Time of Update: 2015-06-19
用命令列對closure compiler進行封裝調用,closurecompiler部分JavaScript庫只提供src版,min版及其map則需要自己產生。為簡化編譯操作,我寫了封裝一個closure compiler的小批處理,以簡化調用參數:closurec.bat@echo offif exist %~dpnx1 (cd %~dp1java -jar %~dp0compiler.jar --js_output_file %~n1.min%~x1
Time of Update: 2015-06-18
一道題目理解js範圍鏈,一道題jsjs範圍鏈下面是一道js題目:function C1(name){if(name){this.name = name;}}function C2(name){this.name = name;}function C3(name){this.name = name || "John";}C1.prototype.name = "Tom";C2.prototype.name =
Time of Update: 2015-06-18
CSS 文字上下顛倒顯示,css文字上下顛倒<html><head><title>CSS讓文字顛倒顯示</title><style type="text/css">.txtUpsideDown {filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); /* IE6,IE7 */ms-filter:
Time of Update: 2015-06-17
建立簡單的jquery外掛程式,jquery外掛程式</pre><p>1、建立基本外掛程式的通用方法:</p><p></p><pre name="code" class="html">$.fn.greenify = function() { this.css( "color", "green" );}; $( "a" )
Time of Update: 2015-06-17
ERP--甘特圖案例,erp--甘特圖 目前國內市場中佔有率很高的 ERP 產品,為提高客戶的管理水平,增加企業競爭力作出了貢獻。生產訂單是 ERP 流程中的一個重要環節,他是流程中的一個重要環節,他是串連企業物流,資金採購的橋樑。 串連企業物流,資金採購的橋樑。
Time of Update: 2015-06-23
Python編碼規範,python編碼Python官方文檔: https://www.python.org/dev/peps/pep-0008/代碼風格:使用4個空格來表示縮排,最好不使用tab,更勿將兩者混用函數間換行至少一行類之間換行至少兩行字典,列表,元祖中元素應該在逗號前添加一個空格字典中鍵後面的冒號:應在值與冒號:之間添加空格,而不是:與鍵之前間. 比如說: {‘name’:‘tom’}較長代碼(>7
Time of Update: 2015-06-21
python實現自動找茬遊戲,python實現找茬http://blog.csdn.net/pipisorry/article/details/46564967找茬遊戲地址[美女大家來找茬]遊戲視窗探查下載安裝PyWin32庫(對windows介面的Python封裝)http://sourceforge.net/projects/pywin32/,但不能直接點Download表徵圖,不然下下來是一個Readme.txt,點“Browse All Files”尋找需要的版本。使用spy+&
Time of Update: 2015-06-21
Objective-C----NSDictionary、NSMutableDictionary,nsdictionary 知識點:定義:字典(dictionary)是關鍵字及其定義的集合。上代碼:/* * NSDictionary 不可變字典 * */ // 1、建立字典對象的常用方法 //在床架你字典對象時需要賦值索引值對,但是順序為:值,鍵(值在前,鍵在後的形式)。
Time of Update: 2015-06-21
Qt 與 Qt Creator 簡介,qtcreator簡介該文章原創於Qter開源社區(www.qter.org),作者 yafeilinux,轉載請註明出處!一、Qt 與 Qt Creator 簡介Qt 是一個跨平台應用程式和 UI 開發架構。使用 Qt 您只需一次性開發應用程式,無須重新編寫原始碼,便可跨不同案頭和嵌入式作業系統部署這些應用程式。Qt Creator 是全新的跨平台 QtIDE(整合式開發環境),可單獨使用,也可與 Qt 庫和開發工具組成一套完整的 SDK(軟體開發套件)。
Time of Update: 2015-06-21
Objective-C----NSSet 、 NSMutableSet 、 NSCountedSet,nsmutableset 直接上代碼:/* * NSSet 不可變 集合 * */ // 兩種初始化方式 NSSet *set1 = [[NSSet alloc] initWithObjects:@"1", @"2", @"3", nil] ; NSLog( @"%@", set1
Time of Update: 2015-06-20
實現無限極分類-遞迴實現,實現無限分類遞迴public function getTree(){ $data = $this->select(); $list = $this->_getTreeData($data); return $list; } private function _getTreeData($data=array(), $parent_id=0){ $childs =
Time of Update: 2015-06-20
uva10635
Time of Update: 2015-06-18
POJ 2196 Specialized Four-Digit Numbers,pojfour-digit剛開始在POJ上刷題。。。。先水幾道題,嘿嘿DescriptionFind and list all four-digit numbers in decimal notation that have the property that the sum of its four digits equals the sum of its digits when represented in
Time of Update: 2015-06-18
java.util.zip.DataFormatException: invalid distance too far back,afaroffdistance 解壓 war/jar檔案時出現以下錯誤: java.util.zip.ZipException: invalid distance too far back at
Time of Update: 2015-06-18
java.io.IOException: The stream is closed,streamclosed java.io.IOException: The stream is closed at org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.read(ZipArchiveInputStream.java:362) at
Time of Update: 2015-06-17
處理序間通訊(5),處理序間通訊1.