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
| shader_type canvas_item; | |
| render_mode unshaded; | |
| uniform sampler2D tex : hint_albedo; | |
| uniform float deform_amt : hint_range(-1,1); | |
| uniform float deform_speed : hint_range(0.5,4); | |
| uniform bool animate; | |
| void fragment() { | |
| float def_amt = deform_amt; |
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
| FROM centos:centos6 | |
| MAINTAINER jmorton@usgs.gov | |
| # Apache | |
| RUN yum install -y httpd httpd-devel | |
| RUN chkconfig httpd on | |
| RUN apachectl start | |
| # Dependencies | |
| RUN yum groupinstall -y "Development tools" |
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
| // This script will boot app.js with the number of workers | |
| // specified in WORKER_COUNT. | |
| // | |
| // The master will respond to SIGHUP, which will trigger | |
| // restarting all the workers and reloading the app. | |
| var cluster = require('cluster'); | |
| var workerCount = process.env.WORKER_COUNT || 2; | |
| // Defines what each worker needs to run |