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
public class BaseSalonyApp extends Application { | |
private static Tweak<Boolean> canSkipSignUp = MixpanelAPI.booleanTweak("Can skip", false); | |
public void onCreate() { | |
super.onCreate | |
new MixpanelTracker(this); | |
} | |
public static boolean canSkipSignUp() { |
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 com.example.kotlin | |
import android.app.Dialog | |
import android.support.design.widget.BottomSheetBehavior | |
import android.support.design.widget.BottomSheetDialogFragment | |
import android.support.design.widget.CoordinatorLayout | |
import android.util.Log | |
import android.view.View | |
import android.widget.TextView | |
import com.example.drobysh.kotlinrxjava.R |
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
adb exec-out run-as com.package cat files/default.realm > Downloads/baza.realm |
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
apply plugin: "java" | |
apply plugin: "eclipse" | |
apply plugin: "maven" | |
apply plugin: "findbugs" | |
apply plugin: "pmd" | |
def defaultEncoding = 'UTF-8' | |
[compileJava, compileTestJava]*.options*.encoding = defaultEncoding | |
sourceCompatibility = 1.7 |
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
[alias] | |
co = checkout | |
b = branch | |
st = status | |
lg = log --oneline --graph --decorate | |
l = !git --no-pager log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -30 | |
ll = !git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
la = !git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all | |
rb = rebase | |
rba = rebase --abort |