Skip to content

Instantly share code, notes, and snippets.

@ksasao
ksasao / detect_marker.py
Last active December 10, 2023 02:38
ZOZOSUITのマーカーのIDを読み取るコードです。公開されている画像を元に独自に解析しているので、公式ではこのように処理しているかどうかは不明です。仕様等については https://twitter.com/ksasao/status/990779583682170881 のスレッドも参照してください。全身を読み取るコード https://twitter.com/ksasao/status/989842844243279872 ライセンスは Apache License 2.0 です。
import numpy as np
import random
import math
import cv2
from PIL import Image
import sys
def detect_markers(im):
markers = []
# 輪郭線抽出のための二値化
@tcnksm
tcnksm / talk.md
Last active December 8, 2018 04:55
Stackdriver Profiler at Mercari
@yusuke
yusuke / Android Studio30分集中超絶技巧100選メモ DroidKaigi 2018 #DroidKaigi #DroidKaigi_room3
Created February 9, 2018 02:10
Android Studio30分集中超絶技巧100選メモ DroidKaigi 2018 #DroidKaigi #DroidKaigi_room3
Android Studio30分集中超絶技巧100選 DroidKaigi 2018
山本 ユウスケ @yusuke
マウス、トラックパッドを使うのはやめましょう
今日は以下のキーマップの話です
Mac OSX: Mac OSX 10.5+
Windows/Linux: Default
他のキーマップだとQiitaやドキュメント、ブログなどを見る際に苦労します。
設定画面 Cmd + , (Ctrl + Alt + S)
プロジェクト設定画面 Cmd + ;
File > Power Save Modeでバッテリー節約
@lrlna
lrlna / vanc0uver-t1ps.md
Last active October 5, 2017 15:21
ira's suggestions on best things in vancouver

This information might be out of date, since last I lived in Vancouver was over a year ago, so maybe things have changed, and new places popped up. This is a list of my favs when I lived there :D I mostly lived in Vancouver-Vancouver and Downtown parts of town, so this information is based around that as well. There might be good places out in other parts of the city that you should definitely explore if you can!

Ramen:

  1. Ramen Jinya is amazing. Their Tonkotsu broth is nom nom nom, and they also do take out if you're stuck and don't want to wait in the queue (cause they have queues).
  2. Ramen Butcher. In Chinatown part of the city, which is an awesome place to explore and walk around to begin with, but also their Tonkotsu is 👌🏾 👌🏾.
  3. Ramen Koika. In the West End! Close to the Sea Wall, and on Davie street, which is an awesome place to walk around in general!!
  4. Ramen Gojiro. They have a different t
kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod
@pottava
pottava / prep-container-engine-for-prod.md
Last active August 26, 2020 09:37
本番環境のための GKE 構築 Tips

プロジェクト・ネットワーク・クラスタの構成

プロジェクト

  • GCP のすべてのリソースは プロジェクト の下に作成される
  • プロジェクトごとに請求や IAM の管理が可能
  • 本番やステージングといった複数環境のリソースを分離するためにもプロジェクトで分けよう
@leaysgur
leaysgur / Dockerfile
Last active April 6, 2017 02:56
Docker image for node 6.x latest and yarn and karma w/ headless chrome
# yarn included
FROM node:6
# for installing chrome
RUN apt-get update -qqy \
&& apt-get -qqy install \
apt-transport-https \
ca-certificates \
ttf-wqy-zenhei \
ttf-unfonts-core \

思いつつままに書いてみたが、自分でもなんかしっくりこないので、WIP。同期縛りだからReduxのReducerがダメ、という自分の主張のコアの部分に自信がない。それを差し置いて呼んでほしい。

(1) https://togetter.com/li/911228 (2) http://qiita.com/mizchi/items/8cf4e0c868f5c49ebcbf

redux

いろいろあって仕方なく覚えることにした。今度こそ好きになれるかと思って勉強したが、無理そうな気配を感じている。これで3度目ぐらいの挫折。挫折、というか理解はしたと思う。理解をした上で好きになれない。まだ真の理解に至ってないという可能性はあるが…

昔勉強した際の、生JSの癖に関数合成を多用して見づらい、というのは FlowやTypeScriptの表現力でカバーできるようになったことで、ある程度解決したと思う。というかボイラープレートを超えると、それらはさして問題ではなかった。そこから先。

@voluntas
voluntas / naze_erlang.rst
Last active October 31, 2023 03:33
なぜ Erlang/OTP を使い続けるのか
@albatrosary
albatrosary / angular-handson.md
Last active April 13, 2017 12:56
Angular Handson Geek Women Japan

Step.1: 簡易サーバ

Node.js 若しくは Python、 Ruby で簡易サーバが利用出来るように準備します

node:

$ npm install live-server -g
$ live-server

node: