Skip to content

Instantly share code, notes, and snippets.

View msroot's full-sized avatar
:octocat:

Yannis Kolovos msroot

:octocat:
View GitHub Profile
class Rouxo
def initialize(xroma, ufasma, onoma)
@xroma = xroma
@ufasma= ufasma
@onoma= onoma
end
def xroma
@xroma
end
rouxa = ["blouza", "panteloni", "poukamisoo", "sentoni", "fousta"]
def pline(rouxo)
p "plenw to #{rouxo}"
p "anigw to nero"
p "trivw ta rouxa"
p "vazw sapouni "
p "================================================================== "
@msroot
msroot / keys.rb
Last active March 10, 2016 17:50
master_keys = []
["US",
"CA",
"AU",
"DK",
"NO",
"SE",
"FI",
"JP",
irb(main):041:0> account.legal_entity.verification.status
=> "verified"
irb(main):042:0> account.legal_entity.address.city
=> "Corfu"
irb(main):043:0> account.legal_entity.verification.status
=> "verified"
irb(main):044:0> account.legal_entity.address.city
=> "Corfu"
irb(main):045:0> account.legal_entity.address.city = "Ioannina"
=> "Ioannina"
[12] pry(#<Grape::Endpoint>)> object.legal_entity.business_tax_id_provided
=> false
[13] pry(#<Grape::Endpoint>)> object.legal_entity.business_tax_id = 234567896
=> 234567896
[14] pry(#<Grape::Endpoint>)> object.save
[15] pry(#<Grape::Endpoint>)> object.legal_entity.business_tax_id_provided
=> false
@msroot
msroot / gist:2b96edeb432b7a4d97b3
Last active March 9, 2016 12:17
ατ_γουόρκ.αρ_μπί
yannis [1:39 PM]
kanei twra Ντεπλόι
georgia [1:40 PM]
έκανε ντεπλόι?
yannis [1:40 PM]
ναι έκανε
@msroot
msroot / a.rb
Created February 26, 2016 12:07
#<Stripe::CountrySpec:0x3fe5564f8578 id=JP> JSON: {
"id": "JP",
"object": "country_spec",
"supported_bank_account_currencies": {"jpy":["JP"]},
"supported_payment_currencies": [
"jpy"
],
"supported_payment_methods": [
"card",
"stripe"
@msroot
msroot / gist:fdd0164676a9f4d93317
Created February 23, 2016 19:42
rspec formaters.rb
# Add multiple formatters to formater
RSpec.configure do |c|
c.add_formatter(:documentation)
c.add_formatter(:json)
c.add_formatter(:progress)
end
json_formatter = RSpec::Core::Formatters::JsonFormatter.new($stdout)
# Define Music:
# Vocal or instrumental sounds (or both) combined in such a way as to produce beauty of form, harmony, and expression of emotion.
class Music
has_many :sounds
has_many :notes , through: :sounds
sequences_of_emotions = []
def good user
Stripe::CountrySpec
"minimum": [
"external_account",
"legal_entity.address.city",
"legal_entity.address.line1",
"legal_entity.address.postal_code",
"legal_entity.address.state",
"legal_entity.dob.day",
"legal_entity.dob.month",
"legal_entity.dob.year",