Skip to content

Instantly share code, notes, and snippets.

View iasonastr's full-sized avatar

Jason Tragakis iasonastr

View GitHub Profile
@iasonastr
iasonastr / README.md
Created December 2, 2023 08:38 — forked from dpaluy/README.md
Download view only protected PDF from Google Drive

Step by step guide to downloading protected PDF from Google Drive

  1. Open the document in Google Docs
  2. Scroll to the bottom of the document, so all the pages are present
  3. Open Developer Tools on separate window and choose the Console tab
  4. Paste the code
  5. Have fun!

A simple Docker and Docker Compose install script for Ubuntu

Usage

  1. sh install-docker.sh
  2. log out
  3. log back in

Links

@iasonastr
iasonastr / remove-all-from-docker.sh
Created October 2, 2019 05:34 — forked from beeman/remove-all-from-docker.sh
Remove all from Docker
# Stop all containers
docker stop `docker ps -qa`
# Remove all containers
docker rm `docker ps -qa`
# Remove all images
docker rmi -f `docker images -qa `
# Remove all volumes
@iasonastr
iasonastr / airflow-quick-start.sh
Created April 16, 2019 09:41 — forked from mmziyad/airflow-quick-start.sh
A really quick on-boarding for Apache airflow.
# install
mkdir ~/airflow
cd ~/airflow
pip install airflow
# Have a look here if you need additional packages: https://airflow.incubator.apache.org/installation.html
# setup mysql backend as given here. The default SQLite is not adequate for some workloads.
# http://site.clairvoyantsoft.com/installing-and-configuring-apache-airflow/
# start services
@iasonastr
iasonastr / README.md
Created October 2, 2018 20:48 — forked from hofmannsven/README.md
My simply Git Cheatsheet