I hereby claim:
- I am dennisharrison on github.
- I am dennisharrison (https://keybase.io/dennisharrison) on keybase.
- I have a public key ASDENgRrKOLppXPP8UwaN0n04tVn6z783e2_Kue1ejdANgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
worker_processes 4; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
default_type application/octet-stream; | |
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" ' |
<head> | |
<title>sosport</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
</head> | |
<body> | |
</body> |
Meteor.methods({ | |
saveFile: function(blob, name, path, encoding) { | |
var encoding = encoding || 'binary'; | |
var path = '/Users/dennisharrison/projects/sosport/uploaded_content/' | |
var Future = Npm.require('fibers/future'); | |
var ext = name.substr(name.lastIndexOf('.') + 1); | |
var uuid = createUUID(); | |
var name = uuid + "." + ext; | |
var temp_name = "!TEMP_" + uuid + "." + ext; | |
var temp_path = path + temp_name; |