I hereby claim:
- I am jeanfrancis on github.
- I am jeanfrancis (https://keybase.io/jeanfrancis) on keybase.
- I have a public key ASCjjQkPrU5BQV_4ezjwC7ggtHpio3-mO75ya_hUcN1Iygo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
"select-user-type.who_you_are": "Qui etes vous? (selectionnez maintenant,vous pouvez changer plustard)", | |
"select-user-type.who_you_are_desc": "At the very beginning user must select type, so we're asking if the user is taxi driver or passenger", | |
"select-user-type.driver": "Chauffeur", | |
"select-user-type.driver_desc": "User can be either taxi driver, or passenger. User selects this option at the very beginning.", | |
"select-user-type.passenger": "Passager", | |
"select-user-type.passenger_desc": "User can be either taxi driver, or passenger. User selects this option at the very beginning.", | |
"request-phone.type_your_phone": "Merci de taper votre numero de telephone. Il ne sera pas partage a tiers sans permission.", | |
"request-phone.type_your_phone_desc": "This message is displayed when we ask users to send their phone number before they can use our services.", | |
"request-phone.button_text": "Envoyer numero", |
I wanted to set up one of my Raspberry Pi's as a data dashboard, pushing sensor data to a web interface that's easy to digest. I decided to use Shopify's Dashing framework. Dashing is based on Sinatra, and is pretty lightweight.
Dashing does require Ruby 1.9.3 to run. In addition, it makes use of the execjs
gem, which needs to have a working Javascript interpreter available. Originally, I tried to get therubyracer working, but decided to switch over to Node.js when I ran into roadblocks compiling V8.
One warning: The RPi is a very slow system compared with modern multi-core x86-style systems. It's pretty robust, but compiling all this complex software taxes the system quite a bit. Expect that it's going to take at least half a day to get everything going.
#!/bin/bash | |
################################################################################################ | |
################################################################################################ | |
################################################################################################ | |
## | |
## Basic Ubuntu 12.04 Unattended Bootstrap for Munin | |
## | |
## Author: Allan Parsons ([email protected]) | |
## |
1. Download the plugin from: https://github.com/sensu/sensu-community-plugins/blob/master/handlers/remediation/sensu.rb | |
2. Create the handler definition: | |
{ | |
"handlers": { | |
"remediator": { | |
"type": "pipe", | |
"command": "/etc/sensu/handlers/remediator.rb" | |
} | |
} | |
} |
{ | |
"checks": { | |
"seyren_check": { | |
"command": "/etc/sensu/plugins/check-procs.rb -p PROC", | |
"interval": 10, | |
"subscribers": ["SUB"], | |
"handlers": ["remediator","pagerduty"], | |
"occurrences": 1, | |
"refresh": 10, | |
"remediation": { |
{ | |
"checks": { | |
"check_something": { | |
"command": "ps aux | grep cron", | |
"interval": 60, | |
"subscribers": ["application_server"], | |
"handlers": ["debug", "irc", "remediator"], | |
"remediation": { | |
"light_remediation": { | |
"occurrences": [1, 2], |
Live demo: http://dashing-map.herokuapp.com/
Created by: @andmcgregor
Uses the Google Maps API to display latitude and longitude coordinates.
Dashing widget to display Outlook calendar events Gets all the events over the next two days, and display the two next ones
Live demo:
Verifying I am +jeanfrancis on my passcard. https://onename.com/jeanfrancis |