brew cask
brew tap homebrew/cask-fonts
brew install font-fira-code
brew install font-Fira-Code-nerd-font
brew install font-hack-nerd-font
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[steam-in-home-streaming] | |
title=Steam-In-Home-Streaming | |
description=Steam In-Home Streaming | |
ports=27031/udp|27036/udp|27036/tcp|27037/tcp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
NewerOlder