Skip to content

Instantly share code, notes, and snippets.

View vinaygaba's full-sized avatar
🚀

Vinay Gaba vinaygaba

🚀
View GitHub Profile
@vinaygaba
vinaygaba / .gitconfig
Last active July 21, 2016 12:16
My gitconfig file to set up git aliases. Makes you so much more productive.
[user]
name = vinaygaba
email = vinaygaba@gmail.com
[alias]
a = add
b = branch
c = commit
cm = commit --message
co = checkout
cpc = cherry-pick

Keybase proof

I hereby claim:

  • I am vinaygaba on github.
  • I am vinaygaba (https://keybase.io/vinaygaba) on keybase.
  • I have a public key whose fingerprint is D968 367F 2C66 DA41 33E0 B0E7 04E8 402B FEC1 0B9D

To claim this, I am signing this object:

<html>
<body>
<h2>Privacy Policy</h2>
<p>Vinay Gaba built the Logo Quiz Ultimate - Pro app as a ad-supported app. This SERVICE is provided by Vinay Gaba at no cost and is intended
for use as is.</p>
<p>This page is used to inform website visitors regarding my policies with the collection, use, and
disclosure of Personal Information if anyone decided to use my Service.</p>
<p>If you choose to use my Service, then you agree to the collection and use of information in
relation with this policy. The Personal Information that I collect are used for providing and
improving the Service. I will not use or share your information with anyone except as described
@vinaygaba
vinaygaba / build.gradle
Last active April 25, 2019 03:23
Android Starter Dependency Setup
ext.versions = [
'kotlin': '1.3.20',
'dagger': '2.22.1',
'retrofit': '2.5.0',
'rxjava': '2.0.2',
'rxandroid': '2.1.1',
'lifecycle': '2.0.0',
'supportLibrary': '1.1.0-alpha04',
'constraintLayout' : '1.1.2',
'junit' : '4.12',
@vinaygaba
vinaygaba / trace.txt
Last active April 7, 2019 19:41
Stack trace for dagger-androidx(jettifier) issue
// https://issuetracker.google.com/issues/115738511
org.gradle.execution.MultipleBuildFailures: Build completed with 1 failures.
at org.gradle.initialization.DefaultGradleLauncher$ExecuteTasks.run(DefaultGradleLauncher.java:358)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.initialization.DefaultGradleLauncher.runTasks(DefaultGradleLauncher.java:219)
@vinaygaba
vinaygaba / build.gradle
Created December 21, 2020 20:09
Showkase build.gradle
implementation "com.airbnb.android:showkase:1.0.0-alpha04"
kapt "com.airbnb.android:showkase-processor:1.0.0-alpha04"
@vinaygaba
vinaygaba / ShowkaseComposable.kt
Last active December 21, 2020 20:15
Usage of @ShowkaseComposable
@ShowkaseComposable(
name = "Custom name for component", 
group = "Custom group name"
@Composable 
fun MyComponent() { … }
@vinaygaba
vinaygaba / ShowkasePreview.kt
Created December 21, 2020 20:14
Showkase usage with @Preview
@Preview(
name = "Custom name for component", 
group = "Custom group name"
@Composable 
fun MyComponent() { … }
@vinaygaba
vinaygaba / ShowkaseColor.kt
Created December 21, 2020 20:16
Usage of @ShowkaseColor
@ShowkaseColor(
name = "Primary Color",
group = "Material Design"
val primaryColor = Color(0xFF6200EE)
@vinaygaba
vinaygaba / ShowkaseTypography.kt
Last active December 21, 2020 20:17
Usage of @ShowkaseTypography
@ShowkaseTypography(
name = "Custom name for text style", 
group = "Custom group name"
val h1 = TextStyle(fontWeight = FontWeight.Light, fontSize = 96.sp)