References:
From man page: man apt_preferences
#!/usr/bin/env python | |
""" | |
Set the base-urls for your Magento 1 installation to support only https. | |
To use, download the file and make it executable. Then run: | |
./change_magento1_base_urls_to_https.py | |
After use, check your base-urls by issuing: | |
n98-magerun sys:store:config:base-url:list | |
This script requires n98-magerun. |
References:
From man page: man apt_preferences
#!/bin/bash | |
# | |
# Script to keep downloading YouTube videos to your computer using youtube-dl: | |
# http://rg3.github.io/youtube-dl/ | |
# | |
# Put it to work: | |
# | |
# sudo wget "https://gist.github.com/vmassuchetto/10338703/raw" -O /etc/cron.hourly/youtube-dl-cron.sh | |
# sudo chmod +x /etc/cron.hourly/youtube-dl-cron.sh |