2014/2/1
六本木ヒルズ森タワー 14F
  
    
      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 | |
| class RoundedCornersView: UIView { | |
| override func drawRect(rect: CGRect) { | |
| UIBezierPath(roundedRect: self.bounds, cornerRadius: CGRectGetHeight(self.bounds) / 2).addClip() | |
| UIImage(named: "rocket")?.drawInRect(self.bounds) | |
| } | |
| } | 
  
    
      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
    
  
  
    
  | pod 'Bolts', '~> 1.1' | 
  
    
      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
    
  
  
    
  | class func className() -> String { | |
| var className = NSStringFromClass(self) | |
| var range = className.rangeOfString(".") | |
| return className.substringFromIndex(range!.endIndex) | |
| } | 
  
    
      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
    
  
  
    
  | let someCGFloat: CGFloat = 0.25 | |
| var text = String(format: "%.01f", Float(someCGFloat)) | 
  
    
      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 "ACSViewController.h" | |
| #import <AWSCloudWatch/AWSCloudWatch.h> | |
| @interface ACSViewController () | |
| @end | |
| @implementation ACSViewController | |
| - (void)viewDidLoad | 
  
    
      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
    
  
  
    
  | /* --- My Customization: Image frame ---- */ | |
| #content .single-entry-content img { | |
| max-width:90%; | |
| padding: 10px; | |
| border: 1px solid silver; | |
| background-color: #efefef; | |
| } | |
| #content .entry-content img { | 
  
    
      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
    
  
  
    
  | #!/bin/sh | |
| printf "hello world\n" | 
NewerOlder