This is specifically for https://github.com/madebymade/vagrant-dev
Inside your vagrant-dev
directory you might run your tests normally like this:
vagrant ssh -c "cd /var/www/my-project && rake"
# username = "my_username" | |
# pwd = "my_password" | |
# target_path = "my_target_path" | |
# saving auth cookie | |
system %Q{wget --save-cookies /tmp/cookie.txt --keep-session-cookies --post-data "username=#{username}&password=#{pwd}" -O - \ | |
https://rubytapas.dpdcart.com/subscriber/login?__dpd_cart=d08391e6-5fe2-4400-8b27-2dc17b413027} | |
(25..600).each do |i| |
This is specifically for https://github.com/madebymade/vagrant-dev
Inside your vagrant-dev
directory you might run your tests normally like this:
vagrant ssh -c "cd /var/www/my-project && rake"
#!/bin/bash | |
vrake=`readlink $0` | |
expected_dir="${vrake%/*}/www/" | |
expected_dir_length=${#expected_dir} | |
dirname=${PWD##*/} | |
if [[ "${PWD:0:$expected_dir_length}" != "$expected_dir" ]]; then | |
echo "You need to be inside a directory in $expected_dir" | |
echo "You are in $PWD" |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.