This widget displays the current time as a 12-hour clock.
Open a shell and run this command from the root of your dashing project:
dashing install 6e2f80b4812c5b9474f3| /* Solarized Dark | |
| For use with Jekyll and Pygments | |
| http://ethanschoonover.com/solarized | |
| SOLARIZED HEX ROLE | |
| --------- -------- ------------------------------------------ | |
| base03 #002b36 background | |
| base01 #586e75 comments / secondary content |
| file_line { 'omniauth_crowd-gem': | |
| path => '/opt/gitlab/embedded/service/gitlab-rails/Gemfile', | |
| line => 'gem "omniauth_crowd", "2.2.2"', | |
| require => Package['gitlab'] | |
| } | |
| file_line { 'patch-devise-rb': | |
| path => '/opt/gitlab/embedded/service/gitlab-rails/config/initializers/devise.rb', | |
| line => " provider_arguments << provider['args'].symbolize_keys", | |
| match => "^ provider_arguments << provider\\['args'\\]\$", |
| class ChefRunner < FPM::Cookery::Recipe | |
| GOPACKAGE = "github.com/mlafeldt/chef-runner" | |
| name "chef-runner" | |
| version "0.8.0" | |
| revision 1 | |
| source "https://#{GOPACKAGE}/archive/v#{version}.tar.gz" | |
| sha256 "a7de23f989f8353ecf838b551a8ceff09b83c8aeff2553b2c31d57615f8fcc53" | |
| description "The fastest way to run Chef cookbooks" |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # This script is a simple wrapper which prefixes each i3status line with custom | |
| # information. It is a python reimplementation of: | |
| # http://code.stapelberg.de/git/i3status/tree/contrib/wrapper.pl | |
| # | |
| # To use it, ensure your ~/.i3status.conf contains this line: | |
| # output_format = "i3bar" | |
| # in the 'general' section. |
This is a pretty opinionated solution that we use internally. It's strictly designed to post to slack via the API and it uses our notion of wrapping EVERYTHING with a role. All of our plugins automatically use brain storage as well. To be able to execute anything with hubot, you have to be a rundeck_admin role user.
You should be able to tease out the rundeck API stuff specifically.
It depends on a common format for your job defs in rundeck. We have two types of jobs in rundeck that we use via this plugin:
ALL of our jobs have a common parameter called slack_channel. Hubot will automatically set this for you based on where/who it was talking to.
| - What do Etcd, Consul, and Zookeeper do? | |
| - Service Registration: | |
| - Host, port number, and sometimes authentication credentials, protocols, versions | |
| numbers, and/or environment details. | |
| - Service Discovery: | |
| - Ability for client application to query the central registry to learn of service location. | |
| - Consistent and durable general-purpose K/V store across distributed system. | |
| - Some solutions support this better than others. | |
| - Based on Paxos or some derivative (i.e. Raft) algorithm to quickly converge to a consistent state. | |
| - Centralized locking can be based on this K/V store. |
Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)