This file contains hidden or 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
| /* i really want this to be global */ | |
| * { | |
| font-family: "XHei Ubuntu","Microsoft Yahei" !important; | |
| text-shadow: 0.05em 0.05em 0.2em #999999 !important; | |
| } | |
| pre, code, kbd, samp, var { | |
| font-family: "XHei Ubuntu Mono", "Microsoft Yahei", monospace !important; | |
| text-shadow: 0.05em 0.05em 0.2em #999999 !important; |
This file contains hidden or 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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or 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
| import UIKit | |
| import RealmSwift | |
| class DemoObject: Object { | |
| dynamic var title = "" | |
| dynamic var date = NSDate() | |
| } | |
| class Cell: UITableViewCell { | |
| override init(style: UITableViewCellStyle, reuseIdentifier: String!) { |