Skip to content

Instantly share code, notes, and snippets.

View theonlyrao's full-sized avatar

Ashwin Rao theonlyrao

View GitHub Profile
@theonlyrao
theonlyrao / ashwin_rao_lighting_talk_outline.md
Last active March 22, 2016 17:44
Developing for Ecommerce Marketing

Purpose: To give Turing students and introduction to basic ecommerce principles so that they can develop back end systems that provide more business value.

Each number below represents a slide. The contents of the slide would be the topic and any necessary definitions. I would primarily use discussion to explain the concepts in detail.

Outline:

1) My background: started ecommerce company in 2012 and have learned from mistakes in all these areas

2) Basic rule of ecommerce: value of a customer to the business > cost of acquiring that customer

@theonlyrao
theonlyrao / black_thursday_dtr.md
Created March 5, 2016 19:09
DTR for Black Thursday project

DTR Memo

Project: Black Thursday

Group Members: Ashwin Rao, Jennifer Soden (did not complete project)

Goals and Expectations

  • We both would like passing scores
  • Jenny expects communication — if someone says something, don’t just acknowledge, actually say something as to why it should or shouldn’t be done that way

Schedule/Availability

@theonlyrao
theonlyrao / translate_method.rb
Created February 27, 2016 19:58
after using objects
class Write
...
def translate(english_array)
english_array.each do |element|
if element.to_i.to_s == element
@number = Number.new(element)
push_one(@number.number1)
push_two(@number.number2)
@theonlyrao
theonlyrao / translate_method.rb
Created February 27, 2016 19:52
before using objects...
def translate(english_array)
@braille_arrays = []
english_array.each do |word|
@characters = word.chars
end
binding.pry
if @characters[0].to_i.to_s == @characters[0] # checking to see if number
@braille_arrays << @etb_hash["#"]
@characters.each do |char|
@braille_arrays << @etb_hash[char]