A few definitions before diving in (the title is a mouthful): BDD = Behavior Driven Development, which is a more top down approach to Test Driven Development (TDD) Behat = Tool for implementing BDD written in PHP Selenium = open source browser testing tool, which can be used with behat as an addon through the […]
Category Archives: Linux
How to install phantomjs and casperjs on bluehost linux vps
Last week I needed to automate an internet lookup in real time which required a several step login process (no API available). I was having trouble getting it to work with Curl. I had heard good things about CasperJS and PhantomJS so I figured I would try it out. I decided to use my own […]
How to integrate existing website into Amazon Simple Email Service
I was preparing to integrate a client’s business to send emails through AWeber last week when I realized that their api does not support sending transactional emails to one or more people on an as needed basis. I confirmed with AWeber’s tech support that their API is read only, it does not allow the sending […]
How to Transfer a Folder Full of Files and Sub-Directories to an FTP Server
Today I had to figure out how to transfer 65GB of data (including dozens of files in separate subfolders) from a linux server (where it was stored after being pulled from a FilesAnywhere account using a recursive wget command, “wget -r -l 0 ftp://user:pass@server.com/”) to another storage account at egnyte.com. I first tried tarring up […]
How to Export One Table Structure in Mysql and Infobright
I have a database with tables in it which have over 300 fields each. I wanted to create a new table like the others but I didn’t have the table structure saved in a file. Due to the number of fields it was impractical to copy the screen after executing a “show create table tablename” […]