sudo apt-get updatesudo apt-get install -y libssl1.0.0 opensslopenssl version -aand confirm the "built on" date is >= 2014-04-07sudo lsof -n | grep ssl | grep DELand restart all listed services.
Repeat #4 until no results are returned.
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
| ENV["RAILS_ENV"] ||= 'test' | |
| require File.expand_path("../../config/environment", __FILE__) | |
| require 'rspec/rails' | |
| require 'rspec/autorun' | |
| require 'capybara/rspec' | |
| require 'webmock/rspec' | |
| require 'factory_girl' | |
| require 'factory_girl_rails' | |
| Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} |
| #!/bin/bash | |
| if [ $# -eq 0 ] | |
| then | |
| echo "wordpress-redis.sh [options] install|mysql | |
| install - Automatically installs wordpress without database | |
| database - Automatically installs wordpress with mysql" | |
| elif [ $1 == 'install' ]; then |
| require 'csv' | |
| class SomethingCSV | |
| def initialize(io, relation) | |
| @target = io | |
| @relation = relation | |
| @headers = [ "Name", | |
| "SomeValue", | |
| "AnotherValue" | |
| ] | |
| end |
| #!/bin/bash | |
| if [ $# -eq 0 ] | |
| then | |
| echo "kandan.sh [options] postgres|restart | |
| postgres - Automatically install gitlab with postgres on ubuntu | |
| elif [ $1 == 'postgres' ]; then | |
| echo "Updating Operating System..." |
| #!/bin/bash | |
| if [ $# -eq 0 ] | |
| then | |
| echo "https.sh [options] install" | |
| elif [ $1 == 'install' ]; then | |
| echo "Self signing SSL Certs..." | |
| sudo mkdir /etc/nginx/ssl |
| #!/bin/bash | |
| if [ $# -eq 0 ] | |
| then | |
| echo "gitlab.sh [options] postgres|mysql|restart | |
| postgres - Automatically install gitlab with postgres on ubuntu | |
| mysql - Automatically install gitlab with mysql on ubuntu (Not Finished)" | |
| elif [ $1 == 'postgres' ]; then |
| # This file describes the network interfaces available on your system | |
| # and how to activate them. For more information, see interfaces(5). | |
| # The loopback network interface | |
| auto lo | |
| iface lo inet loopback | |
| # The primary network interface | |
| auto eth0 | |
| iface eth0 inet static |
| <?php | |
| echo 'This has been customized!!!'; | |
| // Perform post-install customizations | |
| if ( function_exists( 'add_action' ) ){ | |
| add_action( 'wp_mail_content_type' , customize_install ); | |
| function customize_install(){ | |
| // Switch themes | |
| switch_theme('twentytwelve'); |