Skip to content

Instantly share code, notes, and snippets.

View peutetre's full-sized avatar
in a loop, building momo.coach

Paul Panserrieu peutetre

in a loop, building momo.coach
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@peutetre
peutetre / o.svg
Created April 3, 2023 10:04
autotrace output
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@peutetre
peutetre / machine.js
Created September 8, 2019 19:58
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@peutetre
peutetre / tarifa.json
Created October 15, 2015 08:55
cat ~/.config/configstore/tarifa.json
{
"author_name": "Plop Plop",
"author_email": "oops@oops.com",
"author_href": "http://42loops.com",
"keystore_path": "/Users/toto/mysuperkey.keystore",
"hockeyapp_token": "dsadsadsadsadsadsa",
"apple_id": "oops@oops.com",
"apple_developer_team": "XXXXXXXXXXX",
"plugins": [
{
@peutetre
peutetre / package.json
Created August 11, 2015 14:01
ionic package.json vs tarifa tarifa.json
{
"name": "myapp",
"version": "1.0.0",
"description": "myApp: An Ionic project",
"dependencies": {
"gulp": "^3.5.6",
"gulp-sass": "^1.3.3",
"gulp-concat": "^2.2.0",
"gulp-minify-css": "^0.3.0",
"gulp-rename": "^1.2.0"
@peutetre
peutetre / dump.json
Last active August 29, 2015 14:24
tarifa.json
{
"name": "few",
"id": "few.few",
"description": "",
"version": "0.0.0",
"platforms": [
"ios@3.8.0",
"android@4.0.2",
"browser@3.6.0",
"firefoxos@3.6.3"
var before = " #star:before{ border-bottom: 80px solid rgb(253,107,107); border-left: 30px solid transparent; border-right: 30px solid transparent; position: absolute; height: 0; width: 0; top: -45px; left: -65px; display: block; content: ''; -webkit-transform: rotate(-35deg); -moz-transform: rotate(-35deg); -ms-transform: rotate(-35deg); -o-transform: rotate(-35deg);}";
//https://css-tricks.com/examples/ShapesOfCSS/
var after = "#star:after { position: absolute; display: block; color: rgb(253,107,107); top: 3px; left: -105px; width: 0px; height: 0px; border-right: 100px solid transparent; border-bottom: 70px solid rgb(253,107,107); border-left: 100px solid transparent; -webkit-transform: rotate(-70deg); -moz-transform: rotate(-70deg); -ms-transform: rotate(-70deg); -o-transform: rotate(-70deg); content: ''; }";
var style = document.createElement('style');
style.type = 'text/css';
var cube = create({
width:'100px',
height:'100px',
backgroundColor:
'rgb(253,107,107)',
top: (height/2 - 50) + 'px',
left: (width/2 - 50) + 'px',
opacity: 0
});
/*
* cat curve
*/
var n = 60,
cos = Math.cos,
sin = Math.sin,
floor = Math.floor,
PI = Math.PI,
cat = function cat(t) {
@peutetre
peutetre / mixit
Last active August 29, 2015 14:16
mixit 2015
Titre : Applications mobiles hybrides avec tarifa.
Résumé : Découvrir la chaîne d'outils tarifa basée sur Apache Cordova
et dompter le workflow de développement des applications mobiles hybrides.
Vous le savez tous, Apache Cordova est la principale plateforme open source
pour construire des applications mobiles hybrides écrites en HTML, CSS et JavaScript.
Nous l'avons encapsulé dans une autre ligne de commande - tarifa.
Pourquoi le faire et comment l’utiliser ?