Skip to content

Instantly share code, notes, and snippets.

View miseyu's full-sized avatar
🏠
Working from home

Yuji Mise miseyu

🏠
Working from home
  • self-employed
  • Japan Tokyo
View GitHub Profile

Keybase proof

I hereby claim:

  • I am miseyu on github.
  • I am miseyu2000 (https://keybase.io/miseyu2000) on keybase.
  • I have a public key ASC_Hr9dhcW41Y5ZrMgYSom88xCOPCi9BuwnP8Qp_vJP6go

To claim this, I am signing this object:

@miseyu
miseyu / @kube-ecr.md
Created September 27, 2017 03:05 — forked from kern/@kube-ecr.md

Kubernetes + AWS ECR = ❤️

Makefile and YAML templates for automating the use of AWS Elastic Container Registry with Kubernetes.

Based off of this awesome Redsaid blog post.

Requirements

  • Amazon ECR, along with your AWS account ID and the region your ECR is in
  • AWS CLI
@miseyu
miseyu / app.ts
Created March 16, 2016 06:44 — forked from tbassetto/app.ts
Angular2 + Material Design Lite
import {bootstrap, Component, Inject, ElementRef, onInit} from 'angular2/angular2';
@Component({
selector: 'my-app',
template: `
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<!-- Title -->
<span class="mdl-layout-title">Title</span>
@miseyu
miseyu / gist:11074048
Created April 19, 2014 04:22
ssl csr作成手順
openssl genrsa -out api.wizpra.com.key 2048
openssl req -new -key api.wizpra.com.key -out api.wizpra.com.csr
#!/usr/bin/env bash
rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
pod update
@miseyu
miseyu / 20131121045430_devise_create_table.rb
Created November 21, 2013 11:14
RailsにDynamoDBのmigration機能を追加してみる ref: http://qiita.com/miseyu/items/6fbc3559a720f25c95d1
class CreateDynamoDbTable < ActiveRecord::Migration
def up
unless exists? 'table_name'
table = dynamo_db.tables.create('table_name',
1, 1, :hash_key => { :significant_id => :number })
while table.status == :creating
puts "Waiting for table create to complete.."
sleep 2
end
end
@miseyu
miseyu / file0.txt
Last active December 28, 2015 05:09
AngularJSで$http.deleteがうまく動かない場合の対処方法 ref: http://qiita.com/miseyu/items/6167efe1c7c4e414e6cf
$http
method: 'DELETE'
url: '/hogehoge'
headers: 'Content-Type':'application/json; charset=UTF-8'