View AddressSplitter.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'unf' | |
require "sqlite3" | |
class AddressSplitter | |
# コンストラクタ | |
def initialize | |
# DBを読み込む | |
@db = SQLite3::Database.new 'zenkoku.sqlite3' | |
# その他初期化 | |
@pref_list = [] |
View libvips-installer.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i input.mp4 -qscale:v 0 -vf scale=657:1080,pad="1920:1080:632:0:black" output.mp4 |