Default password policy is in 2008:
W2k8 預設密碼規則
Ø 24 passwords remembered 記憶24組密碼
Ø 42 days max password age 最多密碼使用期間42天
Ø 1 day min password age 最少密碼使用期間1天
Default password policy is in 2008:
W2k8 預設密碼規則
Ø 24 passwords remembered 記憶24組密碼
Ø 42 days max password age 最多密碼使用期間42天
Ø 1 day min password age 最少密碼使用期間1天
本文章僅示範如何使用Crack-iND的快樂檔並補充快樂說明文件的不足。同時,也不提供快樂檔下載。
使用者參照本文章了解步驟後,若您喜愛Windows 2008 Server 強大功能,與穩定的效能,
您應當購買合法版權的軟體,並在微軟登記您的合法Prodduct Key,謝謝。
快樂原理,如同網路找到的 「關閉服務,刪除文件」大原則,可是網路上所有資料並未說明,尚未輸入Product Key,導致系統強制登出,無法進行快樂步驟。以下則是成功的方式,也有其他方法(透過IE 進入檔案總管),不詳加說明。
Step 1: 取得Windows 2008 Server/Workstation (簡稱W2k8)任何版本皆可。
//import org.json.simple.JSONObject; JSONObject obj=new JSONObject(); obj.put("name","foo"); obj.put("num",new Integer(100)); obj.put("balance",new Double(1000.21)); obj.put("is_vip",new Boolean(true)); obj.put("nickname",null); System.out.print(obj);
Result: {"balance":1000.21,"num":100,"nickname":null,"is_vip":true,"name":"foo"}
//import org.json.simple.JSONObject; JSONObject obj=new JSONObject(); obj.put("name","foo"); obj.put("num",new Integer(100)); obj.put("balance",new Double(1000.21)); obj.put("is_vip",new Boolean(true)); obj.put("nickname",null); StringWriter out = new StringWriter(); obj.writeJSONString(out); String jsonText = out.toString(); System.out.print(jsonText);
Result: {"balance":1000.21,"num":100,"nickname":null,"is_vip":true,"name":"foo"}
//import java.util.LinkedHashMap; //import java.util.Map; //import org.json.simple.JSONValue; Map obj=new LinkedHashMap(); obj.put("name","foo"); obj.put("num",new Integer(100)); obj.put("balance",new Double(1000.21)); obj.put("is_vip",new Boolean(true)); obj.put("nickname",null); String jsonText = JSONValue.toJSONString(obj); System.out.print(jsonText);
Result: {"name":"foo","num":100,"balance":1000.21,"is_vip":true,"nickname":null}
Now the order of the object entries is preserved, which is different from example 1-1. Please refer
//import java.util.LinkedHashMap; //import java.util.Map; //import org.json.simple.JSONValue; Map obj=new LinkedHashMap(); obj.put("name","foo"); obj.put("num",new Integer(100)); obj.put("balance",new Double(1000.21)); obj.put("is_vip",new Boolean(true)); obj.put("nickname",null); StringWriter out = new StringWriter(); JSONValue.writeJSONString(obj, out); String jsonText = out.toString(); System.out.print(jsonText);
Result: {"name":"foo","num":100,"balance":1000.21,"is_vip":true,"nickname":null}
//import org.json.simple.JSONArray; JSONArray list = new JSONArray(); list.add("foo"); list.add(new Integer(100)); list.add(new Double(1000.21)); list.add(new Boolean(true)); list.add(null); System.out.print(list);
Result: ["foo",100,1000.21,true,null]
//import org.json.simple.JSONArray; JSONArray list = new JSONArray(); list.add("foo"); list.add(new Integer(100)); list.add(new Double(1000.21)); list.add(new Boolean(true)); list.add(null); StringWriter out = new StringWriter(); list.writeJSONString(out); String jsonText = out.toString(); System.out.print(jsonText);
Result: ["foo",100,1000.21,true,null]
//import org.json.simple.JSONValue; LinkedList list = new LinkedList(); list.add("foo"); list.add(new Integer(100)); list.add(new Double(1000.21)); list.add(new Boolean(true)); list.add(null); String jsonText = JSONValue.toJSONString(list); System.out.print(jsonText);
Result: ["foo",100,1000.21,true,null]
//import org.json.simple.JSONValue; LinkedList list = new LinkedList(); list.add("foo"); list.add(new Integer(100)); list.add(new Double(1000.21)); list.add(new Boolean(true)); list.add(null); StringWriter out = new StringWriter(); JSONValue.writeJSONString(list, out); String jsonText = out.toString(); System.out.print(jsonText);
Result: ["foo",100,1000.21,true,null]
//import org.json.simple.JSONObject; JSONObject obj1 = new JSONObject(); obj1.put("name","foo"); obj1.put("num",new Integer(100)); obj1.put("balance",new Double(1000.21)); JSONObject obj2 = new JSONObject(); obj2.put("is_vip",new Boolean(true)); obj2.put("nickname",null); obj2.putAll(obj1); System.out.print(obj2);
Result: {"balance":1000.21,"num":100,"nickname":null,"is_vip":true,"name":"foo"}, the same as the one of Example 1.
JSONArray list1 = new JSONArray(); list1.add("foo"); list1.add(new Integer(100)); list1.add(new Double(1000.21)); JSONArray list2 = new JSONArray(); list2.add(new Boolean(true)); list2.add(null); list2.addAll(list1); System.out.print(list2);
Result: [true,null,"foo",100,1000.21], the order of which is different from the one of Example 2.
JSONArray list1 = new JSONArray(); list1.add("foo"); list1.add(new Integer(100)); list1.add(new Double(1000.21)); JSONArray list2 = new JSONArray(); list2.add(new Boolean(true)); list2.add(null); JSONObject obj = new JSONObject(); obj.put("name","foo"); obj.put("num",new Integer(100)); obj.put("balance",new Double(1000.21)); obj.put("is_vip",new Boolean(true)); obj.put("nickname",null); obj.put("list1", list1); obj.put("list2", list2); System.out.println(obj);
Result: {"balance":1000.21,"list2":true,null,"num":100,"list1":["foo",100,1000.21],"nickname":null,"is_vip":true,"name":"foo"}
Map m1 = new LinkedHashMap(); Map m2 = new HashMap(); List l1 = new LinkedList(); m1.put("k11","v11"); m1.put("k12","v12"); m1.put("k13", "v13"); m2.put("k21","v21"); m2.put("k22","v22"); m2.put("k23","v23"); l1.add(m1); l1.add(m2); String jsonString = JSONValue.toJSONString(l1); System.out.println(jsonString);
Result: [{"k11":"v11","k12":"v12","k13":"v13"},{"k22":"v22","k21":"v21","k23":"v23"}]
StringWriter out = new StringWriter(); JSONObject obj = new JSONObject(); LinkedHashMap m1 = new LinkedHashMap(); LinkedList l1 = new LinkedList(); obj.put("k1", "v1"); obj.put("k2", m1); obj.put("k3", l1); m1.put("mk1", "mv1"); l1.add("lv1"); l1.add("lv2"); m1.put("mk2", l1); obj.writeJSONString(out); System.out.println("jsonString:"); System.out.println(out.toString()); String jsonString = obj.toJSONString(); System.out.println(jsonString);
Result:jsonString: {"k3":["lv1","lv2"],"k1":"v1","k2":{"mk1":"mv1","mk2":["lv1","lv2"]}} {"k3":["lv1","lv2"],"k1":"v1","k2":{"mk1":"mv1","mk2":["lv1","lv2"]}}
/*class User implements JSONAware{ private int id; private String name; private String password; public User(int id, String name, String password){ this.id = id; this.name = name; this.password = password; } public String toJSONString(){ StringBuffer sb = new StringBuffer(); sb.append("{"); sb.append(JSONObject.escape("userName")); sb.append(":"); sb.append("\"" + JSONObject.escape(name) + "\""); sb.append(","); sb.append(JSONObject.escape("ID")); sb.append(":"); sb.append(id); sb.append("}"); return sb.toString(); } }*/ JSONArray users = new JSONArray(); users.add(new User(123,"foo1", "secret1")); users.add(new User(124,"foo2", "secret2")); users.add(new User(125,"\"foo2\"", "secret2")); System.out.println(users);
Result: [{userName:"foo1",ID:123},{userName:"foo2",ID:124},{userName:"\"foo2\"",ID:125}]
User.toJSONString() seems to be a bit complicated. The purpose is to demonstrate the usage of JSONObject.escape(). It can be simpler:public String toJSONString(){ JSONObject obj = new JSONObject(); obj.put("userName", name); obj.put("ID", new Integer(id)); return obj.toString(); }
/*class User implements JSONStreamAware{ private int id; private String name; private String password; public User(int id, String name, String password){ this.id = id; this.name = name; this.password = password; } public void writeJSONString (Writer out) throws IOException{ LinkedHashMap obj = new LinkedHashMap(); obj.put("userName", name); obj.put("ID", new Integer(id)); JSONValue.writeJSONString(obj, out); } }*/ JSONArray users = new JSONArray(); users.add(new User(123,"foo1", "secret1")); users.add(new User(124,"foo2", "secret2")); users.add(new User(125,"\"foo2\"", "secret2")); StringWriter out = new StringWriter(); users.writeJSONString(out); System.out.println(out.toString());
Result: [{"userName":"foo1","ID":123},{"userName":"foo2","ID":124},{"userName":"\"foo2\"","ID":125}]
Please note that you don't have to implement JSONStreamAware to support streaming output of your bean, you can only implement JSONAware instead of JSONStreamAware. In the latter case, JSONAware.toString() is called and the result is written to the output stream. You can implement JSONStreamAware for better performance. If a class implements both JSONStreamAware and JSONAware, JSONStreamAware is given precedence while streaming. Please refer
ChromeOS |
|
優點 |
缺點 |
1、七秒即可啟動,最快達3秒 |
1、不是真正意義上的免費 |
概念
記錄最後一筆紀錄的索引值,比對目前所選的紀錄值
surveyListGrid.getSelectionModel().on('rowselect',
function(sm, rowIdx, row) {
//A.001 add start
/**
* headerclick : ( Grid this, Number columnIndex, Ext.EventObject e )
* Fires when a header is clicked
* Listeners will be called with the following arguments:
引用:http://petersyt.blogspot.com/2005/10/blog-post_112942590828498472.html
現在的管理雜誌,越編越厚。其中有很多廣告,讀者可能只看幾頁就不想再看了;電視新聞內容,每個電視台也大同小異,看哪台都一樣;綜藝節目也是抄來抄去。
現在的手機,如果一家推出很炫的功能,不久可能所有的手機都有MP3、照相等多種功能;日本汽車業彼此也相差不大,以致勝負取決於規模,小公司幾乎無法生存。
是否從顧客角度思考?
台灣的代工產業更是如此,所有的廠商都迷信產能的擴大,一再投入擴廠,結果是讓自己可選擇的策略空間越來越小,越來越沒有彈性,彼此更沒有差異化,營運風險加大,並淪為品牌廠商任意宰割的對象。
我們正在努力奮鬥,
挽救我們一個偉大的、寶貴的政府與世界。
"我接受人們稚嫩雙手的委託與全民齊站在同一陣線。
我也被徵召加入挽救衰退經濟的戰局。"
, --富蘭克林‧羅斯福
閒暇時翻閱pmbok (PMP 教材,目前最新4th edition),每次總有不同層次的體悟,(我多半閱讀Rita's PMP prep 再參照pmbok 3rd)
Prevention Over Inspection一詞出自Philip Crosby 的品質管理理論。在pmbok 3rd中也出現於品質管理的知識體。
Prevention Over Inspection言簡意明地指出,品質控管應該防範於未然,而非已發生品管問題才去檢測,這樣的時機太晚了。
但是Prevention Over Inspection的思維用於風險控管,個人生活或工作管理,仍然非常受用。
:)
PEP:專案計畫文件(Project Execution Plan)
‧PEP的主要目的是描述專題進行的計畫
SRS: 需求規格文件(System Requirements Specification)
‧主要在描述系統的需求,亦即,你的系統提供了什麼功能?
<html>
<body>
<script language="Javascript">
function print_page()
{
IBM DB2 Universal Driver Type 4
需要db2jcc.jar, db2jcc_licent_uc.jar 安裝 (位置於 DRIVE NAME:\IBM\SQLLIB\java\)
無需DB2 client 安裝于應用程式的機器
差異 |
JSON |
XML |
可讀性 |
建議的語法 |
目的: 舊系統考量使用者習慣、系統正常運作以及可能的新舊並行...等整合問題,舊系統包袱必須以階段性,漸進式拋棄,以避免更系統導入而衍生的問題。
計畫:保持原本就系統UI設計避免使用者適應問題(Follow User Experience design)
以新技術設計中介層(Logic tier)滿足新業務邏輯需求,籌備未來更新系統的階段性任務
行動:
1. 以vs.net 開發環境建立dll 專案,並建置專案產生dll
將字串串轉成日期(date + time)的方法
var strDate = "2009-06-22 09:41:30";
var newDate = new Date(Date.parse(strDate .replace(/-/g, "/"))); //利用regular expression 將'-' 代換成 '/'
alert (newDate );