Skip to content

Instantly share code, notes, and snippets.

Haruki Hasegawa h6ah4i

Block or report user

Report or block h6ah4i

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@h6ah4i
h6ah4i / AddressSplitter.rb
Last active Nov 22, 2018 — forked from YSRKEN/AddressSplitter.rb
住所を上手く検出・分割するライブラリ。MITライセンス。https://qiita.com/ysrken/items/5371e67950425ace6a73
View AddressSplitter.rb
require 'unf'
require "sqlite3"
class AddressSplitter
# コンストラクタ
def initialize
# DBを読み込む
@db = SQLite3::Database.new 'zenkoku.sqlite3'
# その他初期化
@pref_list = []
@h6ah4i
h6ah4i / libvips-installer.sh
Last active Aug 29, 2018 — forked from h2non/libvips-installer.sh
libvips 8.5.6 cross-platform simple installer script (supports ~~OSX, Debian, Ubuntu, CentOS, Fedora,~~ Amazon Linux)
View libvips-installer.sh
#!/bin/sh
#
# Orinally made by Lovell Fuller for sharp
# https://github.com/lovell/sharp
#
# Ensures libvips is installed and attempts to install it if not
# Currently supports:
# * Mac OS
View WorkaroundTextInputLayout.java
package com.comolib.client.utils.workaround;
import android.content.Context;
import android.graphics.Color;
import android.support.design.widget.TextInputLayout;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
View TestMediaPlayerWithSeekbar.java
package com.h6ah4i.android.mediaplayertest;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Handler;
import android.support.v7.app.ActionBarActivity;
import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
View ListView - Drag and Drop.java
package com.h6ah4i.android.example.dragdrop;
import android.app.Activity;
import android.graphics.Canvas;
import android.graphics.Point;
import android.os.Bundle;
import android.view.DragEvent;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
View Nexus 5 captured video -> 1920x1080
ffmpeg -i input.mp4 -qscale:v 0 -vf scale=657:1080,pad="1920:1080:632:0:black" output.mp4
You can’t perform that action at this time.