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> | |
<meta charset="utf-8" /> | |
<meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport" /> | |
<meta content="yes" name="apple-mobile-web-app-capable" /> | |
<meta content="white-translucent" id="status_bar" name="apple-mobile-web-app-status-bar-style" /> | |
<script type="text/javascript"> | |
if(!navigator.standalone && (/iphone|ipod|ipad/gi).test(navigator.platform) && (/Safari/i).test(navigator.appVersion)){ |
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
// | |
// CAShapeLayer+customShape.m | |
// | |
// | |
// Created by hmiorroi on 5/3/15. | |
// Copyright (c) 2015 hmiorroi. All rights reserved. | |
// | |
#import "CAShapeLayer+customShape.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
// | |
// UIImage+Picker.h | |
// | |
// Created by hiro on 02/18/2013. | |
// Copyright (c) 2013 sign g.k. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
@interface UIImage (Picker) |
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
// | |
// png export script for Adobe Illustrator | |
// | |
// Created by hmiorroi on 10/9/14 | |
// Modified by hmiorroi on 4/20/16 | |
#include "json2.js" | |
// reqire json2.js see http://www.JSON.org/js.html | |
var docName = app.activeDocument.name.slice(0,-3); |
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
(function($) { | |
$.fn.noYkKern = function(){ | |
var _fs = 20; | |
var _s = $('<span>').css({'font-size':_fs}).html(')。'); | |
var _b = $('<div>').css({'height':'0', 'overflow':'hidden'}).append(_s); | |
$(this).append(_b); | |
var _w = _s.width(); | |
_b.remove() | |
return (_w >= _fs*2) | |
} |