Skip to content

Instantly share code, notes, and snippets.

View honmaaax's full-sized avatar

Hitoshi Honma honmaaax

View GitHub Profile
export interface Coordinate {
contacts: { [key: string]: Contact };
}
export interface Contact {
birthday?: Date;
emails: string[];
firstName: string;
highScore: number;
lastName?: string;

Joupon

Development Environment

Servers

  • Server 1 Reverse proxy & Load balancing server
  • Server 2 Web server for production
  • Server 3 Web server for staging
  • Server 4 Primary DB server for production
@honmaaax
honmaaax / WebDevelopmentBestPractice1.md
Last active April 23, 2017 20:20
Web Development Best Practice #1

Web Development Best Practice #1

Compress all images

  • All image type (png, jpeg, git)
  • Resize (Max size possible to show)
  • Keep a certain quality (Not grubby-looking)
@honmaaax
honmaaax / js_dev.md
Created October 30, 2012 01:28
JavaScript開発環境

#JavaScript開発環境


##RequireJS

  • 概要 モジュール管理ライブラリ
  • 導入メリット 複数JSファイルの依存関係を管理しやすくなる
  • 関連サイト
  • 公式サイト - http://requirejs.org/
@honmaaax
honmaaax / ios6-timers.js
Created October 16, 2012 03:08 — forked from ronkorving/ios6-timers.js
iOS6 webkit timer bug workaround
(function (window) {
// This library re-implements setTimeout, setInterval, clearTimeout, clearInterval for iOS6.
// iOS6 suffers from a bug that kills timers that are created while a page is scrolling.
// This library fixes that problem by recreating timers after scrolling finishes (with interval correction).
// This code is free to use by anyone (MIT, blabla).
// Author: [email protected]
var timeouts = {};
var intervals = {};