- https://github.com/basecamp/pow/issues/73
remove .envrc from ~/Library/Application Support/Pow/Versions/0.4.X/lib/rack_application.js
$ touch .powrc
$ echo 'eval "$(direnv export bash)”;’ > .powrc
$ chmod +x .powrc
Google turned periodic email updates as a process into a scalable management solution, leveraging technology, through automation, data storage and data retrieval. An individual’s Snippets are transparent across the organization and are linked to an individual’s internal resume in its MOMA system which connects individual employees to the work of team members and others within the company. It can kill political squabbles, the core problem of people management, by providing a record of what’s been done.
Put differently, Snippets is a management process that scales because transparency means that individual engineers can manage themselves and individual engineers can manage each other without having to go through a middleman. It’s the disruptive power of peer-to-peer for management centered around atomic units of work.
Silicon Valley’s focus of work around the work itself is still an ongoing
http://ulozto.net/xnvgH92b/skype-6-6-0-106-by-salwoh-exe |
# lib/capistrano/tasks/slack.rake | |
# install slack-notifier gem | |
# include this file into your lib/capistrano/tasks/ folder | |
# add this line to the end of your Capfile: | |
# Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r } | |
# deploy with: | |
# MSG='fixing that payment bug...' cap staging deploy | |
class SlackNotifierWrapper |
# quick script to give files an index calculated from a table of contents file | |
class Renamer | |
COMMON_STRING = 'Series Name by Author Name' | |
def run | |
actual.content.each do |file| | |
clean_file = file.gsub(COMMON_STRING, '') | |
to = wished.wished_file_for_file(clean_file) | |
cmd = "mv '#{file}' #{to}" | |
puts cmd | |
`#{cmd}` |
#!/usr/bin/env ruby -wKU | |
require 'yaml' | |
class Generator | |
def run | |
300.times do |i| | |
File.open(name(i), 'w') do |f| | |
f.puts Article.new.content | |
end | |
end |
require 'benchmark' | |
require 'json' | |
HASH = {'a'=>1, 'b'=>[1,2,3]} | |
class Roda | |
class << self | |
attr_accessor :opts | |
end | |
end |
defmodule Duration do | |
@moduledoc """ | |
This duration module parses and formats strings | |
for a time duration in hours and minutes and | |
optionally seconds (e.g. 01:00 for an hour, | |
00:01:10 for one minute and ten seconds). | |
""" | |
@match ~r/^(?<hour>\d{1,2}):(?<min>\d{1,2}):?(?<sec>\d{0,2})$/ | |
def parse(string) do |
Currently, there is an explosion of tools that aim to manage secrets for automated, cloud native infrastructure management. Daniel Somerfield did some work classifying the various approaches, but (as far as I know) no one has made a recent effort to summarize the various tools.
This is an attempt to give a quick overview of what can be found out there. The list is alphabetical. There will be tools that are missing, and some of the facts might be wrong--I welcome your corrections. For the purpose, I can be reached via @maxvt on Twitter, or just leave me a comment here.
There is a companion feature matrix of various tools. Comments are welcome in the same manner.
defmodule StageInspector do | |
alias Experimental.{GenStage} | |
use GenStage | |
def init(type) when type in [:consumer, :producer_consumer] do | |
{type, type} | |
end | |
def handle_events(events, _from, state = :consumer) do | |
Enum.each events, &inspect_event/1 |