Skip to content

Instantly share code, notes, and snippets.

Avatar

Emin Yahyayev ewintory

View GitHub Profile
@ewintory
ewintory / gist:9e63de9c96e4cd097dbc
Created Aug 31, 2015
Gradle: packs the project
View gist:9e63de9c96e4cd097dbc
task copyApkForZip(type: Copy) {
from 'build/outputs/apk'
into '../apk'
include '**/app-release.apk'
}
task zipBackup(type: Zip) {
dependsOn "copyApkForZip"
from('../'){
exclude "**/build"
View bootstrap_data
{
"configuration": {
"navdrawer_extra_1_url": "http://extra1.com",
"navdrawer_extra_2_url": "http://extra2.com",
"navdrawer_extra_3_url": "http://extra3.com",
"navdrawer_extra_4_url": "http://extra4.com"
},
"tabs": [
{
"active": true,
@ewintory
ewintory / LeakSlackUploadService.java
Created Feb 16, 2016 — forked from pyricau/LeakSlackUploadService.java
Sending Leak Traces to a Slack Channel (and HipChat, see the comments)
View LeakSlackUploadService.java
import android.util.Log;
import com.squareup.leakcanary.AnalysisResult;
import com.squareup.leakcanary.DisplayLeakService;
import com.squareup.leakcanary.HeapDump;
import retrofit.RestAdapter;
import retrofit.RetrofitError;
import retrofit.http.Multipart;
import retrofit.http.POST;
import retrofit.http.Part;
import retrofit.mime.TypedFile;
View gist:9a5b8c3d860e6e193f03c5665b4a5f8e
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.