Skip to content

Instantly share code, notes, and snippets.

View henare's full-sized avatar

Henare Degan henare

View GitHub Profile
@jscheid
jscheid / .psqlrc
Last active March 6, 2024 21:58
My ~/.psqlrc
-- 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

We don't use that word here

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.

@jameslafa
jameslafa / debug.rake
Created July 11, 2016 12:58
Easily debug rake task
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
@equivalentideas
equivalentideas / webscraping_workshop_links.md
Last active August 23, 2017 02:13
Introduction to Web Scraping Workshop
# 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)