Skip to content

Instantly share code, notes, and snippets.

@mgedmin
mgedmin / github_mirror.py
Last active May 27, 2024 06:00
Mirror all my github repositories and gists
#!/usr/bin/env python3
# See http://stackoverflow.com/questions/3581031/backup-mirror-github-repositories/13917251#13917251
# You can find the latest version of this script at
# https://gist.github.com/4319265
import os
import sys
import json
import urllib.request
import subprocess
@anildigital
anildigital / gist:9d56233ef8561b7eb1fc
Last active May 23, 2017 21:35
Connecting to WiFi automatically with OSMC after reboot

Steps

    1. sudo vi /etc/connman.conf
    1. Make sure you have following
   [General]
   PreferredTechnologies=wifi,ethernet