(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| import requests | |
| url = 'http://educacao.dadosabertosbr.com/api/escolas/buscaavancada?' | |
| situação = 'situacaoFuncionamento=1&energiaInexistente=on&aguaInexistente=on&esgotoInexistente=on' | |
| data = requests.get(url + situação).json() | |
| print ('Primeiras 100 escolas:') | |
| for escola in data[1]: | |
| print (f'{escola["nome"]}, {escola["cidade"]}, {escola["estado"]}') | |
| print ('Escolas em funcionamento, sem água, luz e esgoto:') | |
| print (data[0]) |
| @ECHO OFF | |
| IF NOT "%~f0" == "~f0" GOTO :WinNT | |
| @"%~dp0ruby.exe" "%~dp0rails" %1 %2 %3 %4 %5 %6 %7 %8 %9 | |
| GOTO :EOF | |
| :WinNT | |
| @"%~dp0ruby.exe" "%~dpn0" %* |
| [steam-in-home-streaming] | |
| title=Steam-In-Home-Streaming | |
| description=Steam In-Home Streaming | |
| ports=27031/udp|27036/udp|27036/tcp|27037/tcp |
| # Maintainer: Juan Diego Tascon | |
| # Maintainer: Swift Geek | |
| pkgname=bluez-git | |
| pkgver=20130324 | |
| pkgrel=1 | |
| pkgdesc="Libraries and tools for the Bluetooth protocol stack" | |
| url="http://www.bluez.org/" | |
| arch=('i686' 'x86_64') | |
| license=('GPL2') |
| use std::collections::HashMap; | |
| use std::num::abs; | |
| pub struct Preference { | |
| name: String, | |
| flavors: HashMap<String, int> | |
| } | |
| impl Preference { | |
| pub fn compare_preference<'a>(&'a self, preferences: &'a[Preference]) -> Option<&'a str> { |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
The patch described below may no longer be necessary. CloudFlare instructions here. Perl module JSON::Any may still be required, however, see comments.
Dyn's free dynamic DNS service will be ending on Wednesday, May 7th, 2014.
CloudFlare, however, has a little known feature that will allow you to update your DNS records via API or a command line script called ddclient. This will
| #user nobody; | |
| worker_processes 1; | |
| #error_log logs/error.log; | |
| #error_log logs/error.log notice; | |
| #error_log logs/error.log info; | |
| #pid logs/nginx.pid; |