This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<cnchi> | |
<editions> | |
<edition name="common" description="Packages common to all DE and base"> | |
<packages> | |
<pkgname>acpid</pkgname> | |
<pkgname>alsa-utils</pkgname> | |
<pkgname>antergos-keyring</pkgname> | |
<pkgname>antergos-mirrorlist</pkgname> | |
<pkgname>antergos-midnight-timers</pkgname> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import requests | |
#jsonrpclib-pelix | |
from jsonrpclib import jsonrpc | |
username = '' | |
password = '' | |
# site address | |
host = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install this under /lib/systemd/system | |
# systemctl enable data-media.mount | |
# systemctl start data-media.mount | |
[Unit] | |
Description=Google Drive (overlay) | |
After=rclonecrypt.service | |
[Mount] | |
What=overlay | |
Where=/data/media |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir /opt/code/ && cd /opt/code | |
git pull https://github.com/dweidenfeld/plexdrive.git | |
GOPATH=/opt/code/plexdrive/ && export GOPATH | |
go get -v | |
docker run --rm -e GOOS=linux -e GOARCH=amd64 -v $PWD:/usr/src/plexdrive/ -v $PWD/src:/go/src/ -w /usr/src/plexdrive/ golang:1.8 go build -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python3 | |
import logging, select, subprocess | |
LOG_FILE = "test.log" | |
logger = logging.getLogger(__name__) | |
logging.basicConfig(level=logging.INFO,filename=LOG_FILE,format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') | |
def logging_call(popenargs, **kwargs): | |
process = subprocess.Popen(popenargs, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) |