sudo apt install openjdk-8-jdk-headless
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
// Globally register all base components for convenience, because they | |
// will be used very frequently. Components are registered using the | |
// PascalCased version of their file name. | |
import upperFirst from 'lodash/upperFirst' | |
import camelCase from 'lodash/camelCase' | |
export default async ({ Vue }) => { | |
console.log('loading components') | |
// https://webpack.js.org/guides/dependency-management/#require-context |
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
Install the 0.14-compatible quasar-cli as a dev dependency in your legacy project: | |
npm install --save-dev [email protected] | |
this will place the legacy cli in your project node_modules | |
to run quasar for your project: | |
npx quasar dev etc | |
npx is a wrapper that runs ./node_modules/.bin/quasar | |
source: steveclarke @ quasar discourse channel 2.23.2018 |
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
cinst GoogleChrome | |
cinst 7zip | |
cinst git.install | |
cinst putty | |
cinst ruby | |
cinst ruby.devkit | |
cinst RubyMine | |
cinst SourceTree |
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
box: wercker/ubuntu12.04-ruby1.9.3 | |
services: | |
- wercker/postgresql | |
build: | |
# The steps that will be executed on build | |
steps: | |
- script: | |
name: Enable virtual display | |
code: |- | |
# Start xvfb which gives the context an virtual display |
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
source :rubygems | |
# We are not loading Active Record, nor Active Resources etc. | |
# We can do this in any app by simply replacing the rails gem | |
# by the parts we want to use. | |
gem "actionpack", "~> 4.0" | |
gem "railties", "~> 4.0" | |
gem "tzinfo" | |
# Let's use thin |
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
body { | |
font-family: arial; | |
} |
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
worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3) | |
timeout 15 | |
preload_app true | |
before_fork do |server, worker| | |
Signal.trap 'TERM' do | |
puts 'Unicorn master intercepting TERM and sending myself QUIT instead' | |
Process.kill 'QUIT', Process.pid | |
end |
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
gem 'thin' | |
gem 'sevenhelpers', git: 'https://github.com/sevenview/sevenhelpers.git' | |
#gem_group :assets do | |
# gem 'zurb-foundation', '~>4.0.0' | |
#end | |
gem_group :test, :development, :staging do | |
gem 'factory_girl_rails', '~> 4.2' | |
gem 'ffaker' |
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
=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') |