Ada Wright hipikat
- Perth, Western Australia
- Sign in to view email
- http://hipikat.org/
View uwa-course-types.php
<?php | |
// CourseType keys | |
// --------------- | |
// Undergraduate Courses | |
'MAJOR-DEG' => array('Undergraduate',''), | |
'MAJOR-SEC' => array('Undergraduate',''), | |
// Postgraduate Coursework | |
'G-PG-CERT' => array('Postgraduate','Graduate Certificates'), |
View util.py
def set_setting(name, default=None, evaluate=False, settings_mapping=None): | |
""" | |
Set the setting `name` from an environment variable named `DJANGO_(name)`, | |
if it exists, otherwise from the contents of `(BASE_DIR)/var/env/(name)`, | |
if it exists. | |
If `evaluate` is `True` or a value found in the environment or a file is | |
equal to `'True'` or `'False'` (the strings), the value will be passed | |
through `eval()`. |
View synergy_at_work
#!/bin/bash | |
# | |
# This is part of my 'At Work' Automator app. | |
# Requires a standard Synergy installation. | |
OFFICE_LOCATION='My Office (Ethernet)' | |
SERVER_HOSTNAME='my-computer' | |
SERVER_IP='10.11.12.13' | |
SERVER_CONF='/Users/hipikat/.synergy_at_work.conf' | |
CLIENT_PRIVATE_KEY='/Users/hipikat/.ssh/id_rsa' |
View gist:9560228
.Symlink to site-packages in virtualenv '{{ deploy_name }}': | |
cmd.run: | |
- name: ln -sf `{{ venv_path }}/bin/python -c 'import distutils; print({# -#} | |
{#- #} distutils.sysconfig.get_python_lib())'` {{ venv_path }}/site-packages | |
- creates: {{ venv_path }}/site-packages |
View gist:9409651
### Keybase proof | |
I hereby claim: | |
* I am hipikat on github. | |
* I am hipikat (https://keybase.io/hipikat) on keybase. | |
* I have a public key whose fingerprint is 975F 55E2 44F8 84CA 1B8D 55DD 0151 A45C 67B0 66D7 | |
To claim this, I am signing this object: |