Title22 Get link Facebook X Pinterest Email Other Apps July 13, 2016 Title22 windows 1. install USB driver 華碩是最好安裝的 2. 開發人員選項 對著版本號碼點七下 跳出關於開發人員選項 要讓Allow USB debugging出現勾選確認 Mac Get link Facebook X Pinterest Email Other Apps Comments
MEGA 暫存檔案刪除 February 23, 2016 MEGA常常會有佔據C磁碟,造成檔案空間不足的問題 只要在你的這個路徑下的檔案下把裡面的暫存檔刪除就可以釋放空間 C:\Users\Coding\AppData\Local\Google\Chrome\User Data\Default\File System 如果找不到可以試著使用搜尋功能尋找File System然後找佔用空間高達幾G的資料夾刪除內容 Read more
IOS 考題 July 31, 2016 IOS 考題 1. 宣告一個方法 帶入兩個名字 例如:JASON&OLIVIA ,方法不回傳值, 並且印出[JASON LOVE OLIVIA]。 -( void )jasonSayHelloToOlivia:( NSString *)name1:( NSString *)name2 { NSString * name1 = JASON; NSString * name2 = OLIVIA; NSLog (@ "%@ LOVE %@ " , name1 , name2 ); } 2. 宣告一個方法 帶入兩個整數,這個方法會回傳[比較大]的整數。 如果兩個整數相等,回傳任一個整數 -( int )comparteWithBigOne:( int )numberOne AndNumberTwo:( int )numberTwo { if (numberOne>numberTwo) { return numberOne; } else { return numberTwo; } 3. 宣告一個陣列,放入分數,分別是1,2,3,4,5,6。 另外宣告一個方法收到這個陣列,並求出平均 let scores = [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 ] var avg= 0.0 var sum= 0.0 let G = scores.count for i in 0. .<G { sum = sum + scores[i] print (scores[i]) } let b = Double(G) avg = sum / b print ( "sum=" + "\(sum)" ) print ( "average=" + "\(avg)" ) 4. 有一個菜單如下 黑咖啡 25 鬆餅 40 冰淇淋 50 拿鐵 60 每日點心 60 請宣告一個方法,帶入客人所點的品項名稱,並將總金額計算出來並回傳。 5. 請另外宣告一個方法,會帶入客人所點的品項與... Read more
XAMPP 使用多PORT來執行不同網頁 January 21, 2016 XAMPP 使用多PORT來執行不同網頁 XAMPP 使用多PORT來執行不同網頁 XAMPP的預設值PORT是80 因為開啟 SKYPE或Internet Information Services(IIS) 導致PORT被占用 使用virtual host的方法來達成使用PORT 7777與7778來實作 httpd.conf Listen 80 Listen 7778 Listen 7777 httpd-vhosts.conf <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/Web1" ServerName localhost </VirtualHost> <VirtualHost *:7777> DocumentRoot "C:/xampp/htdocs/Web2" ServerName localhost </VirtualHost> <VirtualHost *:7778> DocumentRoot "C:/xampp/htdocs/Web3" ServerName localhost </VirtualHost> Read more
Comments
Post a Comment