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
# -*- coding: utf-8 -*- | |
# sudo apt install dnsutils | |
# pip install netifaces netaddr requests dnspython | |
# windows only pip install tzdata | |
# echo 'export PATH=$PATH:/home/alexander/.local/bin' >> ~/.bashrc | |
# */10 * * * * python /home/alexander/desec_dyndns.py >> /home/alexander/desec_dyndns.log | |
import subprocess | |
import requests | |
import time |
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
auth.np.ac.playstation.net | |
np.stun.playstation.net | |
ena.net.playstation.net | |
ps3.update.playstation.net | |
service.playstation.net | |
creepo.ww.hl.playstation.net | |
np.community.playstation.net | |
manuals.playstation.net | |
a01.cdn.update.playstation.org.edgesuite.net | |
a192.d.akamai.net |
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
#Wii U & 3DS | |
cbvc.cdn.nintendo.net | |
nus.c.shop.nintendowifi.net | |
nus.cdn.c.shop.nintendowifi.net | |
#Switch | |
sun.hac.lp1.d4c.nintendo.net | |
nus.cdn.c.shop.nintendowifi.net |
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 | |
# -*- coding: utf-8 -*- | |
# pip install screenutils | |
# pip install git+http://github.com/Christophe31/screenutils.git | |
import logging | |
from screenutils import list_screens, Screen | |
from subprocess import call |
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 | |
# -*- coding: utf-8 -*- | |
# pip install python-simplemail | |
import logging | |
import RPi.GPIO as GPIO | |
import os | |
import time | |
from simplemail import Email |
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
@ECHO OFF | |
SET _Quelle="D:\Games\foo" | |
SET _Ziel="C:\Anwendungen\foo" | |
REM Beim ersten Aufruf sollte das Ziel nicht exestieren. | |
IF EXIST %_Ziel% GOTO MoveBack | |
REM Quelle wird verschoben und anstelle ein Link gesetzt | |
XCOPY /E /H /I /K /O /Q /Y %_Quelle% %_Ziel% |