Skip to content

Instantly share code, notes, and snippets.

@melizeche
melizeche / install_pgAdmin4.sh
Last active June 1, 2020 17:45
Easy pgAdmin4 2.0 Installer with python3 for Ubuntu
#!/bin/bash
SP_PATH=$(python3 -m site --user-site)
URL="https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v2.0/pip/pgadmin4-2.0-py2.py3-none-any.whl"
ICON="https://www.postgresql.org/message-id/attachment/1139/pgAdmin.svg"
FILE=$(echo $URL | sed 's/.*\///')
#Install pip3
echo "Installing python3-pip if not installed..."
sudo apt install -y python3-pip
#Get pgAdmin4 Python Wheel
echo "Downloading pgAdmin4..."
@ryansobol
ryansobol / gist:5252653
Last active February 23, 2025 06:28
15 Questions to Ask During a Ruby Interview

Originally published in June 2008

When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.

To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.

What to expect

Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.