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 |
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; |
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; |
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; |
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 |
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 = [] |