This file contains 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
require 'minitest/autorun' | |
describe('') do | |
it('') do | |
_(something).must_equal(1) | |
end | |
end |
This file contains 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
#cloud-config | |
groups: | |
- docker | |
users: | |
- default | |
- name: dockeradm | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
groups: users, docker | |
ssh_authorized_keys: |
This file contains 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
#!/bin/sh | |
rm -f tmp/pids/server.pid | |
bin/rails server -b 0.0.0.0 -p $PORT |
This file contains 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
set nocompatible | |
call plug#begin('~/.vim/plugged') | |
set encoding=utf-8 | |
scriptencoding utf-8 | |
set shell=/bin/bash | |
""Plugs | |
Plug 'cocopon/iceberg.vim' |
This file contains 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
version: '3' | |
services: | |
chromedriver: | |
image: selenium/standalone-chrome-debug | |
ports: | |
- 5900:5900 | |
container_name: chrome_driver | |
environment: | |
VNC_NO_PASSWORD: 1 | |
networks: |
This file contains 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
ARG VARIANT="20.04" | |
FROM mcr.microsoft.com/vscode/devcontainers/base:0-ubuntu${VARIANT} | |
RUN apt-get update && \ | |
apt-get install -y build-essential curl libevent-dev libssl-dev libxml2-dev libyaml-dev libgmp-dev git && \ | |
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
RUN curl -sL "https://keybase.io/crystal/pgp_keys.asc" | apt-key add - && \ | |
echo "deb https://dist.crystal-lang.org/apt crystal main" | tee /etc/apt/sources.list.d/crystal.list && \ | |
apt-get update |
This file contains 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
export default { | |
fonts: { | |
body: 'Apercu, sans-serif', | |
heading: 'Apercu, sans-serif', | |
monospace: '"Apercu Mono", monospace' | |
}, | |
colors: { | |
background: '#f5e3e7', | |
}, | |
styles: { |
This file contains 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
module JSDriver | |
def require_js | |
Capybara.register_driver :selenium_remote do |app| | |
Capybara::Selenium::Driver.new( | |
app, | |
browser: :remote, | |
url: 'http://chromedriver:4444/wd/hub', | |
desired_capabilities: Selenium::WebDriver::Remote::Capabilities.chrome | |
) | |
end |
This file contains 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
version: '3' | |
services: | |
chromedriver: | |
image: selenium/standalone-chrome-debug | |
ports: | |
- 5900:5900 | |
environment: | |
VNC_NO_PASSWORD: 1 | |
web: | |
build: . |
This file contains 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
NameError: uninitialized constant Workers::Subscription | |
Did you mean? RUBY_DESCRIPTION | |
const_missing at org/jruby/RubyModule.java:3348 | |
<main> at /src/repo/spec/workers/subscription/cancel_spec.rb:3 | |
require at org/jruby/RubyKernel.java:961 | |
block in -e at -e:1 | |
glob at org/jruby/RubyDir.java:233 | |
<main> at -e:1 |
NewerOlder