原创 搭建cacti環境

            構建cacti檢測系統         ([email protected]) 目錄 構建cacti檢測系統... 1 安裝檢測端... 1 安裝被測端... 3 錯誤解決辦法... 3   安裝檢測端 安裝支持軟件

原创 升級openssh

  場景描述與升級方案 1:場景描述 下圖爲綠盟科技 遠程安全評估系統檢測漏洞截圖 本文檔參照綠盟提供解決辦法:源碼安裝 openssh5.0以上廠商p1補丁安裝包 (本文檔爲6.0p1) 下載地址   ftp://ftp.openbsd.

原创 自定義圓角button

    UIButton * buttonLogin=[UIButton buttonWithType:UIButtonTypeCustom];     buttonLogin.frame=CGRectMake(110, 180, 100

原创 總結

 風火輪:     UIActivityIndicatorView *refreshMum = [[UIActivityIndicatorView alloc]initWithActivityIndicatorStyle:UIActivit

原创 我的友情鏈接

51CTO博客開發

原创 post請求

 +(void)post:(id)se {     //請求網址     NSURL* url = [NSURL URLWithString:HTTPAddress];     NSMutableURLRequest* request =

原创 整理。。。linux網絡服務

             第一章 linux基本網絡配置 ifconfig 查看網卡 ifconfig -a 查看所有網卡 #ifconfig eth0 查看單獨網卡 # eth0 第一快以太網網卡 lo 本地迴環 ifconfi

原创 整理。。。linux系統管理

        第一章 cd .. 上級目錄 cd / 根目錄 cd 家目錄 wc(統計) -l 顯示列數    -c 只顯示Byte數    -w 只顯示字數 pwd 查看當前目錄 cd 切換工作目錄 ls 列表顯示目錄內

原创 自定義leftBarButtonItem的button

     self.navigationItem.title=@"經銷商查詢";     UIButton * button = [UIButton buttonWithType:UIButtonTypeCustom];     butto

原创 檢查當前設備

獲取iphone的系統信息使用[UIDevice currentDevice],信息如下: [[UIDevice currentDevice] systemName]:系統名稱,如iPhone OS [[UIDevice currentDe

原创 總結

 風火輪:     UIActivityIndicatorView *refreshMum = [[UIActivityIndicatorView alloc]initWithActivityIndicatorStyle:UIActivit

原创 我的友情鏈接

51CTO博客開發

原创 tableview 繪製cell

     //13繪製單元格的方法   -(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)index

原创 button實現類似uisegment效果

 for (int i=0; i<array.count; i++)      {         //循環添加button         UIButton * button = [custombutton initbutton:CGR

原创 將10位時間戳轉換成字符串格式時間顯示

  //服務器返回10位格式時間戳利用如下方法將時間戳轉換成字符串的時間格式     NSDateFormatter* formatter = [[NSDateFormatter alloc] init];          [forma