Time of Update: 2015-07-03
標籤:Program.cs 後台代碼: class Program { static void Main(string[] args) { //Activity workflow1 = new Workflow1(); //WorkflowInvoker.Invoke(new Workflow1());
Time of Update: 2015-07-03
nodejs入門篇---建立工程並詳解,nodejs入門篇想了很久,總想寫點對大家有好處的,今天講解產生項目。現在市面上一般需要人全棧-----mean(mongo,express,angular,nodejs),這樣可以從前端開發到後端以及資料庫,聽起來牛呼呼的。這篇文章就說nodejs和比較流行的架構express4.X版本(由於3.X版本沒怎麼研究過,而且和4有一定區別,況且4也出來很久了,非用不可啊),後面的文章會帶上mongo(oh,應該說是mongoose)至於angualr我有獨立
Time of Update: 2015-07-02
CSS3製作Freebie標籤,css3freebie標籤<!DOCTYPE HTML><html lang="en-US"><head><meta charset="UTF-8"><title>CSS3製作Freebie標籤</title><style type="text/css">body{background-color:
Time of Update: 2015-07-01
Ext.Ajax的使用方法,Ext.Ajax使用方法 Ext.Ajax.request({ //ajax請求
Time of Update: 2015-07-01
搜集的Ext tree的屬性方法與事件,搜集exttree屬性efined ByConfig options Ext.util.Observableview sourcelisteners : Object一個設定物件,包含一個或多個事件處理函數,在對象初始化時添加到對象。 ...Defined ByProperties Ext.util.Observableview
Time of Update: 2015-07-01
dojo/data/ItemFileWriteStore 常見錯誤,datadojoprops1. 使用建構函式建立store var dataStore=new ItemFileWriteStore({data:responseData}); //responseData為json資料,且json資料格式正確,identifier唯一 console.debug(dataStore);
Time of Update: 2015-07-01
原創jQuery外掛程式之圖片自適應,jquery外掛程式自適應如下:功能:使圖片自適應置中位於容器內限制:容器需要給定大小使用方法:1、引入jQuery,然後引入fitimg外掛程式2、給需要圖片自適應的容器固定寬高3、header .account .img { width: 40px; height: 40px; margin: 5px 5px; float: left; }4、添加data-src屬性<div class="img" data-src
Time of Update: 2015-06-30
HTML5的data-*自訂屬性,html5data-自訂HTML5增加了一項新功能是自訂資料屬性,也就是data-*自訂屬性。在HTML5中我們可以使用以data-為首碼來設定我們需要的自訂屬性,來進行一些資料的存放。當然進階瀏覽器下可通過指令碼進行定義和資料存取。在項目實踐中非常有用。目前採取這樣的做法的架構也有很多,最常見的當屬jQueryMobile。具體使用方法例下:<div id = "head" data-home = "http://blog.
Time of Update: 2015-07-03
LeetCode 230: Kth Smallest Element in a BST,leetcodekthGiven a binary search tree, write a function kthSmallest to find thekth smallest element in it.Note: You may assume k is always valid, 1 ≤ k ≤ BST's total elements.Follow up:What if the BST is
Time of Update: 2015-07-02
LeetCode139:Word Break,leetcode139break Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.For example, given s = “leetcode”, dict = [“leet”, “code”]
Time of Update: 2015-07-01
python的keyword模組用法執行個體分析 本文執行個體講述了javascript日期計算。分享給大家供大家參考。具體如下: ? 1 2 3 4 5 6 7 8 9 10 11
Time of Update: 2015-07-01
python讀寫ini設定檔方法執行個體分析 本文執行個體講述了python讀寫ini設定檔方法。分享給大家供大家參考。具體實現方法如下: ? 1 2 3 4 5 6 7 8 9 10 11
Time of Update: 2015-07-01
python實現線程池的方法 本文執行個體講述了python實現線程池的方法。分享給大家供大家參考。具體如下: 原理:建立一個任務隊列,然多個線程都從這個任務隊列中取出任務然後執行,當然任務隊列要加鎖,詳細請看代碼 檔案名稱:thrd_pool.py 系統內容:ubuntu linux & python2.6 ? 1 2 3 4
Time of Update: 2015-07-01
JS頁面跳轉使地址後面不顯示參數,js跳轉 背景使用window.open()和window.location.href跳轉時,新頁面的地址欄會顯示參數,如下:http://127.0.0.1:8080/website-cms/admin/article/edit?action=add。
Time of Update: 2015-07-01
Hibernate也需要呵護——Hibernate的泛型DAO,hibernate呵護dao
Time of Update: 2015-07-01
[LeetCode] Majority Element II,leetcodemajority Given an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times. The algorithm should run in linear time and in O(1)
Time of Update: 2015-07-01
Leetcode 216 Combination Sum III,leetcodetwosum 1. 問題描述 找出所有k個數位組合,使它們的和為n。設所有的數都為1~9,且沒有重複數。結果要保持升序。 2. 方法與思路 採用回溯法可以很好地解決這個問題。 class Solution {public: int target,kk; vector<vector<int> > v;public: void
Time of Update: 2015-07-01
leetcode 14Longest Common Prefix,leetcodelongestWrite a function to find the longest common prefix string amongst an array of strings.我的解決方案:class Solution {public: string longestCommonPrefix(vector<string>& strs) { if(
Time of Update: 2015-06-30
聊天室技術 聊天室技術 - 密談的實現 每個聊天室都提供了密談功能,來為那些需要私下裡進行交流的聊友提供方便,這 裡把我的聊天室實現私聊的方法介紹如下: 1 對發送資訊的處理 每句私聊都要顯示在自己和私聊對象的螢幕上,而其他人不能夠看到.這裡先對發 言內容進行處理,然後再儲存到發言檔案裡面! //$split為分隔字元號 messagesend.php //判斷是否私聊發言 if($secret ==
Time of Update: 2015-06-30
3.1.2