Time of Update: 2015-07-20
標籤:使用者反饋資料庫伺服器磁碟空間使用耗盡。 登入伺服器後查看,探索資料庫產生大量的trace日誌,並在alert日誌中發現ora-600錯誤alert日誌資訊:Fri Jul 17 06:13:40 2015Errors in file d:\app\administrator\diag\rdbms\orcl\orcl\trace\orcl_ora_53832.trc (incident=35764):ORA-00600: 內部錯誤碼, 參數: [17059], [0xDD7E984D0]
Time of Update: 2015-07-21
標籤:matplotlib python 繪圖 命令 IPython 支援兩種形式的繪圖終端輸出映像新視窗輸出映像方式 1 能夠非常方便的儲存輸出記錄(如將`IPython 終端輸出轉換成 Html 檔案)方式 2 則可以互動放大、拖動圖片,並且能將圖片儲存成不同的格式在終端視窗中輸出圖片的命令是:In [3]: %matplotlib
Time of Update: 2015-07-20
標籤:排序基數排序計數排序桶排序基數排序,桶排序,計數排序是三種線性排序方法,突破了比較排序的O(nlogn)的限制。但是只適用於特定的情況。基數排序以下為維基百科的描述: 基數排序 : 將所有待比較數值(正整數)統一為同樣的數位長度,數位較短的數前面補零。然後,從最低位開始,依次進行一次排序。這樣從最低位排序一直到最高位排序完成以後,數列就變成一個有序序列。 基數排序的方式可以採用LSD(Least significant digital)或MSD(Most
Time of Update: 2015-07-21
標籤:可以捕獲winform中的異常寫到文本中 1 [STAThread] 2 static void Main() 3 { 4 try 5 { 6 //處理未捕獲的異常 7 Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); 8
Time of Update: 2015-07-19
標籤: 在主表單功能表列的ItemAdded事件中編寫如下代碼: *msMain是我的主表單功能表列的Name屬性值 //子表單最大化不顯示表徵圖 private void msMain_ItemAdded(object sender, ToolStripItemEventArgs e) { if (e.Item.Text.Length == 0)
Time of Update: 2015-07-21
標籤:qdebug qt輸出 1、像printf()那樣輸出 %a,%A 讀入一個浮點值(僅C99有效) %c 讀入一個字元 %d 讀入十進位整數 %i 讀入十進位,八進位,十六進位整數 %o 讀入八進位整數 %x,%X 讀入十六進位整數 %s 讀入一個字串,遇空格、定位字元或分行符號結束。 %f,%F,%e,%E,%g,%G
Time of Update: 2015-07-21
標籤:題目:選課系統,每個人選5門課,如果很多人選擇相同5門課認為這個組合比較熱門, 現在要求出選擇最熱門課程組合的選擇人數。分析:資料結構,STL。對每組資料先排序,然後利用map統計求解即可。 (也可以使用hash表或者利用long long壓縮排序統計)說明:如果有很多人們組合,都算在一起。#include
Time of Update: 2015-07-21
標籤:flask uwsgi nginx 504 gateway time uwsgi+nginx部署的web網站運行時可能產生504 Gateway Time
Time of Update: 2015-07-21
標籤:session的建立: 最近在做統計伺服器線上人數時,通過統計當前伺服器session數量來實現,實現一個HttpSessionListener,用戶端第一次訪問後台jsp或者servlet的時候都會調用sessionCreated()方法,也就是說tomcat自動建立session,(有時候我們需要在使用者登入之後再去建立session,不需要tomcat來建立session,能力有限我目前沒有找到可以手動控制何時建立session的方法)。此時建立的session可以通過reques
Time of Update: 2015-07-21
標籤:原文地址:http://www.jdon.com/scalable.html 延展性(可擴充性)是一種對軟體系統計算處理能力的設計指標,高延展性代表一種彈性,在系統擴充成長過程中,軟體能夠保證旺盛的生命力,通過很少的改動甚至只是硬體裝置的添置,就能實現整個系統處理能力的線性增長,實現高輸送量和低延遲高效能。 延展性和純粹效能調優有本質區別,
Time of Update: 2015-07-21
標籤:本文出處:http://blog.csdn.net/chenxiaodan_danny/article/details/39081071 series : [ { name: ‘iphone3‘,
Time of Update: 2015-07-21
標籤:1、HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"NoDriveTypeAutoRun"=hex:b5" 取消自動播放資料光碟片為"b5", 自動播放為"95""NoRecentDocsMenu"=hex:1" 隱藏檔案選單""NoLogoff"=hex:0" 隱藏開始選單的登出""NoFavoritesMenu"=hex:1"
Time of Update: 2015-07-21
標籤:nginx 限制ip並發數,也是說限制同一個ip同時串連伺服器的數量。如何Nginx限制同一個ip的串連數,限制並發數目,限制流量/限制頻寬? 通過下面nginx模組的使用,我們可以設定一旦並發連結數超過我們的設定,將返回503錯誤給對方。這樣可以非常有效防止CC攻擊。在配合 iptables防火牆,基本上CC攻擊就可以無視了。Nginx限制ip連結數,Nginx如何限制並發數,同1個IP,nginx怎麼限制流量/限制頻寬?請看下文:nginx
Time of Update: 2015-07-21
標籤:1、Dao介面層public interface IBaseDao<T, ID extends Serializable>{ public abstract Serializable save(T t); /*其他介面*/}2、StudentDao介面層public interface IStudentDao extends IBaseDao<Student,Serializable>
Time of Update: 2015-07-20
標籤:app ios 個人筆記 意思 class 今天在項目中[AppDelegate sharePhoneWidth]這行遇到No known class method for selector "sharePhoneWidth"錯誤,當在其他類中去調用這個類時
Time of Update: 2015-07-20
標籤: git 提交代碼是會遇到以下問題, git commit 代碼時提示: Warning: Your console font probably doesn‘t support Unicode. If you experience trange characters in the output, consider switching to a TrueType font such as ucida
Time of Update: 2015-07-20
標籤:源碼比較兩個字串My Code塊#include <string.h>int my_strcmp(const char* s1,const char * s2){ if((s1==NULL)||(s2==NULL)) return 0; while(1) { if((*s1==‘\0‘)||(*s2==‘\0‘)) break; if(*s1>*s2) return 1; if(*s1<*s2) return -1; s1++; s2++;
Time of Update: 2015-07-20
標籤:SumsetsTime Limit: 1000msMemory Limit: 65536KBThis problem will be judged on PKU. Original ID: 254964-bit integer IO format: %lld Java class name: Main iven S, a set of integers, find the
Time of Update: 2015-07-20
標籤:directshow c++ 控制台 網路攝影機 #include "windows.h" #include "TCHAR.h" #include <dshow.h>#include <vector>#include <iostream>#include
Time of Update: 2015-07-19
標籤:Power of Two Total Accepted: 11027 Total Submissions: 36750My SubmissionsQuestion Solution Given an integer, write a function to determine if it is a power of two.Credits:Special thanks