I hereby claim:
- I am cwen0 on github.
- I am cwen (https://keybase.io/cwen) on keybase.
- I have a public key ASCRa-qUJDsaAWoXRaC0YDYzMxS3VnSjZVeQBbxXSzeD9Qo
To claim this, I am signing this object:
| import os, time | |
| def is_locked(filepath): | |
| """Checks if a file is locked by opening it in append mode. | |
| If no exception thrown, then the file is not locked. | |
| """ | |
| locked = None | |
| file_object = None | |
| if os.path.exists(filepath): | |
| try: |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # Configration | |
| MYSQL=/usr/bin/mysql | |
| TPCCLOAD=./tpcc_load | |
| TABLESQL=./create_table.sql | |
| CONSTRAINTSQL=./add_fkey_idx.sql | |
| DEGREE=`getconf _NPROCESSORS_ONLN` |