Create a scraper on morph.io that, for each NSW fire area, collects:
- the name of the area
- fire danger level and total fire bans for today and tomorrow
- the list of councils effected
# this stuff just allows you | |
# to run the script outside ScraperWiki | |
begin | |
ScraperWiki | |
rescue NameError | |
require 'rest_client' | |
ScraperWiki = Class.new do | |
def self.scrape(url) | |
RestClient.get(url) |
desc "switch rails logger to stdout" | |
task :verbose => [:environment] do | |
Rails.logger = Logger.new(STDOUT) | |
end | |
desc "switch rails logger log level to debug" | |
task :debug => [:environment, :verbose] do | |
Rails.logger.level = Logger::DEBUG | |
end |
There are some words which carry with them the baggage of sexism and ableism and so they're words we've chosen to avoid using within our community.
We realise that sometimes SlackBot might get a bit over-eager and correct you when you intentionally chose that word and it is appropriate. That's okay, but we find that in most cases, SlackBot's reminders help us choose our words with intention and promote a more inclusive and welcoming space.
There are plenty of other words that you can use which can still convey the meaning you're looking for. Sometimes it might require a bit of creativity, but trust us – it can be done.
We don't assume you were intentionally being sexist or ableist. Our language is littered with the legacy of unfortunate cultural baggage. You might not even believe that there's a problem with the word you used. That's cool, but we don't use that word here.
-- Suppress output during configuration (re-enabled at bottom of this file) | |
\set QUIET 1 | |
-- Set client encoding to UTF8 (to match what is on the server) | |
\encoding UTF8 | |
-- Work in UTC | |
SET SESSION timezone TO 'UTC'; | |
-- Verbose feedback |