Download and install binary here: https://github.com/rg3/youtube-dl
youtube-dl.exe -f "best[ext=mp4]" --no-check-certificate <VIDEO URL>
youtube-dl.exe -f "worstvideo[ext=mp4]" --no-check-certificate
| #!/bin/bash | |
| # Description: Easily get or set secrets to or from the Google Cloud to your local repo for Docker dev. | |
| # Dependencies: kubectl (logged in with permissions to access kubernetes), jq | |
| # Installation: To install, just move into /usr/local/bin/ and make sure it has execute permissions | |
| set -e # halt on errors | |
| # Set script vars |
| find . -type f -print0 | xargs -0 dos2unix |
| #!/bin/bash | |
| # Bash Shell Script Cross-platform Generate Random String Easily With Pre-Installed System Tools | |
| MD5_BIN="md5sum" # default for windows git bash and linux | |
| COMMAND_OUTPUT=$(command -v md5sum) | |
| if [ ${#COMMAND_OUTPUT} -lt 1 ]; then | |
| MD5_BIN="md5" # OSX | |
| fi |
| # NodeJS v6 official image | |
| FROM node:boron | |
| EXPOSE 8080 | |
| EXPOSE 9229 | |
| WORKDIR /opt/app | |
| RUN npm install -g node-sass grunt grunt-cli grunt-sass |
| [Install] | |
| WantedBy=multi-user.target | |
| [Unit] | |
| Description=Google Cloud Compute Engine SQL Proxy | |
| Requires=network.target | |
| After=network.target | |
| [Service] | |
| Type=simple |
| # | |
| # Download a great Gnu Screen config straight to your current user's environment | |
| # | |
| # Just paste that in wherever env you're at and run `screen` and you'll have a good configuration with a status bar, | |
| # tabs, no warning screen, beeps/bells/alerts, and more. | |
| # | |
| # Screen Config (.screenrc) located here: | |
| # Gist: https://gist.github.com/dantheman213/8df6fabb1bc6fc192c9e | |
| # Raw: https://gist.githubusercontent.com/dantheman213/8df6fabb1bc6fc192c9e/raw/bfd65a3695974b94223849c516b5b58828932613/Great%2520GNU%2520Screen%2520config |
Download and install binary here: https://github.com/rg3/youtube-dl
youtube-dl.exe -f "best[ext=mp4]" --no-check-certificate <VIDEO URL>
youtube-dl.exe -f "worstvideo[ext=mp4]" --no-check-certificate
| while read fileLine; do echo "Exporting ${fileLine}...\n"; export ${fileLine}; done < secrets.env | |
| // EX: secrets.env | |
| // MY_VAR=123 | |
| // MY_API_KEY=ASDFKJDSFJL234545 |
| # Dockerfile for basic Go application example | |
| # | |
| # Assumptions | |
| # - There is a project dir | |
| # - Inside the project dir, there is the path src/main | |
| # - The project's *.go files are located in src/main | |
| # - The project's name is "myapp" | |
| FROM golang:1.11.0-stretch AS packager |