This file contains hidden or 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
| # Run Tesseract OCR as a service | |
| # ---- | |
| # This example requires the Slicify VPN to support FTP | |
| # config | |
| export FTPSERVER=10.8.0.205 | |
| export FTPUSER=slicify | |
| export FTPPASSWORD=slicify | |
| # install tesseract - note that internet connectivity requires SOCKS |
This file contains hidden or 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
| # hadoop install | |
| # -------------- | |
| # This installs a hadoop "worker node" on Slicify, allowing you to create a hadoop grid | |
| # This example requires the Slicify VPN solution, and requires that your namenode is running on a separate server. | |
| # config | |
| export SERVERIP=10.8.0.200 | |
| export SERVERHOST=steve-ubu | |
| # set current date/time |
This file contains hidden or 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
| # web scraping with selenium | |
| # see blog for full code here: http://blog.slicify.com/2014/03/29/slicify-and-selenium-simple-scalable-web-scraping/ | |
| # install the packages | |
| sudo tsocks apt-get -y update | |
| sudo tsocks apt-get -y install firefox xvfb | |
| # install this if you need to compile the example locally (instead of just downloading the precompiled | |
| # .class file | |
| sudo tsocks apt-get -y install default-jdk |
This file contains hidden or 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
| # Simple Primecoin Miner | |
| #=== | |
| # This example downloads and runs a primecoin miner that connects to the http://beeeeer.org pool. | |
| # You'll need to create an address to recieve your payments with the PrimeCoin QT client first, | |
| # then assign it to the address variable below. | |
| # Replace this value with your address | |
| export ADDRESS=AcxUi4AyTckaGxUKfpk1Xi6dxXf7AYVWf2 | |
| #force library updating |
This file contains hidden or 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
| # Network bandwidth test | |
| #=== | |
| # This short script runs a network speed test on your node | |
| # Download the speed test script | |
| tsocks wget https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py | |
| # Run the script | |
| tsocks python speedtest_cli.py --simple > net.txt & |
This file contains hidden or 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
| # Unixbench | |
| #=== | |
| # This short script downloads and runs the unixbench benchmarking suite on your node. | |
| #get the source code & unzip it | |
| tsocks wget http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz | |
| tar xvf UnixBench5.1.3.tgz | |
| cd UnixBench | |
| #Run the multithreaded benchmark using all available cores |