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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from flask import Flask | |
from flaskext.sqlalchemy import SQLAlchemy | |
from werkzeug.security import generate_password_hash | |
from werkzeug.security import check_password_hash | |
from sqlalchemy.orm.exc import NoResultFound | |
app = Flask(__name__) |
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
10/09/2013 12:33:34;0002; pbs_mom.1199;Svr;Log;Log opened | |
10/09/2013 12:33:34;0002; pbs_mom.1199;Svr;pbs_mom;Torque Mom Version = 4.1.5, loglevel = 0 | |
10/09/2013 12:33:34;0002; pbs_mom.1200;Svr;setpbsserver;torque-headnode-63079663-10-09-13 | |
10/09/2013 12:33:34;0002; pbs_mom.1200;Svr;mom_server_add;server torque-headnode-63079663-10-09-13 added | |
10/09/2013 12:33:34;0002; pbs_mom.1200;Svr;usecp;*:/glusterfs/users /glusterfs/users | |
10/09/2013 12:33:34;0002; pbs_mom.1200;Svr;setloglevel;4 | |
10/09/2013 12:33:34;0002; pbs_mom.1200;n/a;initialize;independent | |
10/09/2013 12:33:34;0080; pbs_mom.1200;Svr;pbs_mom;before init_abort_jobs | |
10/09/2013 12:33:34;0002; pbs_mom.1200;Svr;pbs_mom;Is up | |
10/09/2013 12:33:34;0002; pbs_mom.1200;Svr;setup_program_environment;MOM executable path and mtime at launch: /usr/local/sbin/pbs_mom 1363720006 |
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
#!/usr/bin/env bash | |
# | |
# Fix virtualenv symlinks after upgrading python with Homebrew and then running | |
# `cleanup`. | |
# | |
# After upgrading Python using Homebrew and then running `brew cleanup` one can | |
# get this message while trying to run python: | |
# dyld: Library not loaded: @executable_path/../.Python | |
# Referenced from: /Users/pablo/.venv/my-app/bin/python | |
# Reason: image not found |