Skip to content

Instantly share code, notes, and snippets.

View anoopkcn's full-sized avatar
🐳

Anoop K. Chandran anoopkcn

🐳
  • Forschungszentrum Jülich GmbH
  • Aachen, Germany
View GitHub Profile
@anoopkcn
anoopkcn / google_drive_to_machine.md
Created March 5, 2024 10:27
Downloading google drive data

Get the file ID:

  1. Go to your Google Drive in your browser.
  2. Right-click (or control-click) the file you want to download and click “Get shareable link”. The link looks like this: https://drive.google.com/open?id=XXXXX. Make note of the file ID “XXXXX”; you will be needing it below.

Get an OAuth token:

  1. Go to OAuth 2.0 Playground
  2. In the “Select the Scope” box, scroll down, expand “Drive API v3”, and select https://www.googleapis.com/auth/drive.readonly
  3. Click “Authorize APIs” and then “Exchange authorization code for tokens”. Copy the “Access token”; you will be needing it below.
@anoopkcn
anoopkcn / tricks_and_tips_of_ml_trade.ipynb
Created November 17, 2021 13:09
usefull tips for machine learning workflows
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anoopkcn
anoopkcn / tmux_local_install.sh
Created October 20, 2018 10:03 — forked from ryin/tmux_local_install.sh
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.8