Skip to content

Instantly share code, notes, and snippets.

View gotjosh's full-sized avatar
🎯
Focusing

gotjosh gotjosh

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am gotjosh on github.
  • I am gotjosh (https://keybase.io/gotjosh) on keybase.
  • I have a public key ASCBd6Tht6Om-UwNHP_Uuu2OzWC6Pvm1PjqbQdu8ChR86Ao

To claim this, I am signing this object:

class Event < ActiveRecord::Base
enum format: [:standard, :draft, :cube, :pauper, :modern, :board_games, :commander, :free_for_all, :sealed_deck, :two_headed_giant]
validates :title, presence: true
validates :date, presence: true
validates :format, presence: true
validates :price, presence: true
scope :weekly, -> { where(date: Date.today..6.days.from_now).order(date: :asc).limit(6) }
end
@gotjosh
gotjosh / how.rb
Last active April 22, 2016 14:45
# Current
def initialize(resource = nil)
@resource = resource
end
private
def resource
@resource ||= ProductResource.new(connection: ExternalAdapter.instance.connection)

Pixel Perfect Tree - .NET Full Stack

Hi there!

We are Pixel Perfect Tree. We're a company that's 100% self bootstrap, we're having an amazing year and continue to grow on a steady pace.

Our quest searching for a passionate full-stack .NET developer with an interest in Ruby has just begun.

You'll be expected to write clean code but also provide your insight on projects and technologies used on them.

This is my response to an email asking about Domain-Driven Design in golang project.

Thank you for getting in touch. Below you will find my thoughts on how golang works with DDD, changing it. This is merely a perception of how things worked out for us in a single project.

That project has a relatively well-known domain. My colleagues on this project are very knowledgeable, thoughtful and invested in quality design. The story spelled out below is a result of countless hours spent discussing and refining the approach.

Conclusions could be very different, if there was a different project, team or a story-teller.

Short story

Pixel Perfect Tree - Web Designer

Hi there!

We are Pixel Perfect Tree. We're a company that's 100% self bootstrap, we're having an amazing year and continue to grow on a steady pace.

We're currently looking for a keen-eye individual with a strong understanding of how visuals translate to web and the technical ability to bring it to life, in other words You'll be bringing the Pixel Perfect to our Tree, if this sounds like you, keep reading.

But what exactly do you mean by Web Designer? That's so confusing!

module ParamsValidator
def validator array_of_values = [], default _value, param
array_of_values.include? param ? param : default_value
end
end
class ParamsValidator
@gotjosh
gotjosh / gist:8105782
Last active April 8, 2017 04:59
Pixel Perfect Tree's - Full Stack Developer

Pixel Perfect Tree - Full Stack Developer.

Hi there!

We’ve cleared out our desks to make space for a new member at Pixel Perfect Tree. We're a company that's 100% self bootstrap, we had an amazing year and continue to grow on a steady pace.

Our quest searching for a passionate and savvy full-stack developer has just begun.

The lucky developer will have the responsibility of defending our company’s honour fighting imaginary dragons and ogres along our skilled knights from the Order of the Pixel in our Santo Domingo office (however, if you are a wizard and prefer to fight from afar, remote work is a possibility for the right candidate). You'll be expected to not only to write code but also provide your insight on projects and technologies used.

http://zero-to-hero-ruby-intec.s3.amazonaws.com/demo-api.zip
- si el post original dice "mejor" skip it.
- si dice offtopic you should read it.
- si dije java y .net en la misma oracion skip it.
- Si melvyn arranco el post skip it.
- If it has more than 50 replies skip it.
- if marmolejos answered first skip it.
- if Orly quotes the rules skip it.
- if it contains php next, probably not worth it.
- si dice morrison, dodo o software libre skip it.