Skip to content

Instantly share code, notes, and snippets.

View danielvamosi's full-sized avatar

Dániel Vámosi danielvamosi

  • Priceline
  • Berlin, Germany
View GitHub Profile
@danielvamosi
danielvamosi / .rubocop.yml
Created August 2, 2015 15:07 — forked from gdotdesign/.rubocop.yml
DiNa Rubocop Config
AllCops:
RunRailsCops: true
Documentation:
Enabled: false
Style/AlignHash:
Enabled: false
Style/AlignParameters:
require 'colorize'
# find strings in last evaluated output
Pry::Commands.command '??', 'where is it' do |*args|
prev_out = target.eval '_'
if prev_out.nil?
output.puts '_ is empty.'
elsif args.empty?
output.puts 'What?'
else
def is_complete(numbers):
if len(numbers) != 9:
return False