This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <windows.h> //這裡面有定義BITMAPFILEHEADER BITMAPINFOHEADER RGBQUAD | |
#define WORD short int | |
#define DWORD long int | |
#define LONG long int | |
char *File1_Name = "0001.bmp"; | |
BITMAPFILEHEADER File1_F; //BMP檔頭結構 | |
BITMAPINFOHEADER File1_I; //BMP資料結構 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This is xxx.h | |
/* | |
//#import <ifaddrs.h> | |
//#import <arpa/inet.h> | |
@interface TKUWiFiInformation : NSObject | |
- (NSString *)getIPAddress; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIColor *buttonColorDefault = [UIColor colorWithRed:90.0f/255.0f green:90.0f/255.0f blue:90.0f/255.0f alpha:1.0]; | |
UIColor *buttonColorHighlight = [UIColor colorWithRed:255.0f/255.0f green:255.0f/255.0f blue:255.0f/255.0f alpha:1.0]; | |
UIImage *btn = [UIImage imageNamed:@"Button.png"]; | |
UIImage *btnh = [UIImage imageNamed:@"ButtonHighlighted.png"] ; | |
// building the buttons | |
UIButton *aboutBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | |
[aboutBtn addTarget:self action:@selector(showAboutPage) forControlEvents:UIControlEventTouchUpInside]; | |
[aboutBtn setTitle:@"登入" forState:UIControlStateNormal]; | |
[aboutBtn setFrame:CGRectMake(80.0,320.0, 162.0, 42.0)]; | |
[aboutBtn setBackgroundImage:btn forState:UIControlStateNormal]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
sudo rm -rf /Users/$USER/Library/Logs | |
sudo rm -rf /Library/Caches | |
sudo rm -rf /Users/$USER/Library/Caches | |
sudo rm -rf /var/folders/* | |
sudo rm -rf /System/Library/Caches | |
echo "Clean Done" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ARCH | |
ARCH="`uname -s`" | |
LINUX="Linux" | |
Darwin="Darwin" | |
TARGET=demo.hex | |
EXECUTABLE=demo.elf | |
CC=arm-none-eabi-gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
實習室機位 http://163.13.243.237/Data/xml/labs.xml | |
即時影像 http://163.13.240.180/cellphone/MainPage.html | |
課表 | |
StuNo=學號 | |
pKey= | |
Chksum= | |
pPass=密碼 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test Image 320x240 | |
################################ | |
erode -->0 s, 8880615 ns, fps=112.60 | |
erode -->0 s, 17456055 ns, fps=114.57 | |
erode -->0 s, 25634766 ns, fps=117.03 | |
erode -->0 s, 34027100 ns, fps=117.55 | |
erode -->0 s, 42449951 ns, fps=117.79 | |
erode -->0 s, 50842285 ns, fps=118.01 | |
erode -->0 s, 59020996 ns, fps=118.60 | |
erode -->0 s, 67382812 ns, fps=118.72 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
#淡江大學新版無線網路登入系統Script 適用Unix,Linux,Mac | |
#iOS 版本 https://itunes.apple.com/app/id541911220?mt=8 | |
#淡水適用 | |
user=帳號 #這裡改成自己的帳號 | |
pass=密碼 #這裡改成自己的密碼 | |
url=http://163.13.246.254/cgi-bin/ace_web_auth.cgi #要POST的位址 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! bin/sh | |
#淡江大學無線網路登入系統Script 適用Unix,Linux,Mac | |
#iOS 版本 https://itunes.apple.com/app/id541911220?mt=8 | |
#蘭陽適用 | |
user=帳號 #這裡改成自己的帳號 | |
pass=密碼 #這裡改成自己的密碼 | |
url=http://163.13.30.254/goform/eumLogin? #要POST的位址 | |
#163.13.27~30.254 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[modelsArray sortUsingSelector:@selector(myCompareMethodWithDict:)]; | |
@interface GeofenceDataModel(myCompare) | |
- (NSComparisonResult)myCompareMethodWithDict: (GeofenceDataModel *) model; | |
@end | |
OlderNewer