This file contains hidden or 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/bash | |
if [ -z "$1" ];then | |
echo "Lack of parameters. Use: $0 [path_to_repo]" | |
echo "run from dir _changes_BRANCH1_not_BRANCH2" | |
exit | |
fi | |
PTH="$1" | |
WORKD=$(pwd) | |
REMOTE="$2" | |
temp_branch1="${WORKD%_not_*}" |
This file contains hidden or 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 rx.android.samples; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.os.HandlerThread; | |
import android.os.Looper; | |
import android.util.Log; | |
import android.view.View; | |
import java.util.concurrent.TimeUnit; | |
import rx.Observable; |
This file contains hidden or 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 | |
SIZE_SYSTEM=1024 | |
START_SYSTEM=81937 | |
END_SYSTEM=`echo $START_SYSTEM+$SIZE_SYSTEM*1024 | bc` | |
END_CACHE=`echo $END_SYSTEM+512*1024 | bc` | |
echo SIZE_SYSTEM $SIZE_SYSTEM | |
echo START_SYSTEM $START_SYSTEM | |
echo END_SYSTEM $END_SYSTEM | |
echo END_CACHE $END_CACHE |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" android:layout_height="match_parent" | |
android:padding="16dp" | |
> | |
<android.support.v7.widget.CardView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:id="@+id/cv" |
This file contains hidden or 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
buildscript { | |
repositories { | |
// TODO(arthurthompson): mavenLocal() being used for preview but will be removed for release. | |
mavenLocal() | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:2.2.2' | |
classpath 'com.google.gms:google-services:3.0.0' | |
classpath "net.rdrei.android.buildtimetracker:gradle-plugin:0.8.0" |
This file contains hidden or 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
buildTypes { | |
debug { | |
applicationIdSuffix ".debug" | |
} | |
// ... | |
} |
This file contains hidden or 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
repositories { | |
maven {url "https://clojars.org/repo/"} | |
} | |
dependencies { | |
compile 'frankiesardo:icepick:{{latest-version}}' | |
provided 'frankiesardo:icepick-processor:{{latest-version}}' | |
} | |
//https://github.com/frankiesardo/icepick |
This file contains hidden or 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
in onCreate: setRetainInstance(true) |
This file contains hidden or 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
root level: | |
dependencies { | |
// other classpath definitions here | |
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' | |
} | |
app level: | |
// add after applying plugin: 'com.android.application' | |
apply plugin: 'com.neenbedankt.android-apt' | |
dependencies { |
This file contains hidden or 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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
OlderNewer