Time of Update: 2015-04-27
標籤:02. GIT命令列協助================================================================================$ svn help查看svn所有命令的協助$ svn help 子命令# 要退出協助資訊,按"q"# 翻看下頁,按"空格"# 翻看上頁,按"CTRL+B"#
Time of Update: 2015-04-27
標籤:Cocoa 工具包 針對 os x 系統Cocoa Touch 針對IOS系統 Cocoa 工具包包括:1.Foundation 架構2.Application Kit3.Core Animation4.Core Image 架構:把標頭檔,庫,圖片,聲音等內容聚集在一個獨立單元中的集合體 //Foundation
Time of Update: 2015-04-27
標籤:建立一個log4j.properties檔案,內容如下# Configure logging for testing: optionally with log filelog4j.rootLogger=WARN, stdout# log4j.rootLogger=WARN, stdout, logfilelog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.
Time of Update: 2015-04-27
標籤:1、Get是用來從伺服器上獲得資料,而Post是用來向伺服器上傳遞資料。 2、Get將表單中資料的按照variable=value的形式,添加到action所指向的URL後面,並且兩者使用“?”串連,而各個變數之間使用“&”串連;Post是將表單中的資料放在form的資料體中,按照變數和值相對應的方式,傳遞到action所指向URL。 3、Get是不安全的,因為在傳輸過程,資料被放在請求的URL中,而如今現有的很多伺服器、Proxy
Time of Update: 2015-04-27
標籤:UIButton *abutton=[UIButton buttonWithType:UIButtonTypeRoundedRect]; abutton.frame=CGRectMake(130, 230, 100, 40); [abutton setImage:[UIImage imageNamed:@"button0_movieInfo.png"] forState:UIControlStateNormal]; [abutton
Time of Update: 2015-04-28
標籤:1.預設效果: 代碼:Toast.makeText(getApplicationContext(), "預設Toast樣式", Toast.LENGTH_SHORT).show(); 2.自訂顯示位置效果: 代碼: toast = Toast.makeText(getApplicationContext(),
Time of Update: 2015-04-28
標籤:應用程式 導航 安卓 代碼 安全 導航是行動裝置
Time of Update: 2015-04-27
標籤:直接看代碼:#import "CMoveView.h"@interface CMoveView ()//記錄上一次父視圖@property (nonatomic, strong) UIView* oldSuperview;@end@implementation CMoveView //當自己重寫一個UIView的時候有可能用到這個方法,當本視圖的父類別檢視改變的時候,系統會自動的執行這個方法.newSuperview是本視圖的新父類別檢視.newSuperview有可能是nil.
Time of Update: 2015-04-28
標籤:Android萬能播放器 0.eclipse直接匯入即可食用(親,有兩個是庫工程哦) 1.基於Vitamio的萬能播放器(自己百度哈) 2.掃描本地視頻,擷取每個視頻第一幀,並顯示 3.手勢控制音量、亮度 4.擷取到的第一幀圖片沒有處理,可能會記憶體溢出,請自行處理啦
Time of Update: 2015-04-27
標籤:Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the
Time of Update: 2015-04-27
標籤:一般監控都使用tcp tomcat連接埠的方式,不過這有一個問題就是tomcat假死的情況,tcp連接埠是OK的,但是tomcat裡邊部署的web應用其實已經不能正常訪問,這個時候需要使用http方式監控tomcat狀態。
Time of Update: 2015-04-27
標籤:android sdk更新大連東軟資訊學院鏡像伺服器地址: http://mirrors.neusoft.edu.cn 連接埠:80北京化工大學鏡像伺服器地址: IPv4: http://ubuntu.buct.edu.cn/ 連接埠:80 IPv4: http://ubuntu.buct.cn/ 連接埠:80 IPv6:
Time of Update: 2015-04-28
標籤:導航是行動裝置 App最重要的方面之一,對使用者體驗是良好還是糟糕起著至關重要的作用。好的導航可以讓一款應用更加易用並且讓使用者快速上手。相反,糟糕的應用導航很容易讓人討厭,並遭到使用者的拋棄。為了打造流暢的使用者導航體驗,我們不得不依賴智能手機最常見的一個功能:觸摸。觸摸改變應用程式的視圖是現在最流行一種導航設計。在本部落格中,我們將經過必要的幾步來實現應用內的橫向滑動導航。本文毫無遲疑地使用了代碼優先的方法 。讓我們看一下滑動導航需要完成的主要程式碼片段。<span style=
Time of Update: 2015-04-27
標籤:今天遇到點關於KVO小問題,糾結了半天.結果是出來了.需求:監聽UITableView資料的變化,一旦變化,就重新整理UITableView.很顯然要用到KVO.資料是放到@property (nonatomic, strong) NSMutableArray* data;剛開始我是這麼做的:1,註冊監聽- (void)viewDidLoad { [super viewDidLoad]; //KVO監聽data的變化
Time of Update: 2015-04-28
標籤:iOS具體的裝置型號:#include <sys/types.h>#include <sys/sysctl.h>- (void)test { //手機型號。 size_t size; sysctlbyname("hw.machine", NULL, &size, NULL, 0); char *machine = (char*)malloc(size);
Time of Update: 2015-04-28
標籤:1. 配置自動補全: Windows -> preferences -> 搜尋assist,修改 java xml自動觸發補全:.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_ 2. 自動補全外掛程式: http://www.cnblogs.com/sunjie21/archive/2012/06/28/2567463
Time of Update: 2015-04-27
標籤: 看過視頻,看過文頂頂的部落格。對用戶端講解的都很不錯,唯獨對服務端的搭建講解的比較簡單。這一步,卡住了自己好久。 要用的軟體:apache-tomcat-7.0.61.tar.gz, com.sysdeo.eclipse.tomcat_3.3.1.jar,eclipse-jee-luna-SR2-macosx-cocoa-x86_64.tar.gz 1.com.sysdeo.eclipse.tomcat_3.3.1.jar是一個外掛程式,拷貝eclipse/plugins
Time of Update: 2015-04-27
標籤:ui const 字型 應用 字元 貓貓分享,必須精品原創文章,歡迎轉載。轉載請註明:翟乃玉的部落格 地址:http://blog.csdn.net/u013357243?viewmode=contentsUIKit字元屬性NSAttributedString概述字元屬性字元屬性可以應用於 attributed
Time of Update: 2015-04-27
標籤: 1 private void deleteDirectory(File file) { 2 if (file.isFile()) { 3 file.delete(); 4 return; 5 } 6 7 if(file.isDirectory()){ 8 File[] childFiles = file.listFiles(); 9 if (childFiles == null ||
Time of Update: 2015-04-27
標籤:UILabel * testlable = [[UILabel alloc]initWithFrame:CGRectMake(10,20,200,20)];NSString * tstring [email protected]"UILabel ios7 與ios7之前實現自適應撐高的方法,文本的內容長度不一,我們需要根據內容的多少來自動換行處理。在IOS7下要求font,與breakmode與之前設定的完全一致sizeWithFont:font