Skip to content

Instantly share code, notes, and snippets.

View bamaralf's full-sized avatar

Bruno Amaral bamaralf

View GitHub Profile
@dopiaza
dopiaza / slackpost
Created September 5, 2013 12:33
Post a message to a Slack channel
#!/bin/bash
# Usage: slackpost <token> <channel> <message>
# Enter the name of your slack host here - the thing that appears in your URL:
# https://slackhost.slack.com/
slackhost=PUT_YOUR_HOST_HERE
token=$1
@orieken
orieken / language.yaml
Created October 19, 2012 15:33
Example loading a yaml into an OpenStruct in ruby
english:
:already_registered: "Already registered?"
:change_my_password: "Change my password"
:change_password: "Change Password"
:code: "en"
:forgot_your_password: "Forgot your password"
:help: "Help"
:home: "Home"
:login: "Login"
:zip_code: "Zip Code"