'/bin/sh: 1: bison: not found'
sudo apt-get install bison
sudo apt-get install bison
Error: xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist Use sudo xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools, or use xcode-select --install to install the standalone command line developer tools. See man xcode-select for more details. xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist Use sudo xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools, or use xcode-select --install to install the standalone command line developer tools. See man xcode-select for more details. ...
You’ve got two repositories with completely separate histories, and you need to bring them together. Maybe it’s an old project you’re absorbing into a new one, or a submodule that started life as its own thing. You try a standard git merge and Git immediately shuts you down: fatal: refusing to merge unrelated histories This isn’t a bug – it’s Git being cautious. When two branches share no common ancestor, Git assumes you’ve made a mistake and refuses to play along. But sometimes you genuinely want this merge, and there’s a flag for that. ...
Packer builds machine images. Ansible configures servers. Together, they let you bake your configuration straight into the image – no manual setup required after deployment. The Ansible provisioner in Packer runs your playbooks during the image build process. You write a normal Ansible playbook, point Packer at it, and when the image is ready, your software is already installed and configured. Note: If you specify a remote_user in your Ansible tasks, Packer will ignore it. The provisioner connects using the username from Packer’s own configuration. ...
SSHPass is a small command-line utility that lets you pass a password directly to an SSH connection, which means no interactive password prompt. Useful when you’re writing scripts that need to connect to remote machines without manual intervention. A word of warning before you go ahead: SSHPass is not secure. The password gets passed as a command-line argument, which means it can show up in process listings and shell history. It’s fine for personal automation on your own machines, but don’t use it in shared environments or anything that touches production systems. ...
What You Need Before You Begin Docker CE runs on a handful of 64-bit Ubuntu releases, so check you’re on one of these before carrying on: Ubuntu 18.04 (Bionic) - LTS Ubuntu 17.10 (Artful) Ubuntu 16.04 (Xenial) - LTS Ubuntu 14.04 (Trusty) - LTS The supported architectures are x86_64, armhf, s390x (IBM Z), and ppc64le (IBM Power). If you’re on IBM Z or Power, you’ll need at least Ubuntu 16.04 (Xenial). ...
I spent a good chunk of last week designing the architecture for a new service. On paper it was clean — well separated concerns, sensible boundaries, tests covering the happy paths. I felt good about it. Then someone asked what this service was going to become in two years time, and I realised I had no idea. Not because the design was bad, but because I had never really thought about it beyond the project itself. I had optimised for getting something built, not for where it was going. ...
It seems that perfection would be attained not when there is no longer anything to add, but when there is no longer anything to take away. —Antoine de St. Exupery, Terre des Hommes, 1939 I keep coming back to this one. Not because it is particularly deep — we have all heard the version about a masterpiece being complete when there is nothing left to add — but because it got me thinking about the opposite direction, which is the one I actually find harder. ...
Ultimately DevOps is an organisational transformation.
“We are called to be architects of the future, not its victims.” I came across this quote from Buckminster Fuller a few days ago and it has been sitting with me ever since. Not because it is profound in some new way — I have heard variations of it before — but because it feels increasingly urgent to actually live by it rather than just nod along. The way I read it now, trying to figure out what to do with my life, is less about grand architectural visions and more about the small daily choices that add up to whatever kind of future I end up with. It is easy to drift. It is easy to let other people’s plans for you, or the general momentum of things, carry you somewhere you did not choose. And then one day you look up and you are somewhere you never intended to be and you wonder how that happened. ...