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
def strfloat(f): | |
return str(round(f, 3)) | |
f = open('path.txt', 'r') | |
path=f.read().split(' ') | |
f.close() | |
i = 0 | |
x, y = 0, 0 | |
while i < len(path): | |
if path[i] not in ['M', 'L', 'A', 'Q', 'Z']: |
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/sh | |
xhost +SI:localuser:lightdm | |
sudo -u lightdm gsettings set com.canonical.unity-greeter draw-grid false | |
sudo -u lightdm gsettings set com.canonical.unity-greeter draw-user-backgrounds false | |
sudo -u lightdm gsettings set com.canonical.unity-greeter background $1 |
OlderNewer