Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// | |
// AppDelegate.swift | |
// PhilipsHueSwift | |
// | |
// Created by matz on 2015/11/27. | |
// Copyright © 2015年 matz. All rights reserved. | |
// | |
import UIKit |
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
// | |
// PhotoShootViewController.swift | |
// JinsMemeDemo | |
// ブログ記事はこちら | |
// http://yuichi-dev.blogspot.com/2015/12/blink-sidelong-glance-shoot-by-glasses-jins-meme.html | |
// Created by matz on 2015/12/08. | |
// Copyright © 2015年 matz. All rights reserved. | |
// |
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
<script src="https://gist.github.com/manchan/0d8597b1ac131d1b1f16.js"></script> | |
<noscript><pre><code> | |
File: index.html | |
------------------------- | |
<!doctype html> | |
<html> |
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
<!doctype html> | |
<html> | |
<head> | |
<!-- AngularJS --> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.6/angular.min.js"></script> | |
<!-- Firebase --> | |
<script src="https://cdn.firebase.com/js/client/2.3.0/firebase.js"></script> | |
<!-- AngularFire --> | |
<script src="https://cdn.firebase.com/libs/angularfire/1.1.3/angularfire.min.js"></script> | |
<!-- Angular-file-upload --> |
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
{ | |
1444275582: { | |
url: "https://instagram.com/p/8j9S8_r_BE/", | |
img: "https://scontent.cdninstagram.com/hphotos-xap1/t51.2885-15/s640x640/sh0.08/e35/12120292_917670381655742_1569021259_n.jpg" | |
}, | |
1444545530: { | |
url: "https://instagram.com/p/8sALlWAfUJ/", | |
img: "https://scontent.cdninstagram.com/hphotos-xtp1/t51.2885-15/e15/12106290_1294775143882158_1454631624_n.jpg" | |
} | |
} |
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
// string = "Wed, 04 Nov 2015 15:02:11 +0000" | |
let identifier = NSLocale.currentLocale().localeIdentifier | |
if identifier == "ja_JP" { | |
let dateFormatter = NSDateFormatter() | |
// 書式が変わらない固定ロケールで一度値を取得 | |
dateFormatter.locale = NSLocale(localeIdentifier: "en_US_POSIX") | |
dateFormatter.dateFormat = "EEE, dd MMM yyyy HH:mm:ss ZZZZ" | |
let r_date = dateFormatter.dateFromString(string!) |
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
#生成 | |
apidoc -i fuel/app -f ".*\\.php$" -o public/apidoc/ | |
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
// | |
// ViewController.swift | |
// pickerTest | |
// | |
// Created by matz on 2015/08/13. | |
// Copyright (c) 2015年 matz. All rights reserved. | |
// | |
import UIKit |
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
self.navBgEffectView = UIVisualEffectView(effect: UIBlurEffect(style: UIBlurEffectStyle.ExtraLight)) | |
self.navBgEffectView!.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height / 2) | |
// effectView.layer.position = CGPointMake(mySegcon.bounds.midX, -(effectView.frame.midY + 20) ) | |
self.navBgEffectView!.alpha = 0.0 | |
self.navBgEffectView!.layer.masksToBounds = true | |
self.navBgImgView?.addSubview(self.navBgEffectView!) |
NewerOlder