Skip to content

Instantly share code, notes, and snippets.

View ayanctech's full-sized avatar
😄
Building Products!!!

Ayan Chowdhury ayanctech

😄
Building Products!!!
View GitHub Profile
@ayanctech
ayanctech / GoogleFormFill.py
Last active March 31, 2020 05:49
Steps to Execute the code #1 Replace name and email from the File with yours #2 Add a work.txt and PLEASE Strictly keep the format as mentioned in https://gist.github.com/GhAc-2017/f6c80832bce02c2c4ffed30a7b426b4a
import requests
from itertools import groupby
name = 'Ayan Chowdhury'
email = '[email protected]'
file = open("work.txt", "r")
lst = file.readlines()
file.close()
URL = "https://docs.google.com/forms/d/e/1FAIpQLSfvEXoydIjEYUVKqD2xn0d7Q-UgkkSSpYQ1rHBVJYpLqZGC5g/formResponse"
@ayanctech
ayanctech / work.txt
Last active March 31, 2020 05:47
make sure the date format is like this and no extra newline('\n') is entered and KEEP in mind to include 2 new lines mandatorily otherwise you will lose the last work from the list
03-20-2020
Full Day
12 hours
12pm to 10 pm
CoronaVirus Lockdown
did xyz
did abc
did abc
03-23-2020
@ayanctech
ayanctech / GoogleFormFill.py
Created March 31, 2020 05:43
Steps to Execute the code-
import requests
from itertools import groupby
name = 'Ayan Chowdhury'
email = '[email protected]'
file = open("work2.txt", "r")
lst = file.readlines()
file.close()
URL = "https://docs.google.com/forms/d/e/1FAIpQLSfvEXoydIjEYUVKqD2xn0d7Q-UgkkSSpYQ1rHBVJYpLqZGC5g/formResponse"
@ayanctech
ayanctech / GoogleSignOutActivity.java
Created November 7, 2018 11:32 — forked from bam-e22/GoogleSignOutActivity.java
Firebase - Google SignOut : Auth.GoogleSignInApi.signOut(mGoogleApiClient)
public class GoogleSignOutActivity extends BaseActivityUtil {
private static final String TAG = GoogleSignInActivity.class.getSimpleName();
private FirebaseAuth mAuth;
private GoogleApiClient mGoogleApiClient;
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
@ayanctech
ayanctech / include_list_viewpager.xml
Created August 22, 2018 07:55 — forked from iPaulPro/include_list_viewpager.xml
CollapsingToolbarLayout with TabLayout
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2015 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software