Skip to content

Instantly share code, notes, and snippets.

View jclarkin's full-sized avatar

Jonathan Clarkin jclarkin

View GitHub Profile

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real

@jclarkin
jclarkin / RAILS_CHEATSHEET.md
Created December 9, 2020 15:15 — forked from mdang/RAILS_CHEATSHEET.md
Ruby on Rails Cheatsheet

Ruby on Rails Cheatsheet

Architecture

Create a new application

Install the Rails gem if you haven't done so before

@jclarkin
jclarkin / pg_constraints.sql
Last active October 18, 2019 15:37
Postgres: Display Indexes and Constraints for a specific Table
SELECT
nsp.nspname
, rel.relname
, con.*
FROM
pg_catalog.pg_constraint con
INNER JOIN pg_catalog.pg_class rel ON rel.oid = con.conrelid
INNER JOIN pg_catalog.pg_namespace nsp ON nsp.oid = connamespace
WHERE
nsp.nspname = '<schema name>'
@jclarkin
jclarkin / .bash_profile
Created October 7, 2015 14:03
Unix-style terminal prompt for OSX
export PS1="\[\033[32m\]\u@\h\[\033[m\]:\[\033[34;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
@jclarkin
jclarkin / GenUTPerformance.pl
Created August 31, 2015 16:25
Perl Script to Generate the Test History based on a collection of JUnit XML file inputs
#!/usr/local/bin/perl
#
# Build Historical Pass/Fail results on all unit tests
#
# Configurables
my $iType = "Geronimo"; # WLS or JBoss or Geronimo
my $iDirInput;
my $iDirOutput;
@jclarkin
jclarkin / TesterResources.md
Last active September 25, 2016 16:48
List of online resources for Software Testers

Associations & Online Communities

Canada

  • Calgary Software Quality Discussion Group, SQDG - www.sqdg.ca
  • Calgary Perspectives on Software Testing, POST - www.postworkshop.ca
  • Vancouver Software Quality Assurance User Group, VANQ - www.vanq.org
  • Toronto Association of Systems & Software Quality (TASSQ) - www.tassq.org
  • Kitchener Waterloo Software Quality Association (KWSQA) - www.kwsqa.org
@jclarkin
jclarkin / keybase.md
Created September 23, 2014 02:01
keybase.md

Keybase proof

I hereby claim:

  • I am jclarkin on github.
  • I am jclarkin (https://keybase.io/jclarkin) on keybase.
  • I have a public key whose fingerprint is AA84 64E9 0E5E AE40 A683 1B47 8A10 2363 BCE6 D4B0

To claim this, I am signing this object:

@jclarkin
jclarkin / SampleTest.java
Last active August 29, 2015 13:56
Selenium (Java) Video recorder for JUnit4. Just add a @rule to your JUnit class and specify on which states to record (Pass, Fail, Error).
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import ScreenRecorderRule;
/**