Skip to content

Instantly share code, notes, and snippets.

View Vaidic's full-sized avatar
💥

Vaidic Joshi Vaidic

💥
View GitHub Profile
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "[email protected]",
"phone": "(123) 456-7890",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
@Vaidic
Vaidic / keybase.md
Created August 7, 2021 18:03
Keybase proof

Keybase proof

I hereby claim:

  • I am vaidic on github.
  • I am vaidicjoshi (https://keybase.io/vaidicjoshi) on keybase.
  • I have a public key ASDX4ssNxsOh_RKhVRYMZrjR5LThSmsFc_7MZqWBOU3mTAo

To claim this, I am signing this object:

def configure_kaggle():
# reinstall kaggle cli to get latest version
! pip uninstall kaggle -y && pip install kaggle
# copy kaggle.json from drive to env
from google.colab import drive
drive.mount('/gdrive')
! mkdir /root/.kaggle/
! cp /gdrive/MyDrive/kaggle/kaggle.json /root/.kaggle/kaggle.json
def download_dataset_from_kaggle(dataset):
!pip uninstall kaggle -y && pip install kaggle
import json
import zipfile
import os
api_token = {"username":"USERNAME","key":"KEY"}
!mkdir /root/.kaggle
with open('/root/.kaggle/kaggle.json', 'w') as file:
json.dump(api_token, file)
!chmod 600 /root/.kaggle/kaggle.json
@Vaidic
Vaidic / NGO Books for Audit.md
Created May 20, 2017 08:12
NGO Books/Documents needed for Audit
## Cash Payment/Receipt Vouchers & Book
## Bank Payment/Receipt Vouchers & Book
## Summary/Daily Petty Cash Book
## Journal Vouchers and Journal
## General Ledger
## Fixed Assets Register
## Contract/Registration Documents
## Attendance Register
## Budget Copies of various grants
## Utilization Certificates
@Vaidic
Vaidic / Bayesian - Dutch book
Created April 22, 2017 13:40
Probability - Bayesian System - Dutch book
Suppose your friend offers a pair of bets:
(i) if it rains or is overcast tomorrow, you pay him $4, otherwise he pays you $6;
(ii) if it is sunny you pay him $5, otherwise he pays you $5.
> Suppose rain, overcast, and sunny are the only events in consideration.
In this problem, form my friend's understanding in order to make bets fair, he must have calculated th following :
=> For bet (i) to be fair, his probability that it rains or is overcast must be .6 (you can verify this by calculating his expected return and setting it equal to $0).
=> For bet (ii) to be fair, his probability that it will be sunny must be .5.
=> the probability it will rain tomorrow is 0.3, the probability it is overcast but doesn’t rain is 0.3, -- from bet #1
=> it is sunny without rain is 0.5, -- from bet #2
@Vaidic
Vaidic / metatags.md
Created December 7, 2016 10:32
Some useful meta tags
<title>Unique Relevant Keyword Rich Page Title</title>
<meta name="language" content="en-us" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="An accurate keyword rich description of this page" />
<meta name="keywords" content="All keyword phrases,associated with this page,listed in order of preference,separated by commas" />
<meta name="classification" content="products, product classifications, company classification, company type, industry" />
<meta name="distribution" content="Global" />
<meta name="rating" content="General" />
<meta name="google-site-verification" content="iHDTV_fkU7lMOOmooEH88r-US72aUPfWYLwqgssuR8VE" />
<meta name="robots" content="index, follow" />
@Vaidic
Vaidic / meta-tags.md
Created November 25, 2016 18:07 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@Vaidic
Vaidic / keybase.md
Last active October 15, 2016 19:46

Keybase proof

I hereby claim:

  • I am vaidic on github.
  • I am vaidic (https://keybase.io/vaidic) on keybase.
  • I have a public key whose fingerprint is B1F1 FEE5 9CB8 5A3C 3A99 02E6 46FB EDB7 961E 809B

To claim this, I am signing this object: