Skip to content

Instantly share code, notes, and snippets.

Ben Oberkfell benoberkfell

  • St. Louis, MO
Block or report user

Report or block benoberkfell

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
rharter / InjectableActivityTestRule.kt
Last active Mar 22, 2019
Test Rule that allows you to use Dagger Android's automatic lifecycle based injection without making your Application class `open`, or overriding it in tests.
View InjectableActivityTestRule.kt
package com.pixite.pigment.testing
import android.content.Context
import android.content.Intent
import android.os.Bundle
mikeseif / AddDeviceArt
Created Sep 19, 2016
Example ffmpeg commands to: inset video into padding, overlay the device art frame (transparent png). In this example, the source screen recordings are from a Nexus 6P at 1440x2560, and the device art is 1564x3258. The x and y values are the coordinates that the actual screen content should originate from in the device art.
View AddDeviceArt
ffmpeg -i InputVideo.mp4 -vf "pad=width=1565:height=3258:x=59:y=329:color=white" padded_OutputVideo.mp4
ffmpeg -i padded_OutputVideo.mp4 -i Nexus6P_full.png -filter_complex "overlay=x=0:y=0" OverlayVideo.mp4
You can’t perform that action at this time.