pfuntner / fun Goto Github PK
View Code? Open in Web Editor NEWMessing around with Unix/Python/Bash, etc
Messing around with Unix/Python/Bash, etc
I saw that screentest
was slow as hell on Cygwin - I think this might be because the script does a lot of subprocess.Popen()
s creating new processes, especially to move the cursor to a new location. This can probably be simplified greatly by just figuring out the sequence that's printed to the terminal. Note:
$ tput cup 1 2 | od -ctx1
0000000 033 [ 2 ; 3 H
1b 5b 32 3b 33 48
0000006
It appears that the input to tput
is 0-based but the output is 1-based. That's easy enough to manage!
I tried the sceentest script on my Linux machine at home and it failed miserably. tput cup
does not work as advertised there - the cursor doesn't move anywhere! It stays exactly where it is and I can't figure out what's wrong. I searched on the internet a little and may look into trying out the curses library.
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.