Record your screencasts as movie files (.mov) using quicktime.
- Install yasm http://yasm.tortall.net/Download.html
| public abstract class ButterKnifeViewHolder(val itemView : View) {} | |
| public fun <T : View> ButterKnifeViewHolder.bindView(id: Int): ReadOnlyProperty<Any, T> = ViewBinding(id) | |
| public fun <T : View> ButterKnifeViewHolder.bindOptionalView(id: Int): ReadOnlyProperty<Any, T?> = OptionalViewBinding(id) | |
| public fun <T : View> ButterKnifeViewHolder.bindViews(vararg ids: Int): ReadOnlyProperty<Any, List<T>> = ViewListBinding(ids) | |
| public fun <T : View> ButterKnifeViewHolder.bindOptionalViews(vararg ids: Int): ReadOnlyProperty<Any, List<T>> = OptionalViewListBinding(ids) |
| package co.uk.myapp.beachroidtest; | |
| import android.app.Fragment; | |
| import android.app.Instrumentation; | |
| import android.test.ActivityInstrumentationTestCase2; | |
| import android.test.TouchUtils; | |
| import android.test.ViewAsserts; | |
| import android.view.View; | |
| public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActivity> { |
| private static class ImmediateSchedulersRule implements TestRule { | |
| @Override | |
| public Statement apply(final Statement base, Description description) { | |
| return new Statement() { | |
| @Override | |
| public void evaluate() throws Throwable { | |
| RxJavaPlugins.setIoSchedulerHandler(scheduler -> | |
| Schedulers.trampoline()); | |
| RxJavaPlugins.setComputationSchedulerHandler(scheduler -> | |
| Schedulers.trampoline()); |
| #!/bin/bash | |
| # | |
| # Creates a signed and zipaligned APK from your Ionic project | |
| # | |
| # Place your keystore in the root of your project and name it <company>.keystore | |
| # Use this script as following : | |
| # $ ./release.sh [company] [version] | |
| # | |
| # Don't forget to gitignore your key and your compiled apks. | |
| # |
| apply plugin: 'com.android.application' | |
| apply plugin: 'kotlin-android' | |
| apply plugin: 'kotlin-android-extensions' | |
| android { | |
| compileSdkVersion 25 | |
| buildToolsVersion "25.0.2" | |
| defaultConfig { | |
| applicationId "com.example.kxt" | |
| minSdkVersion 15 |
| #!/usr/bin/env python3 -tt | |
| """ | |
| Module documentation. | |
| """ | |
| # Imports | |
| import sys | |
| #import os | |
| # Global variables |
| import java.util.Arrays; | |
| class NonCapturing { | |
| public static void main(String... args) { | |
| run(new Runnable() { | |
| @Override public void run() { | |
| System.out.println("Hey!"); | |
| } | |
| }); | |
| } |
Record your screencasts as movie files (.mov) using quicktime.