Quer estudar sobre algo além do trio mágico HTML, CSS e Javascript e não sabe por onde começar?
Segue uma lista com sugestões de estudo extra para Desenvolvedores Front-End.
- PostCSS
#Usage: rmd.sh CourseName Lesson | |
cd /home/zaphod/Documents/Cursos/CodeSquad/$1/$2 | |
recordmydesktop --delay 10 -o $2.ogv |
Magic words:
psql -U postgres
Some interesting flags (to see all, use -h
or --help
depending on your psql version):
-E
: will describe the underlaying queries of the \
commands (cool for learning!)-l
: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)These are all the JSConf 2014 slides, codes, and notes I was able to cull together from twitter. Thanks to the speakers who posted them and thanks to @chantastic for posting his wonderful notes.
import requests | |
jogos = requests.get('http://worldcup.sfg.io/matches').json() | |
for jogo in jogos: | |
if jogo['status'] in ('completed', 'in progress'): | |
print (jogo['home_team']['country'], jogo['home_team']['goals'], 'x', | |
jogo['away_team']['country'], jogo['away_team']['goals']) |
import urllib.request | |
import json | |
resp = urllib.request.urlopen('http://worldcup.sfg.io/matches').read() | |
for jogo in json.loads(resp.decode('utf-8')): | |
if jogo['status'] == 'completed': | |
print (jogo['home_team']['country'], jogo['home_team']['goals'], 'x', jogo['away_team']['country'], jogo['away_team']['goals']) |
Requisitos | |
- Conhecimentos avançados em PHP e Orientação a Objetos | |
- Conhecimentos avançados em algum framework como Zend Framework 2, Silex ou Symfony | |
- Conhecimentos intermediários em Doctrine 2 (entidades, relacionamentos, dql) | |
- Conhecimentos avançados em testes unitários | |
- Interesse e facilidade em aprender novas tecnologias, linguagens de programação e ambientes de desenvolvimento | |
- Conhecimentos intermediários em banco de dados como MySQL e PostgreSQL | |
- Conhecimentos intermediários em Git | |
- Conhecimento básico de segurança e criptografia de dados: | |
- SSL; |
/* | |
* Does not need to be wrapped in a class, I often have this in my model, | |
* but abstract when used more than once. | |
* @soruce: http://chrishayes.ca/blog/code/laravel-4-generating-unique-slugs-elegantly | |
*/ | |
class UniqueSlug { | |
public static function generateUniqueSlug($value) { | |
$slug = Str::slug($value); | |
$slugs = static::whereRaw("slug REGEXP '^{$slug}(-[0-9]*)?$'"); |
<?php | |
return [ | |
// http://www.cidades.ibge.gov.br/download/mapa_e_municipios.php?uf=ac (Thu May 14 16:30:15 BRT 2015) | |
'AC' => [ | |
1200013 => 'Acrelândia', | |
1200054 => 'Assis Brasil', | |
1200104 => 'Brasiléia', | |
1200138 => 'Bujari', | |
1200179 => 'Capixaba', |