Skip to content

Instantly share code, notes, and snippets.

View thesurajkamble's full-sized avatar
🕸️
Backtracking the edges that led me to Computer Science.

Suraj Kamble thesurajkamble

🕸️
Backtracking the edges that led me to Computer Science.
View GitHub Profile
@thesurajkamble
thesurajkamble / gist:d8889e8b77fef07e1f35ee8b4c63e631
Created February 25, 2023 10:02
Common Android Dependencies
// retrofit dependency
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.google.code.gson:gson:2.10.1'
implementation "com.squareup.retrofit2:converter-gson:2.9.0"
// coroutines
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
// lifecycle
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.5.1"
@thesurajkamble
thesurajkamble / Login_Signup.java
Last active March 21, 2020 12:42
Firebase Authentication Code Login and Signup.
// Firebase Authentication : login and signup code.
public class customer_login extends AppCompatActivity {
private EditText cust_email;
private EditText cust_pass;
private Button login_btn;
private Button signup_btn;
private FirebaseAuth mAuth;
'''
Note: Using Python 2 may result in unicode errors
'''
import sys
import requests
from bs4 import BeautifulSoup as bs
url = "https://www.dictionary.com/browse/"