errorundefined / getspace Goto Github PK
View Code? Open in Web Editor NEWAPOD wallpaper command line client written in Python (it even put's info text on the picture)
License: MIT License
APOD wallpaper command line client written in Python (it even put's info text on the picture)
License: MIT License
OSX: Make script create the .plist file on first run
com.apple.desktop.admin.png
thing (or, current incarnation thereof) to workos.path.expanduser('~')
vs.
os.getenv('HOME')
(currently used)
vs. others? which is best (cross platform)?
unicode letters resulting in error
File "getspace.py", line 210, in <module>
getspace.notify("Boldly go where only aliens have gone before", title.replace("'", ""), "Background image has been set.", "success")
File "/path/to/getspace_osx.py", line 15, in notify
""".format(text, title, subtitle, sound))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 30: ordinal not in range(128)
the draft #7 is there – though it has some bugs. needs testing and enhancements!
add optional parameters, not just yes/no, to be implemented here:
getspace/lib/pyquestion/pyquestion.py
Line 15 in efafc94
and here:
Line 3 in efafc94
Consent needed for copy to clipboard, too – especially when using the script in any automated fashion.
to prepare for multi desktop envs on linux
implement a feature to cope with the occasional APOD video link – either copy to clipboard or open in browser
Upscaling is done according to screen resolution, which is halved on retina compared to actual pixel count. As a result, text and image is not upscaled to full resolution on these devices
Sometimes the explanation variable received via JSON will contain 'Explore the Universe: Random APOD Generator' at the end (this being an error on APOD's part).
Add simple string replacement to fix that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.