bundle config build.mysql2 \
--with-mysql-config=/usr/local/opt/[email protected]/bin/mysql_config \
--with-ldflags=-L/usr/local/opt/openssl/lib \
--with-cppflags=-I/usr/local/opt/openssl/include
With the arrival of our little one, I wanted a way to be able to monitor him in his crib while I'm at my desk. I already have a Raspberry Pi with its own 7" monitor and figured I'd put it to work (the Pi, not the baby :P).
My Pi sits on my desk with a minature keyboard and trackpad nearby, but usually they are stowed away as I access it remotely from my laptop. I also have some commands hooked into Siri so I can start and stop the monitor via voice commands.
This setup assumes that like me, you will also want to start and stop the monitor via some external mechanism. If you keep a keyboard and mouse plugged into your Pi and use it as a desktop, you may just as well skip this setup and simply run VLC with the URL of your camera's RTSP stream.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- Creates an application hotkey. | |
-- | |
function bind_hotkey(mods, key, name) | |
return hs.hotkey.bind(mods, key, name, function () | |
hs.application.open(name) | |
end) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Habitus < Formula | |
desc "A standalone build flow tool for Docker" | |
homepage "http://www.habitus.io" | |
head "https://github.com/cloud66/habitus.git" | |
depends_on "go" => :build | |
def install | |
contents = Dir["{*,.git,.gitignore}"] | |
gopath = buildpath/"gopath" |