Skip to content

Instantly share code, notes, and snippets.

Ian Sowinski iansowinski

Block or report user

Report or block iansowinski

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@iansowinski
iansowinski / sync.rb
Last active Feb 19, 2017
Simple sinatra solution for syncing github repo with external ftp server
View sync.rb
load 'ftp_sync.rb' # use this library -> https://github.com/ashchan/ftpsync
require 'sinatra'
# Here you set global ip of your vps
set :bind, '0.0.0.0'
# Here you set port
set :port, '80'
# here you set FTP host
host = 'example.com'
You can’t perform that action at this time.