Skip to content

Instantly share code, notes, and snippets.

@fredericksilva
fredericksilva / lanyrd.py
Created March 13, 2017 13:42 — forked from bburky/lanyrd.py
Scrape a list of all conference talk PDFs from Lanyrd.com
#!/usr/bin/env python3
'''Scrape a list of all conference talk PDFs from Lanyrd.com
Usage: ./lanyrd.py > talks.json
This script searches Lanyrd for all talks with PDF slides and extracts the data
into nicely formatted JSON.
'''
import sys
@fredericksilva
fredericksilva / javascript-study-plan.md
Created March 11, 2017 15:05 — forked from coreybruyere/javascript-study-plan.md
A step-by-step JavaScript study plan to start in mid November.
@fredericksilva
fredericksilva / Links.md
Created March 11, 2017 15:05 — forked from arindam89/Links.md
JS Links for the talk

What to use

  • Test runner: ava
  • React components testing: enzyme
  • Endpoint testing: express + supertest
  • Mocking framework: sinon
  • External dependencies mocking: proxyquire

Test cases

all the following examples are using ava syntax, but they may be easily adapted to mocha or tape as well

@fredericksilva
fredericksilva / nodebook.md
Created February 5, 2017 02:11 — forked from dshaw/nodebook.md
Running Node on a Samsung 303C Chromebook

Running Node on a Samsung 303C Chromebook

Motivation

After @mikeal and @lyle purchased Chromebooks for kids activities at NodeConf 2014, I was very impressed with the device and decided to explore this as a laptop and hacking device for my kids (7 & 8). I'd love to retain the simplicity of the web-focused ChromeOS experience while letting my kids hack on NodeBots and learn how to program.

It seems like the platforms that ChromeOS runs on are quite diverse. The Samsung 303C hit the right balance of being an aesthetically pleasing looking device, having respectable build quality and the amazing $250 price point. The 303C has an ARM processor. Not all Chromebooks do. I'm writing the below step-by-step very specifically for this system.

Resources

@fredericksilva
fredericksilva / bin-cc.md
Created March 9, 2016 14:42 — forked from erikhenrique/bin-cc.md
Bin de cartões de crédito para validação

Validação para cartão de crédito.

Bin e padrões para validação de cartão de crédito.

Bandeira Começa com Máximo de número Máximo de número cvc
Visa 4 13,16 3
Mastercard 5 16 3
@fredericksilva
fredericksilva / gist:9c57661688ee490abad6
Created January 27, 2016 14:00 — forked from Killavus/gist:22cfcf961e21edf27141
Simple backend class example.
class Backend
getData: ->
request = $.ajax
type: "GET"
dataType: "JSON"
url: '/foo'
request.pipe (response) ->
DomainObject.fromJSON(response)
# And then in initializer code:
@fredericksilva
fredericksilva / Remove all git tags
Created January 14, 2016 12:58 — forked from okunishinishi/Remove all git tags
Delete all git remote tags
#Delete local tags.
git tag -l | xargs git tag -d
#Fetch remote tags.
git fetch
#Delete remote tags.
git tag -l | xargs -n 1 git push --delete origin
#Delete local tasg.
git tag -l | xargs git tag -d
# UX para Developers - Referências
## Soluções prontas
- jQuery Mobile (http://www.jquerymobile.com)
- HTML 5 Boilerplate (http://html5boilerplate.com)
## Ferramentas
- Spin.js (http://fgnass.github.com/spin.js)
@fredericksilva
fredericksilva / arch.md
Last active August 29, 2015 14:23 — forked from alganet/arch.md