Skip to content

Instantly share code, notes, and snippets.

View hideo54's full-sized avatar

Hideo Yasumoto hideo54

View GitHub Profile
北海道 Hokkaido 札幌市 Sapporo-shi https://www.city.sapporo.jp/
北海道 Hokkaido 函館市 Hakodate-shi https://www.city.hakodate.hokkaido.jp/
北海道 Hokkaido 小樽市 Otaru-shi https://www.city.otaru.lg.jp/
北海道 Hokkaido 旭川市 Asahikawa-shi https://www.city.asahikawa.hokkaido.jp/
北海道 Hokkaido 室蘭市 Muroran-shi https://www.city.muroran.lg.jp/
北海道 Hokkaido 釧路市 Kushiro-shi https://www.city.kushiro.lg.jp/
北海道 Hokkaido 帯広市 Obihiro-shi https://www.city.obihiro.hokkaido.jp/
北海道 Hokkaido 北見市 Kitami-shi https://www.city.kitami.lg.jp/
北海道 Hokkaido 夕張市 Yubari-shi https://www.city.yubari.lg.jp/
北海道 Hokkaido 岩見沢市 Iwamizawa-shi https://www.city.iwamizawa.hokkaido.jp/
@masarakki
masarakki / ex-dwango.md
Last active February 23, 2022 13:42
株式会社ドワンゴを退職しました

株式会社ドワンゴを退職しました

2011年3月15日に就職してから今日で8年と3ヶ月半・・・月にして99ヶ月・・・日数にして実に3033日 と・・・計算している間にも23秒が過ぎてしまったわけですが、株式会社ドワンゴを退職しました。 7月からはクックパッドで働きます。

ドワンゴでやってきたこと

@hakatashi
hakatashi / resume-en.md
Last active January 18, 2024 08:56
Resume of @hakatashi for my job hunting activity.
@kowalcj0
kowalcj0 / .bashrc
Last active July 30, 2023 10:09
Extract all subtitles from a movie using ffprobe & ffmpeg
alias subs=subs
function subs() {
movie="${1}"
filename="${1%.*}"
mappings=`ffprobe -loglevel error -select_streams s -show_entries stream=index:stream_tags=language -of csv=p=0 "${movie}"`
OLDIFS=$IFS
IFS=,
( while read idx lang
do
@kenmori
kenmori / styled-components-howtouse.md
Last active May 2, 2024 03:48
styled-componentsの使い方(パッとわかりやすく、色々なパターンを説明することを目指しています)

styled-componentsの使い方(パッとわかりやすく、色々なパターンを説明することを目指す記事)

styled-compoents

本家ドキュメント

こちらはStyled-componentsの使い方、ユースケースを集めた端的なページです。
なにかの問題解決、参考になりましたらスターを押してくださいませ。励みになります。
@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 = []
# 輪郭線抽出のための二値化
@Piasy
Piasy / install_ffmpeg.sh
Last active April 14, 2024 05:40
brew install ffmpeg with all options
brew options ffmpeg
brew install ffmpeg \
--with-chromaprint \
--with-fdk-aac \
--with-fontconfig \
--with-freetype \
--with-frei0r \
--with-game-music-emu \
--with-libass \
@shunirr
shunirr / criminal_jc.md
Last active February 26, 2024 05:51
女子中学生チケット詐欺事件

criminal_jc

@riocampos
riocampos / らじるらじるm3u8をffmpegで録音する(8放送局)201709以降対応.txt
Last active February 5, 2024 11:54
らじるらじる m3u8 を ffmpeg で録音する(8放送局)2021/4 以降対応
## NHKのネット配信サービスであるらじる★らじる。
# 従来は https://gist.github.com/riocampos/5656450 のように rtmpdump を使う必要がありましたが、
# 2017年9月から m3u8 による配信へ変更になったようです。m3u8 なので10秒単位での録音になります。
# また 2021年4月に更新され、以前の M3U8URL は2022年2月末で廃止されました。
## 録音コマンド(m4a)
ffmpeg -i M3U8URL -c copy outputfilename.m4a
# ファイルサイズ的に m4a が最も小さくなる
# m4a ファイルのときだけ "-c copy" オプションが使える。
@enkunkun
enkunkun / gist:725ab3b472fb932fd88ff3c2f17ad80b
Last active October 11, 2022 22:54
VLCでARIB字幕を見る