<VirtualHost *:80>
ServerAdmin [email protected]
ServerName modal.dev
ServerAlias www.modal.dev
DocumentRoot /Users/mryan/Code/modal
ErrorLog /private/var/log/apache2/modal.error_log
CustomLog /private/var/log/apache2/modal.access_log common
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
<?php | |
switch ($_SERVER['REMOTE_ADDR']) { | |
case '123': | |
case '456': | |
break; | |
default: | |
echo '<script type="text/javascript" src="/sanky-modal/js/main.js"></script>'; | |
break; |
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
def donation_params | |
params.require(:donation).permit( | |
:first_name, | |
:last_name, | |
:address_1, | |
:address_2, | |
:city, | |
:state, | |
:zip, | |
:country, |
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
" Maintained by Matt Ryan <[email protected]> | |
" Vundle {{{ | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#begin() | |
" let vundle manage vundle |
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
<Directory "/Users/mryan/Code/"> | |
Options Indexes MultiViews FollowSymlinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> |
- Begin migrating
~/Sites
folder over to new computer ASAP. This will take the most time. - Transfer VM's for VMWare immediately, this will also take a long time.
- Begin installing XCode right away from the app store.
- Install Adobe Creative Suite.
- Install the following:
- Microsoft Office
- VMWare
- SequelPro
- Transmit
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
// Single Transaction | |
$PayFlow = new PayFlow($merchant, 'Paypal', $api_username, $api_password); | |
$PayFlow->setEnvironment($transaction_mode); | |
$PayFlow->setTransactionType('R'); | |
$PayFlow->setPaymentHistory('Y'); | |
$PayFlow->setProfileAction('I'); | |
$PayFlow->setRecurringProfileId($profile_id); | |
return $PayFlow->runRecurringInquiry(); |
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
@import "compass"; | |
@import "compass/reset"; | |
@import "icon/*.png"; | |
@include all-icon-sprites; | |
@import "logo/*.png"; | |
@include all-logo-sprites; | |
@import "pencil/*.png"; | |
@include all-pencil-sprites; |
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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteRule ^2013/05/poaching-infographic/?(.*) /campgins/poaching-infographic/$1 [R=301,NC,L] | |
</IfModule> |
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
App 16096 stderr: Faraday::Error::ConnectionFailed - Connection reset by peer - SSL_connect: | |
App 16096 stderr: /usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:920:in `connect' | |
App 16096 stderr: /usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' | |
App 16096 stderr: /usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/timeout.rb:76:in `timeout' | |
App 16096 stderr: /usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:920:in `connect' | |
App 16096 stderr: /usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:863:in `do_start' | |
App 16096 stderr: /usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:852:in `start' | |
App 16096 stderr: /usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:1369:in `request' |