Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. I recently answered a question from Harsha Nalore on StackOverflow that involved using Ansible to extract the output of a command sent to a BigIP device of some sort.

  2. New comment system

    As long as I’m switching site generators, it seems like a good idea to refresh the comment system as well.

  3. New static site generator

    I’ve switched my static site generator from Pelican to Hugo.

  4. Update 2019-05-09 Pull request #55816 has merged, so you can now use sudo with the docker connection driver even when sudo is configured to require a password.

  5. Writing Ansible filter plugins

    I often see questions from people who are attemping to perform complex text transformations in their Ansible playbooks.

  6. A common problem for folks working with Docker is accessing resources which require authentication during the image build step.

  7. Say you have a simple bit of code: #include <avr/io.h> #include <util/delay.h> #define LED_BUILTIN _BV(PORTB5) int main(void) { DDRB |= LED_BUILTIN; while (1) { PORTB |= LED_BUILTIN; // turn on led _delay_ms(1000); // delay 1s PORTB &= ~LED_BU…

  8. ATOMIC_BLOCK magic in avr-libc

    The AVR C library, avr-libc, provide an ATOMIC_BLOCK macro that you can use to wrap critical sections of your code to ensure that interrupts are disabled while the code executes.

  9. Pssst!

  10. How big is an enum?

  11. This is the third of three posts about using gdb and simavr to debug AVR code.

  12. This is the second of three posts about using gdb and simavr to debug AVR code.

  13. In a case of awful timing, after my recent project involving some attiny85 programming I finally got around to learning how to use simavr and gdb to help debug my AVR code.

  14. PiPower: A Raspberry Pi UPS

    I have a Raspberry Pi running RetroPie hooked up to a television.

  15. The Pi Zero (and Zero W) have support for acting as a USB gadget: that means that they can be configured to act as a USB device – like a serial port, an ethernet interface, a mass storage device, etc.

  16. Bitwarden is a password management service (like LastPass or 1Password).

  17. Recent releases of Raspbian have adopted the use of dhcpcd to manage both dynamic and static interface configuration.

  18. CircuitPython is “an education friendly open source derivative of MicroPython”.

  19. The DS18B20 is a popular temperature sensor that uses the 1-Wire protocol for communication.

  20. Using Docker macvlan networks

    A question that crops up regularly on #docker is “How do I attach a container directly to my local network?”

  21. On IRC – and other online communities – it is common to use a “pastebin” service to share snippets of code, logs, and other material, rather than pasting them directly into a conversation.

  22. In this article, we’re going to ask Gnocchi (the OpenStack telemetry storage service) how much memory was used, on average, over the course of each day by each project in an OpenStack environment.

  23. You can list iptables rules with rule numbers using the --line-numbers option, but this only works in list (-L) mode.

  24. Pelican and theme update

    I’ve just refreshed the version of Pelican used to generate this blog, along with the associated themes and plugins.

  25. I find myself working with Raspbian disk images fairly often.

  26. The other day on #ansible, someone was looking for a way to safely shut down a Nova server, wait for it to stop, and then start it up again using the openstack cli.

  27. I was recently working on a project in which I wanted to drive a simple piezo buzzer attached to a GPIO pin on a Raspberry Pi.

  28. At $JOB we often find ourselves at customer sites where we see the same set of basic problems that we have previously encountered elsewhere (“your clocks aren’t in sync” or “your filesystem is full” or “you haven’t installed a critical update”, etc).

  29. I use Gmail extensively for my personal email, and recently my workplace has been migrated over to Gmail as well.

  30. I’ve been thinking about logging in the context of OpenStack and containerized service deployments.

  31. This is now old news if you’re already following the drone industry, but if you’re not, I’d like to highlight a recent decision made by the US Court of Appeals regarding the FAA’s drone registration requirements.

  32. It’s a bit of an embarrassment when you submit a review to Gerrit only to have it fail CI checks immediately because of something as simple as a syntax error or pep8 failure that you should have caught yourself before submitting…but you forgot to run your…

  33. Exploring YAQL Expressions

    The Newton release of Heat adds support for a yaql intrinsic function, which allows you to evaluate yaql expressions in your Heat templates.

  34. Let’s say that you have set up an environment using tripleo-quickstart and you would like to add another virtual machine to the mix that has both “external” connectivity (“external” in quotes because I am using it in the same way as the quickstart does w/…

  35. Gruf gets superpowers

    In my last article article I introduced Gruf, a command line tool for interacting with Gerrit.

  36. In this article I would like to introduce tripleo-quickstart, a tool that will automatically provision a virtual environment and then use TripleO to deploy an HA OpenStack on top of it.

  37. A collection of git tips

    This is a small collection of simple git tips and tricks I use to make my life easier.

  38. (See also the followup to this article.)

  39. I wrote earlier about systemd-nspawn, and how it can take much of the fiddly work out of setting up functional chroot environments.

  40. systemd-nspawn has been called “chroot on steroids”, but if you think of it as Docker with a slightly different target you wouldn’t be far wrong, either.

  41. If you have an Ansible inventory file that includes lots of per host variables, it’s not unusual for lines to get long enough that they become unwieldly, particularly if you want to discuss them in an email or write about them in some context (e.g., a blog

  42. If you should find yourself wanting to install pyspatialite on Fedora – perhaps because you want to use the Processing plugin for QGIS – you will first need to install the following dependencies: gcc python-devel sqlite-devel geos-devel proj-devel python-…

  43. This is the second in a loose sequence of articles looking at new features in Ansible 2.0.

  44. When writing Ansible roles I occasionally want a way to just run a role from the command line, without having to muck about with a playbook.

  45. Automatic git cache

    This post is in response to a comment someone made on irc earlier today: [I] would really like a git lookaside cache which operated on an upstream repo, but pulled objects locally when they’re available In this post I present a proof-of-concept solution to

  46. If you’ve tried running Ansible against a Fedora 23 system, you may have run into the following problem: fatal: [myserver]: FAILED!

  47. As the release of Ansible 2.0 draws closer, I’d like to take a look at some of the new features that are coming down the pipe.

  48. Running NTP in a Container

    Someone asked on IRC about running ntpd in a container on Atomic, so I’ve put together a small example.

  49. Many of the upgrade guides for OpenStack focus on in-place upgrades to your OpenStack environment.

  50. In Quantum in Too Much Detail, I discussed the architecture of a Neutron deployment in detail.