Skip to content

Instantly share code, notes, and snippets.

Verifying my Blockstack ID is secured with the address 1DK1eUeCRFkWLC6mk5tcEqDoFj6MJMLFrQ https://explorer.blockstack.org/address/1DK1eUeCRFkWLC6mk5tcEqDoFj6MJMLFrQ
@media screen
and (min-device-width : 1080px)
and (max-device-width : 1920px)
and (min-resolution: 401dpi)
and (device-aspect-ratio:16/9)
{ }
@media screen
and (min-device-width : 750px)
and (max-device-width : 1334px)
ack -l "stringBusca" | grep -v vendor
## -v ignorar node_modules
@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 / docker-compose.yml
Created January 10, 2017 20:12
Docker Emprego Ligado
# PS: /home/docker/ makes it create the volumes on the remote
rabbitmq:
container_name: dev_rabbitmq
image: rabbitmq:3.5.6-management
hostname: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
volumes: