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
function virtenv() | |
{ | |
VENVDIR=~/pyvenv | |
VENVACT=${VENVDIR}/${1}/bin/activate | |
if [ -f ${VENVACT} ] | |
then | |
source ${VENVACT} | |
else | |
echo "Invalid virtualenv directory." | |
ls -l ${VENVDIR} |
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
--load the schema in a postres database | |
-- to make a carbonara run | |
-- SELECT make_carbonara_please(); | |
DROP TABLE IF EXISTS ingredients; | |
DROP TABLE IF EXISTS boiling_pot; | |
DROP TABLE IF EXISTS frying_pan; | |
DROP TABLE IF EXISTS mixing_bowl; | |
CREATE TABLE boiling_pot | |
( |