Skip to content

Instantly share code, notes, and snippets.

Ada Wright hipikat

Block or report user

Report or block hipikat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
hipikat / uwa-course-types.php
Created Jul 29, 2015
UWA Future Students course type keys
View uwa-course-types.php
// CourseType keys
// ---------------
// Undergraduate Courses
'MAJOR-DEG' => array('Undergraduate',''),
'MAJOR-SEC' => array('Undergraduate',''),
// Postgraduate Coursework
'G-PG-CERT' => array('Postgraduate','Graduate Certificates'),
hipikat /
Created Jul 14, 2015
Settings-setter function for Django projects
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()`.
hipikat / synergy_at_work
Last active Aug 29, 2015
Launch a Synergy client or server, over SSH tunnels, on a Mac
View synergy_at_work
# This is part of my 'At Work' Automator app.
# Requires a standard Synergy installation.
OFFICE_LOCATION='My Office (Ethernet)'
hipikat / gist:9560228
Last active Aug 29, 2015
Have Salt symlink a virtualenv's site-packages directory
View gist:9560228
.Symlink to site-packages in virtualenv '{{ deploy_name }}':
- 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
hipikat / gist:9409651
Created Mar 7, 2014
Hipikat's Keybase GitHub-proof Gist
View gist:9409651
### Keybase proof
I hereby claim:
* I am hipikat on github.
* I am 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:
You can’t perform that action at this time.