Skip to content

Instantly share code, notes, and snippets.

View vdloo's full-sized avatar

Rick van de Loo vdloo

  • Amsterdam, the Netherlands
  • X @vdloo_
View GitHub Profile
@hn-support
hn-support / change_magento1_base_urls_to_https.py
Last active March 29, 2021 09:59
Change all base_urls of your Magento 1 live shop to https on hypernode
#!/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.
@JPvRiel
JPvRiel / apt_pinning_priorities.md
Last active April 22, 2024 19:42
Apt package pinning and priorities
@vmassuchetto
vmassuchetto / youtube-dl-cron.sh
Last active September 26, 2023 12:21
Shell script cron job to download YouTube videos from your subscription feed
#!/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