Skip to content

Instantly share code, notes, and snippets.


Walter de Back wdeback

View GitHub Profile
vladalive /
Created May 16, 2019
Download Google Drive files from linux terminal via wget


  1. Add this code to your ~/.bash_aliases file.
function gdrive_download () {
  CONFIRM=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate "$1" -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')
  wget --load-cookies /tmp/cookies.txt "$CONFIRM&id=$1" -O $2
  rm -rf /tmp/cookies.txt
maxogden / bibtex.png
Last active Jun 18, 2022
How to make a scientific looking PDF from markdown (with bibliography)