Skip to content

Instantly share code, notes, and snippets.

View vc7's full-sized avatar
🇹🇼
ミルクティー大好き

Lihsuan Chen vc7

🇹🇼
ミルクティー大好き
View GitHub Profile
// 指定類別
http://lorempixel.com/200/200/abstract
// 指定某類別的第幾張圖
http://lorempixel.com/200/200/abstract/2
// 隨機圖片疊上文字
http://lorempixel.com/200/200/people/Vincent/
// 指定圖片疊上文字
http://lorempixel.com/200/200/people/3/Vincent/
$ cd ~/.ssh
$ ls
# Lists the files in your .ssh directory
<link rel="stylesheet" href="css/mfglabs_iconset.css">
<i class="icon-cloud"></i>
<i class="icon-cloud icon2x"></i>
.icon2x { font-size: 2em; }
.icon3x { font-size: 3em; }
<i class="icon-globe gradient icon3x"></i>
package efwuhn.test.app;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import javax.persistence.Entity;
import com.google.appengine.api.datastore.Blob;
@Entity
NSMutableDictionary* params = [[NSMutableDictionary alloc] init];
[params setObject:@"your custom message" forKey:@"message"];
[params setObject:UIImagePNGRepresentation(_image) forKey:@"picture"];
_shareToFbBtn.enabled = NO; //for not allowing multiple hits
[FBRequestConnection startWithGraphPath:@"me/photos"
parameters:params
HTTPMethod:@"POST"
completionHandler:^(FBRequestConnection *connection,
id result,