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 is your Node app's main file | |
* Don't forget to run `heroku ps:scale web=1` in the Terminal | |
*/ | |
var express = require('express'); | |
var http = require('http'); | |
var path = require('path'); | |
var app = express(); | |
app.set('port', process.env.PORT || 3000); |
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
# Image processing function | |
# Usage: In the Terminal, run: bash images.sh | |
# Get user input and resize images | |
function process () { | |
# rename | |
a=1 | |
for i in *.${ext} | |
do |
NewerOlder