Skip to content

Instantly share code, notes, and snippets.

View feliperoberto's full-sized avatar

Felipe Roberto feliperoberto

  • São Paulo/SP - Brasil
  • 00:12 (UTC -03:00)
View GitHub Profile
"""
Questions:
1. Complete the `MiniVenmo.create_user()` method to allow our application to create new users.
2. Complete the `User.pay()` method to allow users to pay each other. Consider the following: if user A is paying user B, user's A balance should be used if there's enough balance to cover the whole payment, if not, user's A credit card should be charged instead.
3. Venmo has the Feed functionality, that shows the payments that users have been doing in the app. If Bobby paid Carol $5, and then Carol paid Bobby $15, it should look something like this
@feliperoberto
feliperoberto / docker-compose.yml
Created October 16, 2015 17:41
seaweeds on docker
master:
image: seaweedfs
command: "master"
ports:
- '9333:9333'
- '8080:8080'
extra_hosts:
- 'master:192.168.0.15'
slave:
@feliperoberto
feliperoberto / gist:9793674
Created March 26, 2014 21:11
GulpJS + SASS + BrowserSync ftw

#GulpJS + SASS + BrowserSync ftw Being the new-kid-on-the-block, GulpJS is getting plently of attention lately. Instead of contributing to the pool of opinion-pieces out there though, I thought I'd walk you through setting it up with a really nice little workflow including SASS for CSS along with my open-source project, BrowserSync.io.

The end result will be a pretty sweet front-end development setup including:

  • SCSS File watching/compilation.
  • Live CSS injecting into multiple devices.
  • A Server running on an IP address that can be accessed on multiple devices/screens.
  • Syncronized scroll, clicks, links & form fields across all devices.