Skip to content

Instantly share code, notes, and snippets.

@KelvinHelmut
KelvinHelmut / chromecast_wallpaper.py
Created March 4, 2021 01:57
Wallpapers from Chromecast
#!/bin/python3
#
# Dependencies: hsetroot
import json
import re
import socket
import subprocess
import sys
import time
@KelvinHelmut
KelvinHelmut / automatic_backup.cron_task
Last active May 3, 2020 16:29
Automatic postgresql backup and sync in cloud mega with cron process
AGREGAR EN CRON TAB
15 02 * * * /home/admin/Scripts/pg_backup_sync_mega_cron.sh dbname /home/admin/BackupDB /Root/BackupDB
EN LA CARPETA DE USUARIO AGREGAR LOS ARCHIVOS CON CREDECIALES
POSTGRES (.pgpass)
localhost:5432:*:postgres:password
MEGA (.megarc)