Time of Update: 2015-07-08
標籤:nagios 對比 zabbix web功能: Nagios簡單直觀,警示與資料都在同一頁面,***、紅色即為問題項。Nagios web端不要做任何配置。
Time of Update: 2015-07-08
標籤:研究上午Android底層機制事件監視器,例如下面的摘要:核心驅動監控硬體狀態和行為,由uevent機制將事件發送到使用者空間;通過使用者空間UeventObserver從核心監控uevent,處理。間的通訊使用了netlink機制。參考的文章有:Android使用UeventObserver:http://blog.csdn.net/lushengchu_luis/article/details/9466405http://blog.csdn.net/dfysy/article/deta
Time of Update: 2015-07-08
標籤:【顯式Intent】LinerLayout 是線性布局orientation是布局走向 vertical是垂直方向android:textAllCaps="false" 可以讓視圖中能夠區分大小寫需要在AndroidManifest裡面進行註冊,才能通過intent進行調用建立的新類要在Manifest裡面定義。顯式Intent,直接指明了啟動的類,啟動的就是MyAty.classstartActivity(new Intent(MainActivity.this,
Time of Update: 2015-07-08
標籤:1,千萬不要在軟體說明的地方寫下任何其它終端裝置的標示,比如:Android,WindowsPhone,等等,否則被打回後又需要等待一周時間,因為他們不希望你提供任何非ios平台的擴充資訊。2,項目如果涉及到大公司的地方,比如中國移動,比如你的軟體需要移動號碼開通相應的服務才可使用,這種情況下,你要是描述此軟體是為移動做的,那麼,恭喜你,你的麻煩事情來了,他們會各種追問,需要你提供測試帳號密碼,示範項目的網站連結,甚至是中國移動委託授權的相關資質證明,還有相關的三方使用者協議....好多事
Time of Update: 2015-07-08
標籤:資料 顯示 源碼 android 設定 PullToRefreshScrollView實現自動重新整理 查看官方源碼 連結Github 地址 源碼圖片:
Time of Update: 2015-07-08
標籤:ios開發 opaque uigesturerecognizer removefromsuperview 蒙層 郝萌主傾心貢獻,尊重作者的勞動成果,請勿轉載。如果文章對您有所協助,歡迎給作者捐贈,支援郝萌主,捐贈數額隨意,重在心意^_^ 我要捐贈: 點擊捐贈Cocos2d-X源碼下載:點我傳送遊戲官方下
Time of Update: 2015-07-08
標籤:var touchFunc = function(obj,type,func) { //滑動範圍在5x5內則做點擊處理,s是開始,e是結束 var init = {x:5,y:5,sx:0,sy:0,ex:0,ey:0}; var sTime = 0, eTime = 0; type = type.toLowerCase(); obj.addEventListener("touchstart",function(){ sTime = new
Time of Update: 2015-07-08
標籤:最近再看eventbus相關代碼,首先從使用開始,後期再從源碼角度分析eventbus.使用Demo後期公布到github上去。使用的架構地址:https://github.com/bboyfeiyu/AndroidEventBusSticky 事件 使用例子:1,首先每個Activity或者fragement都要進行eventBus的註冊和反註冊。發送sticky事件的activity: 1 package com.example.mysimpleeventbus;
Time of Update: 2015-07-08
標籤:方法是重寫了系統的systemFontOfSize 建立一個model類 選擇高亮狀態下得檔案 點擊Next下一步 因為我重寫的UIFont方法 所以繼承UIFont File那一框填寫檔案名稱字 下面我就直接貼出我的model類 .h .m 很簡單
Time of Update: 2015-07-08
標籤:app介面文檔 api文檔 api介面文檔 app介面 api文檔工具 悲傷的曆史在進行app後端開發過程中,後端會提供出來很多的api介面供前端開發使用,為了讓前端開發人員順利使用,我們會寫好一份文檔,告訴他們這個介面你該用 GET 還是 POST
Time of Update: 2015-07-08
標籤:apply plugin: ‘com.android.application‘apply plugin: ‘android-apt‘def AAVersion = ‘3.2‘android { compileSdkVersion 22 buildToolsVersion "23.0.0 rc2" defaultConfig { applicationId "com.peiandsky.firstandroidstudio" minSdkVersion 14
Time of Update: 2015-07-08
標籤: 主要介紹總結的Android開發中常用的工具類,大部分同樣適用於Java。目前包括HttpUtils、DownloadManagerPro、ShellUtils、PackageUtils、PreferencesUtils、JSONUtils、FileUtils、ResourceUtils、StringUtils、ParcelUtils、RandomUtils、ArrayUtils、ImageUtils、ListUtils、MapUtils、ObjectUtils、S
Time of Update: 2015-07-08
標籤:給一個按鈕添加onclick事件 //擷取按鈕對象 Button Aiyo = (Button)findViewById(R.id.button1); Aiyo.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) {//tv.setText("woceshi");
Time of Update: 2015-07-08
標籤:import org.custommonkey.xmlunit.*import org.custommonkey.xmlunit.examples.*import javax.xml.xpath.*import javax.xml.parsers.*import static java.lang.Math.* import com.eviware.soapui.support.GroovyUtils// The parameter allowableDeviation means
Time of Update: 2015-07-08
標籤:手機介面類 Mobile.javapublic interface Mobile{ public void call(); public void receivecall(); public String receiveMsg(); public void&
Time of Update: 2015-07-08
標籤:音效卡驅動 黑蘋果 萬能音效卡 voohoohad 今天寫視頻類代碼,出現警告Error ‘!obj‘ trying to fetch default input device‘s sample rate,之前一直用mac pro,現在用黑蘋果,音效卡驅動得自己裝,今天有時間搗鼓了一下,很簡單,安裝VoohooHAD就可以了,安裝完成後重啟,再次運行項目,
Time of Update: 2015-07-08
標籤:ios block #import "ViewController.h"/* 使用Block最大的一個好處就是可以在代碼塊中隨時訪問外部變數
Time of Update: 2015-07-08
標籤:[0-9a-z][a-z0-9\._-]{1,}@[a-z0-9-]{1,}[a-z0-9](\.[a-z]{1,})+之前在網上找的好多驗證郵箱的都不支援驗證次層網域的郵箱js 使用方法 function CheckEmail(email){ if (/^[0-9a-z][a-z0-9\._-]{1,}@[a-z0-9-]{1,}[a-z0-9](\.[a-z]{1,})+$/.test(email) { return true; }
Time of Update: 2015-07-08
標籤:ListView綁定ArrayAdapterres/layout/activity_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
Time of Update: 2015-07-08
標籤:【textView文本輸入 字數限制】// 監聽文本改變 觸發時機(通過發送通知完成)-(void)textViewEditChanged:(NSNotification *)obj{ UITextView *textView = (UITextView *)obj.object; NSAttributedString *toBeString =