Installation
- install dependencies
sudo cp dj.service /etc/systemd/system/
sudo systemctl enable dj.service
sudo journalctl -fu dj.service
Features
- alarm clock
- automatic zone creation
# frozen_string_literal: true | |
namespace :validations do | |
desc 'List all model validations defined by schema_validations' | |
task list: :environment do | |
LIST_OUTPUT = STDOUT | |
VALIDATIONS = Hash.new | |
# monkey patch SchemaValidations to extract validation metadata instead of applying them | |
# gem source: lib/schema_validations/active_record/validations.rb |
- name: Unit Tests | |
task: | |
jobs: | |
- name: RSpec | |
commands: | |
- checkout | |
- cache restore | |
- sem-version ruby 2.6.0 | |
- bundle install --deployment --path vendor/bundle | |
- bundle exec rspec |
Installation
sudo cp dj.service /etc/systemd/system/
sudo systemctl enable dj.service
sudo journalctl -fu dj.service
Features
#!/usr/bin/env ruby | |
# frozen_string_literal: true | |
require 'simplecov' | |
require 'simplecov-lcov' | |
puts('Merging coverage results from parallel CircleCI tests containers into a single LCOV report...') | |
results = [] | |
Dir['/home/circleci/rspec/*.resultset.json'].each do |path| |
I hereby claim:
To claim this, I am signing this object:
{ | |
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"font_size": 11, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"tab_size": 2, | |
"theme": "Default.sublime-theme", |
package main | |
import ( | |
"bytes" | |
"fmt" | |
"log" | |
"github.com/grodowski/minio-go" | |
) |
#!/bin/bash | |
shopt -s globstar | |
rootdir=`pwd` | |
for dir in **/ ; do | |
cd $dir | |
exec 5>&1 | |
out=$(go test -v -coverprofile=cov_part.out | tee >(cat - >&5)) | |
if [ $? -eq 1 ] ; then | |
if [ $(cat $out | grep -o 'no buildable Go source files') == "" ] ; then |
#!/bin/bash | |
defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes |
# Some colors | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
alias ls='ls -GFh' | |
# Dev shortcuts | |
alias be="bundle exec" | |
alias dkc='docker-compose' | |
alias dkcr='docker-compose run' | |
alias dkr='docker run' |