Skip to content

Instantly share code, notes, and snippets.

View gorille's full-sized avatar

Sebastien gorille

View GitHub Profile
@gorille
gorille / flow.json
Created April 7, 2018 07:25
node-red flow pour allumage des lumières
[{"id":"662b218b.af26f","type":"tab","label":"allumage lumiere"},{"id":"e890db3a.122108","type":"tab","label":"telecommande"},{"id":"b5f5f665.32edd8","type":"mqtt-broker","z":"","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""},{"id":"e395c8c0.fc30f8","type":"mqtt in","z":"662b218b.af26f","name":"allume la lumiere","topic":"hermes/intent/lightsTurnOnSet","qos":"2","broker":"b5f5f665.32edd8","x":179.5,"y":316,"wires":[["f5f3518a.aa59b8","cd0d2fd6.3a9bd"]]},{"id":"b82ff289.526d2","type":"rpi-gpio out","z":"662b218b.af26f","name":"","pin":"7","set":true,"level":"0","out":"out","x":663.5,"y":476,"wires":[]},{"id":"f5f3518a.aa59b8","type":"debug","z":"662b218b.af26f","name":"","active":true,"console":"false","complete":"false","x":778.5,"y":358,"wires":[]},{"id":"cd0d2fd6.3a9bd","type":"function","z":"662b218b.af26f","name":"1","func":"msg.payload=1\nr
http://protectiondesoiseaux.be/wp-content/uploads/2016/02/Renard-8.jpg
http://farm5.staticflickr.com/4061/4705069959_6eacab155d_z.jpg
http://dinosoria.com/mammifere/renard-commun.jpg
http://especesmenacees.ca/medias/renard-dreamstime-784657-g.jpg
http://i61.servimg.com/u/f61/16/21/35/55/renard10.jpg
https://c1.staticflickr.com/9/8324/8078658375_765fa1c9a6_b.jpg
http://www.dinosoria.com/wallpaper/images/renard-roux_jpg.jpg
https://animal.cheloniophilie.com/ImagesAnimal/Renard-roux/Renard.jpg
http://farm8.staticflickr.com/7172/6449265431_a1fea6b1d8_z.jpg
http://www.zooecomuseum.ca/app/uploads/images/animaux-mamipheres/renard-roux_2-claude-lafond.jpg
http://farm7.staticflickr.com/6211/7012184519_f968393181_z.jpg
https://sparroworks.files.wordpress.com/2009/03/renard-roux-8-b-p.jpg
https://farm9.staticflickr.com/8524/8517263490_93e33226d6_o_d.jpg
http://www.richarddumoulin.com/photos/wildlife-nature/animals-animaux/Red_fox-Renard_roux-Vulpes_vulpes/Red_fox-Renard_roux-Vulpes%20vulpes_A44K5522.jpg
http://www.hotel-r.net/im/hotel/fr/le-renard-5.jpg
https://www.cacklehatchery.com/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/r/a/rainy_sunday_morning_038_2_1_.jpg
https://www.cacklehatchery.com/media/catalog/product/cache/1/small_image/210x/9df78eab33525d08d6e5fb8d27136e95/b/r/brown_leghorn_std_rooster_1_.jpg
https://www.cacklehatchery.com/media/catalog/product/cache/1/small_image/210x/9df78eab33525d08d6e5fb8d27136e95/a/w/aw_rooster.jpg
http://webiconspng.com/wp-content/uploads/2017/09/Chicken-PNG-Image-18535.png
https://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Poule%2C_d%C3%A9tail.JPG/220px-Poule%2C_d%C3%A9tail.JPG
@gorille
gorille / poules.txt
Created February 4, 2018 19:09
images de poules
https://magasinsaveve.be/-/media/Sites/Shared/Pcm%20Digital%20Assets/b/e/8/be844293814746e1a30ba5b6015611b1.jpg?w=&h=&bc=&hash=014BD2B60FADB4C43C1D8FF3A4E80E642046DDA6
https://magasinsaveve.be/-/media/Sites/Shared/Pcm%20Digital%20Assets/e/6/1/e612f8a746024094b5cda5b601562803.jpg?w=&h=&bc=&hash=CE748E871B9DB06B2C05B0298927B8457AE6123A
https://magasinsaveve.be/-/media/Sites/Shared/Pcm%20Digital%20Assets/4/1/d/41debaac5e9e47e1b54ba5b60156283c.jpg?w=&h=&bc=&hash=07405CEAB2085B3EF7CEB87B0A1F8E50BF16FFB9
https://magasinsaveve.be/-/media/Sites/Shared/Pcm%20Digital%20Assets/1/a/d/1adbbc354b2b455ba28aa5b601562866.jpg?w=&h=&bc=&hash=0137F027A29AFB8F266BD6B9FAE58661580DECB4
https://magasinsaveve.be/-/media/Sites/Shared/Pcm%20Digital%20Assets/c/7/1/c7193b78a12c4f1db643a5b60156288b.jpg?w=&h=&bc=&hash=C97EF971B7810B927E3AAD31CA6310B5368A4D3D
https://magasinsaveve.be/-/media/Sites/Shared/Pcm%20Digital%20Assets/a/a/f/aafb32f1186e4f2cbc90a5b6015627cb.jpg?w=&h=&bc=&hash=76D92D6E64E990ECBC87D85030C52FDB67563431
https://www.farm
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: my-nginx
spec:
replicas: 2
template:
metadata:
labels:
run: my-nginx
@gorille
gorille / templater.rb
Last active January 17, 2016 20:29
skeleton for cutom templating dsl
require "docile"
require "highline/import"
require "erubis"
class MenuGenerator
attr_reader :questions, :fragments
def initialize
@questions = {}
<resultSet><row><itno>TESTSEB</itno><grppro>GAGNE</grppro></row></resultSet>