Skip to content

Instantly share code, notes, and snippets.

hiroaki mori hmiorroi

Block or report user

Report or block hmiorroi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View UIImage+Picker.h
// 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)
View ia_exporter.js
// 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
var docName =,-3);
View CAShapeLayer+customShape.m
// CAShapeLayer+customShape.m
// Created by hmiorroi on 5/3/15.
// Copyright (c) 2015 hmiorroi. All rights reserved.
#import "CAShapeLayer+customShape.h"
hmiorroi / get_white-translucent_status_bar.html
Created Dec 1, 2013
Get a white-translucent status bar on a "Add to Home Screen" web application. Works on iOS 7.0.3.
View get_white-translucent_status_bar.html
<!DOCTYPE html>
<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)){
View kerning_study.js
(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);
var _w = _s.width();
return (_w >= _fs*2)
You can’t perform that action at this time.