Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ymollard's full-sized avatar
🐧
Art, engineering & digital training

Yoan Mollard ymollard

🐧
Art, engineering & digital training
View GitHub Profile
@ymollard
ymollard / logs_is.md
Last active December 3, 2017 16:29
Logs IS

Comportement des logs

Logs sous forme de liste d'événements stockés en mémoire vive à partir du clic sur "Touchez l'écran" jusqu'à l'un des trois événements ci-dessous qui déclenche l'enregistrement du fichier en JSON sur carte SD :

  • Timeout sur n'importe quel écran (timeout de 1min, cf le schéma au crayon de papier dans les specs AEI)
  • Clic sur "Arrêter" (event avec "choice": "abandon")
  • Partage Facebook réussi

En cas de I/O Error ou bien SDCard inexistant, ignorer silencieusement l'enregistrement des logs (ne pas crasher).

@ymollard
ymollard / Unity4Linux.md
Created January 17, 2018 23:54
Unity Editor for Linux
@ymollard
ymollard / IS_maintenance.svg
Created January 23, 2018 19:31
IS Maintenance
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ymollard
ymollard / subscript_operator_trick.c
Created January 25, 2018 18:18
Declare arrays for subscript operator in C
size_t len = 10;
int (*arr)[100][3] = malloc(len * sizeof *arr);
arr[9][99][2] = 123;
@ymollard
ymollard / del_containers.sh
Created May 23, 2018 13:07
Delete Docker containers and images
#!/bin/bash
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
@ymollard
ymollard / gpx_gpicsync.md
Created August 18, 2018 00:14
Generating GPX by hand and Geocoding pictures with GPicSync on Linux

Generating GPX by hand and Geocoding pictures with GPicSync

This reminder applies if you have pictures that need geocoding (e.g. to be uploaded on Mapillary) but you have no GPX file. We assume you have captured pictures alonside a path from a start point to an en point and that you are able to redraw this path precisely on a map. The first step will be to generate manually a GPX file, then to synchronize it with your pictures thanks to timestamps, and then GPicSync will geocode.

  1. Download GPicSync, install dependencies and make sure you can run the GUI with Python 2, e.g. python2 gpicsync-GUI.py
  2. Draw you actual path on https://geojson.net/ with these recommandations:
  • Place points at every key location, e.g. when you turned or passed in front of a remarkable location that is easy to distinguish visually on pictures (building, square, monuments...)
  • Find a good compromise between numerous points (= very accurate pat
@ymollard
ymollard / xcode_provisioning.md
Last active August 26, 2018 16:09
XCode provisionging/signing mess

Problem

AppName has conflicting provisioning settings.
AppName is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity value to iPhone Developer in the build settings editor, or switch to manual signing in the project editor.`

Solution

  1. In left section, double click the project name to open the project editor
  2. In left section, Select the project (AF), select Build settings, then All and Combined
  3. In Signing section select iOS Developer for all entries within Code Signing identity
  4. In left section, Select the target (AF), select Build settings, then All and Combined
@ymollard
ymollard / IRC_search.md
Created September 16, 2018 22:38
Search IRC channels

Finding Channels on freenode

/msg alis LIST *searchterm*
@ymollard
ymollard / frontage-release-notes.md
Last active October 1, 2018 18:56
Arbalet Frontage Release Notes

Backend versions

release-1.3.0 [01/10/2018]

  • Added "Freehand Drawing" app
  • Improved stability of AMQP connection and redis
  • Bigger joysticks
  • i18n of workshops only in frontend
  • Fixed CRLF issues on Windows

release-1.2.0 [23/09/2018]

  • Higher stability on time (no AMQP heartbeat)
  • Manunal service restart feature
@ymollard
ymollard / k1000C.md
Last active July 24, 2019 11:55
k1000C for UCS512C

UCS512

  1. Use 2 signal wiring diagram
  2. Power on the K-1000C
  3. Keep CHIP pressed and press MODE
  4. Select 64 (UCS512C) with button CHIP
  5. With SPEED+ and SPEED- buttons, select the address gap between UCS512C (3 for RGB)
  6. Press MODE... AAA means it's setting addresses
  7. When A000 is displayed, pressing MODE again scans all fixtures and lit them in white (R=512, G=512, B=512)