With an Ubuntu 14.04 standard AMI
Create 'app' user
$ sudo adduser --disabled-password app| sudo a2enmod proxy_http | |
| sudo service apache2 restart |
| # Put in /etc/X11/Xsession.d/45custom_randr-settings | |
| EXTERNAL_OUTPUT="VGA1" | |
| INTERNAL_OUTPUT="LVDS1" | |
| xrandr |grep $EXTERNAL_OUTPUT | grep " connected " | |
| if [ $? -eq 0 ]; then | |
| xrandr --output $INTERNAL_OUTPUT --off --output $EXTERNAL_OUTPUT --auto | |
| else | |
| xrandr --output $INTERNAL_OUTPUT --auto --output $EXTERNAL_OUTPUT --off |
| # /etc/init/xbmc-wiiremote.conf | |
| # xbmc-wiiremote - start service adding wii remote control for xbmc | |
| description "service adding wii remote control for xbmc" | |
| author "Cedric Darne" | |
| start on starting lightdm | |
| stop on stopped lightdm | |
| setuid xbmc |
| for f (*_full.png) { convert $f "$(basename $f .png).jpg" } |
L'API OGCA est une API publique qui présente les informations des colloques de l'AQUOPS. C'est une API HTTP REST au format JSON qui suit la spécification json:api.
Tous les accès se font par HTTPS depuis https://ogca.aquops.qc.ca/api/v1. Toutes les données sont envoyées et recues en JSON.
Les champs vides sont inclus avec la valeur null au lieu d'être omis.