Skip to content

Instantly share code, notes, and snippets.

View jptoto's full-sized avatar
😃

JP Toto jptoto

😃
View GitHub Profile
/*
* Copyright 2004-2009 James House
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@jptoto
jptoto / deploy.rb
Created March 25, 2009 18:41 — forked from r38y/deploy.rb
# this is for multistage deployments... to deploy to staging, do "cap staging deploy"
# this is also set up for passenger deployments
# change stuff where it says CHANGEME
# set stage-specific stuff in the task named after the stage below
set :domain, "CHANGME"
role :web, domain
role :app, domain
role :db, domain, :primary => true
mysqlimport.exe --fields-terminated-by="," --lines-terminated-by="|" --fields-optionally-enclosed-by="\"" --force --ignore -u root -p poc c:\Users\jtoto\Desktop\service.txt