karina's files
parent
f0985510c5
commit
37837d6b4e
@ -0,0 +1 @@
|
|||||||
|
FLOPPYLEFT - 2017
|
@ -0,0 +1,7 @@
|
|||||||
|
Author: Slavoj Žižek
|
||||||
|
Date: 1989
|
||||||
|
Title: The Sublime Object of Floppy
|
||||||
|
|
||||||
|
Description:
|
||||||
|
|
||||||
|
And so on, and so on, and so on.
|
@ -0,0 +1,23 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
import cgi, os
|
||||||
|
import cgitb; cgitb.enable()
|
||||||
|
import subprocess
|
||||||
|
|
||||||
|
f = cgi.FieldStorage()
|
||||||
|
p = f.getvalue("p", "Bump.mp3")
|
||||||
|
p = os.path.join("voice", p)
|
||||||
|
out = subprocess.check_output(["mplayer", p], stderr=subprocess.STDOUT)
|
||||||
|
|
||||||
|
# print "Location: /pushingscore-Karina.html"
|
||||||
|
# print
|
||||||
|
|
||||||
|
print "Content-type:text/html; charset=utf-8"
|
||||||
|
print
|
||||||
|
print """<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;url=/pushingscore-Karina.html" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>"""
|
Binary file not shown.
@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
import os, random, time
|
||||||
|
|
||||||
|
while True:
|
||||||
|
freq = str(random.randint(0,10)*110)
|
||||||
|
print(freq)
|
||||||
|
os.system('echo "'+freq+';" | pdsend 3000')
|
||||||
|
time.sleep(0.25)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
GREAT JOB!
|
@ -0,0 +1,21 @@
|
|||||||
|
<form action="cgi-bin/play.cgi">
|
||||||
|
<input type="submit" name="p" value="BasicTurn.mp3" />
|
||||||
|
<input type="submit" name="p" value="Follow.mp3" />
|
||||||
|
<input type="submit" name="p" value="AmericanSpin.mp3" />
|
||||||
|
<input type="submit" name="p" value="Bump.mp3" />
|
||||||
|
<input type="submit" name="p" value="StopAndGo.mp3" />
|
||||||
|
<input type="submit" name="p" value="Windmill.mp3" />
|
||||||
|
<input type="submit" name="p" value="SpanishArms.mp3" />
|
||||||
|
<input type="submit" name="p" value="Hucklebuck.mp3" />
|
||||||
|
<input type="submit" name="p" value="TheWhip.mp3" />
|
||||||
|
<input type="submit" name="p" value="Whip.mp3" />
|
||||||
|
<input type="submit" name="p" value="ChickenWalks.mp3" />
|
||||||
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
|||||||
|
145.24.143.98
|
||||||
|
|
||||||
|
when changing network hardware...
|
||||||
|
|
||||||
|
rm
|
||||||
|
/etc/udev/rules/90*
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
python -m CGIHTTPServer
|
@ -0,0 +1,10 @@
|
|||||||
|
import subprocess
|
||||||
|
p = subprocess.Popen(["cvlc", "--loop", "0", "inthemood.mp3"], stdin=subprocess.PIPE)
|
||||||
|
|
||||||
|
from time import sleep
|
||||||
|
|
||||||
|
while True:
|
||||||
|
sleep(1)
|
||||||
|
p.stdin.write("+")
|
||||||
|
print ("FASTER")
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
import requests
|
||||||
|
|
||||||
|
r = requests.get("http://localhost:9000/requests/status.xml", params={'command': 'rate', 'val': '2.0'}, auth=('', 'foo'))
|
||||||
|
print r
|
@ -0,0 +1,8 @@
|
|||||||
|
cvlc inthemood.mp3 \
|
||||||
|
--loop 0 \
|
||||||
|
--key-faster f \
|
||||||
|
--control http \
|
||||||
|
--http-host localhost \
|
||||||
|
--http-port 9000 \
|
||||||
|
--http-password "foo"
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue