Skip to content

Instantly share code, notes, and snippets.

View danielgallegovico's full-sized avatar
🖖
Multiverse explorer

Daniel Gallego Vico danielgallegovico

🖖
Multiverse explorer
View GitHub Profile
@adriangl
adriangl / Firebase-CLI-Profile-Utils
Created April 29, 2020 07:30
Firebase CLI utils to ease switching user accounts
Firebase-CLI-Profile-Utils
@adriangl
adriangl / pre-commit
Created November 23, 2016 13:28
Git pre-commit script for running Checkstyle in all Android-Studio based project files
#!/bin/sh
#Define paths where the checkstyle file is and where to check for style inconsistencies
CHECKSTYLE_PATH="checkstyle.xml"
CHECKSTYLE_FOLDERS_TO_CHECK="app/src/main/java app/src/androidTest/java app/src/test/java"
#Check if the 'checkstyle' command is installed
#Magic: http://stackoverflow.com/a/677212
command -v checkstyle >/dev/null 2>&1 || { echo >&2 "checkstyle is not installed, aborting.\nInstall it using brew or apt-get"; exit 1; }
#Run checkstyle over our files
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DaggerOverride {
Class<?> value();
@imartinez
imartinez / Bugsnag Error Widget for Dashing.md
Last active July 29, 2016 08:02
Bugsnag Error Widget for Dashing

#Bugsnag Error Widget for Dashing.io

Dashing Widget for displaying Bugsnag errors count. Supports any number of bugsnag projects and error configurations.

Preview

##Usage

To use this widget you have two options:

@imartinez
imartinez / Google Play Reviews Widget for Dashing.md
Last active February 28, 2017 09:02
Google Play Reviews Widget for Dashing
@imartinez
imartinez / Google Play Rating Widget for Dashing.md
Last active February 22, 2017 05:38
Google Play Rating Widget for Dashing
@pabloogc
pabloogc / Logcatpls
Last active January 6, 2019 06:38
Regex for Android Studio filter
^((?!ResourcesManager|InputEventReceiver|PopupWindow|MaliEGL|PhoneWindow|GraphicBuffer|.MALI..Gralloc.|InputMethodManager|libc-netbsd|NativeCrypto|OpenSSLLib|VelocityTracker|Posix|View|System.out|ADB_SERVICES|BatteryMeterView|BufferQueue|dalvikvm|ActivityThread|PowerManagerService|SurfaceFlinger|OpenGLRenderer|ANRManager|InputReader|PhoneInterfaceManagerEx|PowerManagerNotifier|KeyguardUpdateMonitor|WifiStateMachine|PowerManagerDisplayController|WifiHW|AppOps|StatusBar\.NetworkController|dingtao_Resolver|Provider.Settings|System.out|SignalClusterView|wpa_supplicant|SurfaceFlinger|Tethering|SIMHelper|wifi).)*$