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
5mm開方壓克力盒(46x10x17cm) | |
5mm開放壓克力盒(33.4x10x17cm) | |
3mmL型壓克力檔板(79.4x10.3cm) | |
請幫我注意一下長誤差請別超過上面尺寸, 不然無法塞入訂製的魚缸中 | |
謝謝 | |
https://tw.bid.yahoo.com/item/PN%E3%80%82%E3%80%82%E3%80%82%E9%9D%92%E5%B3%B6%E6%B0%B4%E6%97%8F%E3%80%82%E3%80%82%E3%80%82%E7%86%B1%E5%B8%B6%E9%9B%A8%E6%9E%97%E7%A0%82-%E7%86%B1%E5%B8%B6%E9%9B%A8%E6%9E%97%E6%B2%99-%E5%8F%A2%E6%9E%97%E5%AF%B6-100506909548 | |
https://tw.bid.yahoo.com/item/%E4%B8%83%E6%9C%88%E7%BC%BAY%E3%80%82%E3%80%82%E3%80%82%E9%9D%92%E5%B3%B6%E6%B0%B4%E6%97%8F%E3%80%82%E3%80%82%E3%80%824015100%E5%BE%B7%E5%9C%8BEHEIM-L%E5%B0%8F%E5%BD%8E-100032488823 |
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
// Media types | |
// Reference: AVMediaType | |
typedef NSString * CBMediaType NS_STRING_ENUM; | |
FOUNDATION_EXPORT CBMediaType const CBMediaTypeImage; | |
FOUNDATION_EXPORT CBMediaType const CBMediaTypeVideo; | |
FOUNDATION_EXPORT CBMediaType const CBMediaTypeGif; | |
FOUNDATION_EXPORT CBMediaType const CBMediaTypeAnimatedOutput; | |
CBMediaType const CBMediaTypeImage = @"image"; |
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
// | |
// PagingCollectionView.h | |
// PicCollage | |
// | |
// Created by yyjim on 2/22/16. | |
// | |
// | |
#import <UIKit/UIKit.h> |
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
#!/usr/bin/env ruby | |
require 'fileutils' | |
working_dir = File.expand_path File.dirname(__FILE__) | |
["drawable-xxhdpi","drawable-xhdpi", "drawable-hdpi", "drawable-mdpi"].each do |dir| | |
directory = "#{working_dir}/#{dir}" | |
FileUtils.rm_rf(directory) | |
FileUtils.mkdir_p(directory) | |
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
NSURL *url = [NSURL URLWithString:@"http://opendata.dot.taipei.gov.tw/opendata/alldescriptions.json"]; | |
NSURLRequest *request = [NSURLRequest requestWithURL:url]; | |
[NSURLConnection sendAsynchronousRequest:request | |
queue:[NSOperationQueue mainQueue] | |
completionHandler:^(NSURLResponse *response, NSData *data, NSError *connectionError) { | |
unsigned long big5 = CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingBig5_HKSCS_1999); | |
NSString *json = [[NSString alloc] initWithData:data encoding:big5]; | |
NSError *error; | |
NSDictionary *dictionary = | |
[NSJSONSerialization JSONObjectWithData:[json dataUsingEncoding:NSUTF8StringEncoding] |
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
// in Mixi.m | |
/* | |
is there a way can check revoke successful? | |
i can not find where return kMixiAppApiTypeRevoke value in | |
- (NSString*)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation error:(NSError**)error | |
but in README said we can check it. | |
*/ | |
NSError *error = nil; | |
NSString *apiType = [[Mixi sharedMixi] application:application openURL:url sourceApplication:sourceApplication annotation:annotation error:&error]; |
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
// Mixi.m | |
- (void)clear { | |
NSUserDefaults *defaults = [self userDefaults]; | |
[defaults removeObjectForKey:@"clientId"]; | |
[defaults removeObjectForKey:@"expiresIn"]; | |
[defaults removeObjectForKey:@"state"]; | |
[defaults removeObjectForKey:@"accessTokenExpiryDate"]; | |
// yyjim: is this need to do synchronize after removeObjectForKey? | |
// [defaults synchronize] |
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://stackoverflow.com/a/29576280 | |
# Go to ~/Library/MobileDevice/Provisioning Profiles | |
grep -a -A1 "<key>Name</key>" *.mobileprovision | grep -v "<key>Name</key>" | grep -v "^--" |