Skip to content

Instantly share code, notes, and snippets.

View mitsuruog's full-sized avatar
🏄‍♂️
Surfing

Mitsuru Ogawa mitsuruog

🏄‍♂️
Surfing
View GitHub Profile
@mitsuruog
mitsuruog / index.md
Last active June 11, 2026 16:37
express実践入門

express実践入門


自己紹介

小川充

  • mitsuruog
@mitsuruog
mitsuruog / memo.md
Last active October 5, 2021 05:37
ios-webkit-debug-proxyを動かすためのメモ
@mitsuruog
mitsuruog / Detail.fragments.coffee
Last active December 29, 2019 01:46
Fragments in SAPUI5
sap.ui.jsfragment "util.Detail",
createContent: (oController) ->
# ここに普通のJSViewのcreateContentと同様にUIコントロールを追加して
# 最後にreturnします。
@mitsuruog
mitsuruog / jsbin.rowib.coffee
Last active February 18, 2019 10:50
OpenUI5 Google map demo on JSBin. http://jsbin.com/rowib/1/edit
@dialog = new sap.m.Dialog
title: "Google Map"
content: [
new sap.ui.core.HTML
content: "<div id='mapConteiner'></div>"
]
#ダイアログ閉じる処理
beginButton: sap.m.Button
text: "close"
@mitsuruog
mitsuruog / bind.js
Last active April 6, 2018 01:11
multiple property databinding on SAPUI5
new sap.m.Text({
text: {
parts: [
{path: "Width"},
{path: "Depth"},
{path: "Height"},
{path: "DimUnit"}
],
formatter: function(width, depth, height, dimUnit){
return width + " x " + depth + " x " + height + " " + dimUnit;
@mitsuruog
mitsuruog / Angular2 HttpInterceptor Needed.md
Last active August 16, 2016 02:55
Angular2でHttpInterceptorが欲しいお

Angular2 HttpInterceptor Needed

Who am I

  • 小川充
    • @mitsuruog
    • Front-end Developer in Givery inc.
    • Angular User Group Staff.

HttpInterceptorとは

@mitsuruog
mitsuruog / wercker.yml
Created January 17, 2016 14:49
フロントエンドをwerckerでCIテストする最小構成
# This references the default nodejs container from
# the Docker Hub: https://registry.hub.docker.com/_/node/
# If you want Nodesource's container you would reference nodesource/node
# Read more about containers on our dev center
# http://devcenter.wercker.com/docs/containers/index.html
box: node:4.2.2
# This is the build pipeline. Pipelines are the core of wercker
# Read more about pipelines on our dev center
# http://devcenter.wercker.com/docs/pipelines/index.html
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to make opened Markdown files always be soft wrapped:
#
# path = require 'path'
#
@mitsuruog
mitsuruog / after3.0.3.js
Last active January 4, 2016 03:09
Bootstrap Modalにパラメータを渡す方法
//3.0.3以降
$myModal = $('#myModal').modal({}, {
person: 'mitsuruog'
});
$myModal.on('show.bs.modal', function(e) {
var name = e.relatedTarget.person;
}
@mitsuruog
mitsuruog / dragdrop.js
Last active January 1, 2016 11:09
RICOH THETAで撮影した360°画像をthree.jsで全天球処理したついでにFileAPIのDrag&Drop対応してみた
//イベント伝搬をキャンセル
function cancelEvent(e) {
e.preventDefault();
e.stopPropagation();
}
//ファイルがドロップされたら動くコード
function handllerDroppedFile(e) {
//