I hereby claim:
- I am mrchrisadams on github.
- I am mrchrisadams (https://keybase.io/mrchrisadams) on keybase.
- I have a public key whose fingerprint is 955D 2C58 DA80 1520 A74B 6AF6 EFA0 48A3 282F 79EB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Hi guys,
This weekend, I tried to get a version of the amee platform running locally, and spent a bit of time looking through the code, and trying to understand what it would take to get it running on new infrastructure.
As such, I'm sharing this summary of what shape the various bits are in.
Can you chime in where this summary needs any corrections?
| <?php | |
| // ""?tag=keyword" will show postd matching a keyword, | |
| // but "?m=2013" shows all posts, with no critera | |
| // any ideas? | |
| ?> | |
| <?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
| <!-- show posts --> | |
| <?php endwhile; ?> |
| 3,5c3 | |
| < bucket_location = US | |
| < cloudfront_host = cloudfront.amazonaws.com | |
| < cloudfront_resource = /2010-07-15/distribution | |
| --- | |
| > bucket_location = IS | |
| 17d14 | |
| < gpg_passphrase = | |
| 19,20c16,17 | |
| < host_base = s3.amazonaws.com |
I travel a lot by train these days in Europe, and I'd prefer to avoid printing tickets onto paper if I can.
Instead, I tend to have the PDF of the ticket on an iPad, and show that to the train attendant, for them to scan with their barcode scanning contraption.
I've used thissuccessfully going both ways now, but I get some funny looks from some train staff, and I want to be able to point to the terms of service to show this is all above board.
Sadly, my German is embarassingly bad at the moment, so I'm unable to decipher the terms of service myself. I think I can, but I'd rather have some confirmation from another human.
Here's the link to what I think are Deutche Bahn's terms of service for using these PDF tickets:
| lovely_client_project | |
| ├── Vagrantfile | |
| ├── cruft | |
| │ ├── db.dump.sql | |
| │ └── todo.txt | |
| ├── docs | |
| │ ├── architecture.md | |
| │ ├── deployment.md | |
| │ ├── gocardless.md | |
| │ ├── installation.md |
| # Generated by Vagrant | |
| # loooong line | |
| main ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user=vagrant ansible_ssh_private_key_file=~/.vagrant.d/insecure_private_key host_key_checking=False | |
| [dev] | |
| main |
| import requests | |
| import json | |
| payload = {'text': "Chris messing about with slack's API" } | |
| jp = json.dumps(payload) | |
| requests.post('https://hooks.slack.com/services/GARBLEDSTRING1/GARBLEDSTRING1/GARBLEDSTRING1', | |
| data=payload) |
| --- | |
| env: production | |
| vagrant: false | |
| staging: false | |
| debug: False | |
| git_branch:master | |
| deploy_user_name: deploy | |
| deploy_user_ssh_priv_key_path: "files/deploy.key.pem" | |
| application_name: | |
| contact_us_emails: (sensitive) |
| --- | |
| - name: run aws-cli script to fetch csv file | |
| command: /home/{{ deploy_user }}/env/{{ app }}/bin/aws s3 cp {{ s3_download_path }} {{ csv_import_location }} | |
| args: | |
| creates: /var/www/my_app/data_imports/{{ csv_to_fetch }}.downloaded.txt | |
| # async: 1800 | |
| # poll: 10 | |
| sudo: no |