-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
toand fix previs button for self-service
- Loading branch information
Showing
33 changed files
with
2,959 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
*.log | ||
*.bak | ||
*.eqc |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
cd /cave/sabi.js | ||
|
||
echo `node --version` | ||
|
||
./STOP | ||
forever cleanlogs | ||
forever start -l cave2-SSlog.log -o cave2-SSout.log -e cave2-SSerr.log server.js -f cave2_selfservice.json & | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
module load LavaVR/1.0.0 | ||
cd /home/okaluza/RockShelterArt | ||
xterm -geometry -0-0 -e LavaVR.sh | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
module load LavaVR/1.0.0 | ||
/cave/sabi.js/scripts/GL-highquality | ||
cd /cave/LavaVR/apps/videosynth | ||
xterm -geometry -0-0 -e playsynth.sh AustraliasGreatBarrierReef-BiodiversityandMarineLifeThreatened.mp4 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
module load omegalib/4.2.4 | ||
/cave/omegalib/install/omegalib/bin/mcsend 'oexit()' | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
/home/toand/git/projects/videocave/build/STOP_CAVE.sh | ||
|
||
[ "$(</run/user/1003/screens.lck)" = "cluster" ] && exit | ||
|
||
/cave/sabi.js/scripts/PlanarOn | ||
|
||
ssh n01 'python /cave/sabi.js/scripts/PlanarCavepy' | ||
python /cave/sabi.js/scripts/PlanarCavepy | ||
|
||
echo 'cluster' > /run/user/1003/screens.lck | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env python | ||
|
||
import sys,serial | ||
|
||
def sendCmd(cmd): | ||
cmd = str(cmd) | ||
port = "/dev/ttyS0" | ||
try: | ||
serialPort = serial.Serial(port) | ||
except serial.serialutil.SerialException: | ||
print("Unable to open serial port " + port) | ||
return -1 | ||
|
||
serialPort.baudrate = 19200 | ||
serialPort.timeout = 5 | ||
serialPort.write(cmd.encode()) | ||
serialPort.flush() | ||
|
||
response = "" | ||
recvd = "" | ||
while(recvd != '\r'): | ||
recvd = str(serialPort.read()) | ||
response += recvd | ||
print("planar: received " + response) | ||
serialPort.close() | ||
return response | ||
|
||
sendCmd("op A1 slot.recall(0)\r") |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env python | ||
|
||
import sys,serial | ||
|
||
def sendCmd(cmd): | ||
cmd = str(cmd) | ||
port = "/dev/ttyS0" | ||
try: | ||
serialPort = serial.Serial(port) | ||
except serial.serialutil.SerialException: | ||
print("Unable to open serial port " + port) | ||
return -1 | ||
|
||
serialPort.baudrate = 19200 | ||
serialPort.timeout = 5 | ||
serialPort.write(cmd.encode()) | ||
serialPort.flush() | ||
|
||
response = "" | ||
recvd = "" | ||
while(recvd != '\r'): | ||
recvd = str(serialPort.read()) | ||
response += recvd | ||
print("planar: received " + response) | ||
serialPort.close() | ||
return response | ||
|
||
sendCmd("op A1 slot.recall(2)\r") | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
python /cave/sabi.js/scripts/planarOff | ||
ssh n01 'python /cave/sabi.js/scripts/planarOff' | ||
|
||
rm /run/user/1003/screens.lck |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
[ -f /run/user/1003/screens.lck ] && exit | ||
|
||
echo 'on' > /run/user/1003/screens.lck | ||
|
||
python /cave/sabi.js/scripts/planarOn | ||
ssh n01 'python /cave/sabi.js/scripts/planarOn' | ||
|
||
sleep 20 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
python /cave/sabi.js/scripts/PlanarVRpy | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env python | ||
|
||
import sys,serial | ||
|
||
def sendCmd(cmd): | ||
cmd = str(cmd) | ||
port = "/dev/ttyS0" | ||
try: | ||
serialPort = serial.Serial(port) | ||
except serial.serialutil.SerialException: | ||
print("Unable to open serial port " + port) | ||
return -1 | ||
|
||
serialPort.baudrate = 19200 | ||
serialPort.timeout = 5 | ||
serialPort.write(cmd.encode()) | ||
serialPort.flush() | ||
|
||
response = "" | ||
recvd = "" | ||
while(recvd != '\r'): | ||
recvd = str(serialPort.read()) | ||
response += recvd | ||
print("planar: received " + response) | ||
serialPort.close() | ||
return response | ||
|
||
sendCmd("op A1 slot.recall(3)\r") | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
/cave/sabi.js/scripts/UnityElwoodSTOP | ||
sleep 1 | ||
cd /scratch/Unity/cluster_deployment/master/UnityCluster/uploads/f945393e0dea2ac96efaf02db90d96647c3aebdd9cc6722bd8569edd2ff8ead6/ | ||
./Elwood.x86_64 -server 20 tcp://*:5000 tcp://*:* -logFile server.txt -screen-fullscreen 0 & | ||
sleep 2 | ||
tentakel /cave/Unity/cluster_deployment/master/UnityCluster/uploads/f945393e0dea2ac96efaf02db90d96647c3aebdd9cc6722bd8569edd2ff8ead6/run_client.sh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
tentakel pkill -f Elwood | ||
pkill -f Elwood |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
tentakel /cave/share/centos/ssh_runX.sh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
tentakel killall X |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ping |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
VIDEO OUTPUT ROUTING: | ||
1 6 | ||
2 7 | ||
3 8 | ||
4 9 | ||
5 10 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
VIDEO OUTPUT ROUTING: | ||
1 1 | ||
2 2 | ||
3 3 | ||
4 4 | ||
5 5 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
. /usr/share/Modules/3.2.10/init/bash | ||
module load omegalib/13-c++11 | ||
/cave/sabi.js/scripts/GL-highperformance | ||
|
||
cd /home/toand/git/projects/gigapoint/apps/CAVE2 | ||
xterm -e orun -s run_LunarisIII.py |
Oops, something went wrong.