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/env python | |
import os, sys, datetime | |
import argparse | |
rsync='''rsync -avpPW %s --no-compress --inplace --delete --stats --exclude '#*' --exclude 'mirror.log' -e 'ssh -T -c aes128-gcm@openssh.com -o Compression=no -x -p %s' %s/ %s/ ''' | |
# fbbackup01.myds.me | |
parser = argparse.ArgumentParser(description='Backup folders to backup nas') | |
parser.add_argument('source', help='a source path to copy files from.') |
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
#!/bin/bash | |
# | |
# By Zibri (2019) | |
# | |
# Usage: gitclean username password giturl | |
# | |
gitclean () | |
{ | |
odir=$PWD; | |
if [ "$#" -ne 3 ]; then |
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
import os, sys | |
import psutil | |
import time | |
vr=[ | |
'vrserver.exe', | |
'vrcompositor.exe', | |
# 'steamvr.exe', | |
# 'vrmonitor', | |
# 'vrdash', |
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
#!/bin/bash | |
# to speed up the execution by not having to probe the network for the upnp server | |
# or if you have more than one upnp server in your network, | |
# use upnp_url var to specify the url of your upnp server. | |
# to find all the upnp servers urls, you can run: | |
# upnpc -l | grep 'InternetGatewayDevice' -B 1 | grep 'desc:' | |
#upnp_url="http://192.168.10.1:6352/rootDesc.xml" |
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
#!/bin/bash | |
if [ ! -e env/bin/ue4-docker ] ; then | |
python3 -m venv env | |
source env/bin/activate | |
pip3 install ue4-docker | |
deactivate |
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 struct, socket, sys | |
# network block device server, substitute for nbd-server. Probably slower. | |
# But it works! And it's probably a lot easier to improve the | |
# performance of this Python version than of the C version. This | |
# Python version is 14% of the size and perhaps 20% of the features of | |
# the C version. Hmm, that's not so great after all... | |
# Working: | |
# - nbd protocol | |
# - read/write serving up files |
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
[Unit] | |
Description=sshuttle service a permanent tunnel | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/sshuttle -r <user@address:port> --no-latency-control --disable-ipv6 -H --dns -v 192.168.0.0/24 | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
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
Sending build context to Docker daemon 6.144kB | |
Step 1/10 : FROM walberla/buildenv-ubuntu-basic:16.04 | |
---> 6538453ed055 | |
Step 2/10 : MAINTAINER hradec <hradec@hradec.com> | |
---> Using cache | |
---> f05f121ecfaf | |
Step 3/10 : ARG GCC_VERSION=4.9 | |
---> Using cache | |
---> e410591d124c | |
Step 4/10 : RUN apt-get update |
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
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ VK_LOADER_DEBUG=all ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh | |
+++ dirname /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh | |
++ cd /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/.. |
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
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ | |
rhradec@server.local ~/.local/share/Steam/steamapps/common/SteamVR $ VK_LOADER_DEBUG=all ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh ~/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh | |
+++ dirname /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh | |
++ cd /atomo/home/rhradec/.local/share/Steam/steamapps/common/SteamVR/bin/.. |