Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It helps to rewrite/reformat and make consistent the `baggers.js` file. ```sh node rewrite/rewrite.js rewrite/rewrite.js ``` It will generate a file named `rewrite/baggers-new.js` which is git ignored. The script: * moves `tags` under each talk, which means that every speaker will have then to modify its talks if tags are incorrects * normalized the `name` by uppercasing each first letter and lowercasing the other letters. * normalized website titles. We check for `LinkedIn`, `GitHub`, `Podcast`, `Google+`, `Slideshare`, `Hopwork`, `Book`, `InfoQ` and `Viadeo`. Other titles are set to `Web` * contact is now an object which contains two fields: * `type`: facultative. No data mean `mail`. If no contact was provided, it fallbacks to `twitter`. * `url`: the email address is provided, the twitter handle otherwise For example, `Gregory Estrade` will be modified from: ```json { "since": "2015-09-24", "name": "Gregory Estrade", "bio": "Directeur R&D de Lyra-Network, software & hardware hacker, reverse-engineer, philosophe agile auto-proclamé. Ou Disruptive Innovation Lead Strategist, Instant Expert in Everything, ça dépend. Membre de l'association Silicium de préservation du patrimoine micro-informatique.", "picture": "http://torlus.github.io/hat_pro.png", "websites": [ { "title": "Home Page", "href": "http://lvt.tl/" }, { "title": "GitHub", "href": "https://github.com/Torlus" }, { "title": "Silicium", "href": "http://www.silicium.org/" } ], "twitter": "Torlus", "contact": "gregory.estrade@gmail.com", "mail": "gregory.estrade@gmail.com", "location": "Toulouse", "sessions": [ { "title": "Les nouveaux enjeux du paiement.", "summary": "Etat de l'art, sécurité, les moyens de paiement et leur avenir, les enjeux du click-and-mortar, SEPA, marketplaces." }, { "title": "IoT, software & hardware hacking, FPGA.", "summary": "Vous aimez bricoler, prototyper? Moi aussi. Invitez-moi pour de l'aide ou du conseil sur un sujet de votre choix." }, { "title": "Café philosophique, agilité, histoire de l'informatique.", "summary": "Ayant eu depuis 30 ans les mains sur un clavier (En commençant sur un TRS-80) et étant membre de l'association Silicium, je vous propose de deviser autour de tout ce qui fait l'actualité, et qui tend à montrer que quoi qu'on fasse, l'histoire vient souvent à se répéter." } ], "tags": [ "Software development", "Hardware hacking", "Optimisation", "Telecom & Réseau", "FPGA", "Philosophie", "Agilité" ], "cities": [ "Toulouse" ] } ``` to: ```json { "since": "2015-09-24", "name": "Gregory Estrade", "bio": "Directeur R&D de Lyra-Network, software & hardware hacker, reverse-engineer, philosophe agile auto-proclamé. Ou Disruptive Innovation Lead Strategist, Instant Expert in Everything, ça dépend. Membre de l'association Silicium de préservation du patrimoine micro-informatique.", "picture": "http://torlus.github.io/hat_pro.png", "websites": [ { "name": "Web", "url": "http://lvt.tl/" }, { "name": "GitHub", "url": "https://github.com/Torlus" }, { "name": "Web", "url": "http://www.silicium.org/" } ], "twitter": "Torlus", "location": "Toulouse", "sessions": [ { "title": "Les nouveaux enjeux du paiement.", "abstract": "Etat de l'art, sécurité, les moyens de paiement et leur avenir, les enjeux du click-and-mortar, SEPA, marketplaces.", "tags": [ "Software development", "Hardware hacking", "Optimisation", "Telecom & Réseau", "FPGA", "Philosophie", "Agilité" ] }, { "title": "IoT, software & hardware hacking, FPGA.", "abstract": "Vous aimez bricoler, prototyper? Moi aussi. Invitez-moi pour de l'aide ou du conseil sur un sujet de votre choix.", "tags": [ "Software development", "Hardware hacking", "Optimisation", "Telecom & Réseau", "FPGA", "Philosophie", "Agilité" ] }, { "title": "Café philosophique, agilité, histoire de l'informatique.", "abstract": "Ayant eu depuis 30 ans les mains sur un clavier (En commençant sur un TRS-80) et étant membre de l'association Silicium, je vous propose de deviser autour de tout ce qui fait l'actualité, et qui tend à montrer que quoi qu'on fasse, l'histoire vient souvent à se répéter.", "tags": [ "Software development", "Hardware hacking", "Optimisation", "Telecom & Réseau", "FPGA", "Philosophie", "Agilité" ] } ], "cities": [ "Toulouse" ], "contact": { "url": "gregory.estrade@gmail.com" } } ``` Related to brownbaglunch#65.
- Loading branch information