Skip to content

Instantly share code, notes, and snippets.

View automata's full-sized avatar

Vilson Vieira automata

View GitHub Profile
~$ heroku logs
2014-11-09T04:39:36.882651+00:00 heroku[api]: Enable Logplex by vilson@void.cc
2014-11-09T04:39:36.882651+00:00 heroku[api]: Release v2 created by vilson@void.cc
2014-11-09T04:44:28.122003+00:00 heroku[api]: Set BUILDPACK_URL config vars by vilson@void.cc
2014-11-09T04:44:28.122040+00:00 heroku[api]: Release v3 created by vilson@void.cc
2014-11-09T04:50:31+00:00 heroku[slug-compiler]: Slug compilation started
2014-11-09T04:52:38+00:00 heroku[slug-compiler]: Slug compilation finished
2014-11-09T04:52:38.693691+00:00 heroku[api]: Scale to web=1 by vilson@void.cc
2014-11-09T04:52:38.782510+00:00 heroku[api]: Deploy c95a103 by vilson@void.cc
2014-11-09T04:52:38.782538+00:00 heroku[api]: Release v4 created by vilson@void.cc
~$ heroku login
~$ git clone https://github.com/jonnor/imgflo-server.git
~$ cd imgflo-server
~$ heroku git:remote -a automata-imgflo
~$ heroku config:set BUILDPACK_URL=https://github.com/mojodna/heroku-buildpack-multi.git#build-env
~$ git push heroku master
Initializing repository, done.
Counting objects: 1566, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (537/537), done.
vagrant@precise32:~/new/imgflo-server$ make install
mkdir -p /home/vagrant/new/imgflo-server/install || true
sed -e 's|@PREFIX@|/home/vagrant/new/imgflo-server/install|' runtime/env.sh.in > /home/vagrant/new/imgflo-server/install/env.sh
chmod +x /home/vagrant/new/imgflo-server/install/env.sh
npm run update-version-info || echo 'WARN: unable to update version'
cd runtime && make PREFIX=/home/vagrant/new/imgflo-server/install install
make[1]: Entering directory `/home/vagrant/new/imgflo-server/runtime'
mkdir -p /home/vagrant/new/imgflo-server/install || true
sed -e 's|@PREFIX@|/home/vagrant/new/imgflo-server/install|' env.sh.in > /home/vagrant/new/imgflo-server/install/env.sh
chmod +x /home/vagrant/new/imgflo-server/install/env.sh
-----> Fetching custom git buildpack... done
-----> Multipack app detected
=====> Downloading Buildpack: https://github.com/mojodna/heroku-buildpack-cairo.git
=====> Detected Framework: Cairo
-----> Vendoring binaries
Fetching https://s3.amazonaws.com/mojodna-heroku/cedar-14/cairo-1.12.16-1.tar.gz
Fetching https://s3.amazonaws.com/mojodna-heroku/cedar-14/freetype-2.5.3-1.tar.gz
Fetching https://s3.amazonaws.com/mojodna-heroku/cedar-14/giflib-4.2.3-1.tar.gz
Fetching https://s3.amazonaws.com/mojodna-heroku/cedar-14/pixman-0.32.6-1.tar.gz
-----> Tweaking Cairo, FreeType, and Pixman include paths
{
"properties": {
"name": "main",
"id": "7d0957ba3dfb740c45ba",
"project": "molly-demo-2",
"environment": {
"type": "noflo-browser",
"content": "<style>\n #molly {\n \tcolor: #fff;\n }\n .hide {\n \tdisplay: none;\n }\n .show {\n \tdisplay: block;\n }\n .box {\n \twidth: 200px;\n \theight: 200px;\n }\n</style>\n<div id=\"molly\">Hi, do you want to see the AI in action?</div>\n<div id=\"action\">Yes, let me see it!</div>\n<div id=\"source\">Yes, show me the source graph</div>\n<div id=\"restart\">No, take me back</div>\n<section>\n<video id=\"vid\" width=\"640\" height=\"480\" autoplay></video>\n<canvas id=\"can\" width=\"640\" height=\"480\"></canvas>\n<canvas id=\"canorig\" width=\"640\" height=\"480\"></canvas>\n</section>"
},
"icon": "",
{
"properties": {
"name": "main",
"id": "7d0957ba3dfb740c45ba",
"project": "molly-demo-2",
"environment": {
"type": "noflo-browser",
"content": "<style>\n #molly {\n \tcolor: #fff;\n }\n .hide {\n \tdisplay: none;\n }\n .show {\n \tdisplay: block;\n }\n .box {\n \twidth: 200px;\n \theight: 200px;\n }\n</style>\n<div id=\"molly\">Hi, do you want to see the AI in action?</div>\n<div id=\"action\">Yes, let me see it!</div>\n<div id=\"restart\">No, take me back</div>\n<section>\n<video id=\"vid\" width=\"640\" height=\"480\" autoplay></video>\n<canvas id=\"can\" width=\"640\" height=\"480\"></canvas>\n<canvas id=\"canorig\" width=\"640\" height=\"480\"></canvas>\n</section>"
},
"icon": "",
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: xilnhhrI2/uSu63QUgHJN/WE5Tc({"status":"accepted", "id":"ze880peeq7"}({"status":"complete", "id":"ze880peeq7"}({"status":"accepted", "id":"4yf08lg8ms"}({"status":"complete", "id":"4yf08lg8ms"}({"status":"accepted", "id":"tmjdzqq4ud"}({"status":"complete", "id":"tmjdzqq4ud"}({"status":"accepted", "id":"ke1twj5x82"}({"status":"complete", "id":"ke1twj5x82"}({"status":"accepted", "id":"w42puu9335"}({"status":"complete", "id":"w42puu9335"}({"status":"accepted", "id":"77mt0n9v4b"}({"status":"complete", "id":"77mt0n9v4b"}({"status":"accepted", "id":"xdhtx0q6p2"}({"status":"complete", "id":"xdhtx0q6p2"}({"status":"accepted", "id":"k1fxj7fral"}({"status":"complete", "id":"k1fxj7fral"}({"status":"accepted", "id":"14rp4n3e1n"}({"status":"complete", "id":"14rp4n3e1n"}({"status":"accepted", "id":"t7ady7jma8"}({"status":"complete", "id":"t7ady7jma8"}({"status":"accepted", "id":"kaf84gtbyt"}({"status":"complete
@automata
automata / noflo.json
Created October 26, 2014 12:56
Draw points #2
{
"properties": {
"name": "main",
"id": "test-path/main",
"project": "test-path",
"environment": {
"type": "noflo-browser",
"content": "<canvas id=\"c\" width=\"200\" height=\"200\"></canvas>"
},
"changed": true,
@automata
automata / noflo.json
Created October 26, 2014 07:32
Draw points
{
"properties": {
"name": "main",
"id": "test-path/main",
"project": "test-path",
"environment": {
"type": "noflo-browser",
"content": "<canvas id=\"c\" width=\"200\" height=\"200\"></canvas>"
},
"changed": true,
@automata
automata / noflo.json
Created October 26, 2014 06:46
Shape (img) to TSP
{
"properties": {
"name": "main",
"id": "vertical-one/main",
"project": "vertical-one",
"environment": {
"type": "noflo-browser",
"content": "<canvas id=\"c\" width=\"400\" height=\"400\"></canvas>"
},
"changed": true,