Time of Update: 2015-11-23
標籤: and create_time >= isnull(@create_time,‘‘2010-01-01‘‘) and create_time <= isnull(@Endcreate_time,‘‘2200-01-01‘‘) and more_dat01 >= isnull(@more_dat01,‘‘2010-01-01‘‘) and more_dat01 >= isnull(@Endmore_dat01,‘‘2200-01-01‘‘
Time of Update: 2015-11-20
標籤:工作中經常會遇到,要在sql中查詢報表,查詢結果要求按照日期來羅列, 或按照天, 或按照月,年。這個時候我們經常會苦惱,datetime是精確到毫秒的,如果單純的group by datetime就會導致結果不正確。這是我們可以利用convert函數:SELECT convert(varchar(10),CreateDate,120) ,var1 ,var2FROM TableGROUP BY convert(varchar(10),CreateDate,120)
Time of Update: 2015-11-20
標籤:控制項名稱縮寫Buttom按鈕BtnCheckBox複選框ChkColumnHeader視圖列表頭ColComboBox組合框CboContextMenu捷徑功能表CtmDataGrid資料格控制項DgDataGridView資料格視圖控制項DgvDteTimePicker時間輸入框DtpDomainUpDown數值框DudForm表單FrmGroupBox
Time of Update: 2015-11-24
標籤: private def filesHere = (new java.io.File(".")).listFiles() def filesEnding(query: String) = for(file <- filesHere; if file.getName.endsWith(query)) yield file def filesContaining(query : String) = for(file <- filesHere;
Time of Update: 2015-11-24
標籤:package com.example.yabushan.aidsservice;import android.app.Service;import android.content.Intent;import android.os.IBinder;//建立一個服務public class AppService extends Service { public AppService() { } @Override public IBinder
Time of Update: 2015-11-23
標籤:由原式,可以推出D=Σ(i=1,n,Σ(j=1,n,A[i]*A[j]*B[i][j]))-Σ(i=1,n,A[i]*C[i]),故建圖方法如下:由源點像第一層n*n個點連邊,邊權為B[i][j],由第一層像第二層連邊,邊權正無窮,由第二層向匯點連邊,邊權C[i]。最終答案為Σ(B)-MAXFLOW。推導過程: (A * B - C) * AT (1*n)
Time of Update: 2015-11-23
標籤:約緣吧 學校的風景總是那麼宜人,甜蜜的情侶總是讓人羨慕不已,每逢七夕、情人節、光棍節等等各種讓人滿懷期待卻又是如此悲傷的節日時,百無聊賴的學子們總是感歎,孤獨是一個人的狂歡,狂歡則是一群人的孤單。於是乎,他們毫不猶豫的拿起手機,上發微博,登QQ搜附近的人,他們總幻想著誰是我的白馬王子,誰是我的美麗的公主,茫茫人海,誰才是我的那個有緣人呢?想約美女,想見心目中期待已久的歐巴,上約緣吧,so easy!
Time of Update: 2015-11-23
標籤:原來的匹配方式:$.fn.combobox.defaults=$.extend({},$.fn.combo.defaults,{valueField:"value",textField:"text",groupField:null,groupFormatter:function(_84f){return _84f;},mode:"local",method:"post",url:null,data:null,keyHandler:{up:function(){nav(this,"prev"
Time of Update: 2015-11-23
標籤:nginx 反向 Proxy
Time of Update: 2015-11-22
標籤:這是去IDF實驗室做的CTF題:http://ctf.idf.cn/index.php一、被改錯的密碼 一看,被修改的密碼有33位。只有l不是16進位的,所以把l去掉,然後用md5線上解密就可以解除密碼是idf 二、啥? 有種技術叫資料隱寫,比方將資料藏在圖片的編碼裡。。。
Time of Update: 2015-11-22
標籤:題目連結:http://acm.hdu.edu.cn/showproblem.php?pid=5569簡單dp,噁心的邊界處理,無語;if((i+j)%2==1)dp[i][j]=a[i-1][j]*a[i][j]+min(dp[i-2][j], dp[i-1][j-1]); dp[i][j]=min(dp[i][j], a[i][j-1]*a[i][j]+min(dp[i-1][j-1],
Time of Update: 2015-11-21
標籤: 描述One day,Tom’s girlfriend give him an array A which contains N integers and asked him:Can you choose some integers from the N integers and the sum of them is equal to K. 輸入There are multiple test cases.Each test case contains
Time of Update: 2015-11-21
標籤:// UIPageControl的常用方法UIPageControl *onePageControl = [[UIPageControl alloc] init];onePageControl.frame = CGRectMake(10, 100, 300, 30); // 設定位置onePageControl.backgroundColor = [UIColor redColor]; // 設定背景色onePageControl.pageIndicatorTintColor =
Time of Update: 2015-11-21
標籤: 快速鍵功能ctrl+shift+n開啟新Sublimectrl+shift+w關閉Sublime,關閉所有開啟檔案ctrl+shift+t重新開啟最近關閉檔案ctrl+n建立檔案ctrl+s儲存ctrl+shift+s另存新檔ctrl+f4關閉檔案ctrl+w關閉ctrl+k,
Time of Update: 2015-11-21
標籤:
Time of Update: 2015-11-20
標籤: JMeter是一款效能測試工具。個人認為與其說他是一個工具,不如說他是一個架構。因為JMeter的支援範圍非常廣,目前常見的需要進行效能測試的應用幾乎都能應用(如:files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP
Time of Update: 2015-11-21
標籤:20140417-20151119 工作記錄=======================改科室BUG20140416 入職2014041720140418 下午忘了打卡 周五==============================================2014042120140422201404232014042420140425================================================材料分析 201404282014042920
Time of Update: 2015-11-20
標籤:Jmeter報告解析1、Aggregate Report 解析 Aggregate Report 是 JMeter 常用的一個 Listener,中文被翻譯為“彙總報告”。今天再次有同行問到這個報告中的各項資料表示什麼意思,順便在這裡公布一下,以備大家查閱。 如果大家都是做Web應用的效能測試,例如只有一個登入的請求,那麼在Aggregate Report中,會顯示一行資料,共有10個欄位,含義分別如下。 Label:每個 JMeter 的
Time of Update: 2015-11-20
標籤:cocos2d-quick lua cocostuido1. 載入 節點到情境第一種方法local scene = cc.CSLoader:createNode("scene.csb") self:addChild(scene)第二種方法local scene = cc.uiloader:load("MainScene.csb"):addTo(self)2.強轉精靈類型local sprite =
Time of Update: 2015-11-23
改變運行指令碼的命令視窗標題可以簡單地使用下面語句實現視窗的標題SetobjShell = CreateObject("Wscript.Shell")objShell.Run("%comspec%/K title My Command Window |ping.exe 192.168.1.1"), 1, TRUE 上面我們建立了一個Wscript.Shell對象執行個體(instance),然後我們使用Run行為運行Ping.exe,