Bookmarks for 15th October 2014

These are my saved Pinboard links for 15th October 2014:

  • HastyScribe – H3RALD – A sim­ple, self-con­tained, com­mand-line pro­gram able to con­vert mark­down files into self-con­tained HTML pages, au­to­mat­i­cally em­bed­ding all the needed fonts, stylesheets and im­ages.
  • Will Torrent’s Cherry & almond ‘bourbons’ – Will Torrent shows you how to make your own version of the classic Bourbon biscuits.
  • Anjum Anand’s Easy chicken pilaf – Anjum shows you her delicious take on this easy, one pot dish.
  • Deploy Rackspace Private Cloud v4.2.x powered by OpenStack Havana with Neutron Networking Using VirtualBox or VMware Fusion and Vagrant – Rackspace Private Cloud, and OpenStack on its own, can be a formidable set of software to install. Rackspace Private Cloud uses Chef to deploy OpenStack, and while Chef itself has a high learning curve, its use does make deploying OpenStack easier and more scalable.

    Despite this, I find a lot of installation confusion comes from how to setup the virtual machines. How many CPUs do I allocate? How much RAM do I allocate? How much storage should there be? How many NICs do I need and on what networks? Many people may give up at this point or attempt an install with incorrect virtual machine configurations which ruins their experience. However, Vagrant by Hashicorp makes it very easy to define the virtual machines all within a simple text file.

    Before going on, I recommend your workstation to have at least 2 physical CPUs and 8GB of RAM. If your workstation does not meet these recommended specifications, you can lower the amount of vCPUs and RAM assigned to each virtual machine in the Vagrantfile with the added risk of running into problems due to low resources.

    If you would rather not go through the installation step-by-step, I have created a Vagrantfile containing all of the same steps so all you have to run is vagrant up.

  • Deploy OpenStack (Havana) On Your Laptop Using Vagrant And Chef | Cloud Architect Musings – Not long ago, I posted an article outlining how you could install a HA OpenStack environment on your laptop or workstation, using Vagrant with a virtualization tool, such as VirtualBox, VMware Workstation, or VMware Fusion.  That post borrowed heavily from another post by my Rackspace colleague, James Thorne and was designed to allow someone to get up and running quickly on OpenStack for testing and demonstrating high-availability.  Since then, a new release of OpenStack, code-named Havana, has been released, with some important new features.

    In this post, I’ll walk through installing OpenStack (Havana) on a laptop using Vagrant with VirtualBox, Workstation, or Fusion; this deployment should be suitable for testing and demos.  However, instead of deploying a pair of HA Controllers, I’ll provide instructions on deploying a single controller but throw in a Cinder Volume node as a bonus.  Also, instead of having you “flip” back and through between mine and James’ blog, I’ll put the bulk of the instructions and commands into this post; however, I am borrowing heavily from James and the great work he has put into his blog.

  • t4t5/sweetalert – An awesome replacement for JavaScript's alert.
  • How To Create an SSL Certificate on Nginx for Ubuntu 14.04 | DigitalOcean – How To Create an SSL Certificate on Nginx for Ubuntu 14.04
  • Supercapacitors for the Raspberry Pi – As versatile as the Raspberry Pi is, it has a weakness when it needs to be able to shut down properly during a power outage, especially when handling data-sensitive or industrial applications. To solve this problem, [Pavol Sedlacek] has created a supercapacitor-based UPS specifically for the Raspberry Pi that gives it enough time to properly halt its processes and shut down if it detects a power failure.

    The device is called the Juice4Halt. It uses a DC-DC converter to provide power to the Pi from the normal power supply and to charge the supercapacitors during normal operation. It is bidirectional, so in the event of a power failure it works in reverse to take power from the capacitors and feed it back to the Pi. A second DC-DC converter handles power from an external power supply.

    A side effect of using supercapacitors as a UPS is that they can also help the Pi survive brownouts. The project site has an incredible amount of detail about the functionality of the device, including circuit diagrams and the source code. We’ve seen other supercapacitor-based UPS units before but this particular one is much more robust and would be truly at home in any industrial or other sensitive setting.

  • Honey-Oatmeal Wheat Bread – This recipe makes two loaves, so freeze one after cooling to help it stay fresh longer. Slice first, if desired; then wrap the loaf in plastic wrap and aluminum foil, and place in a zip-top plastic freezer bag. Keep frozen for up to 1 month.
  • Speed Up Your Mobile Website With Varnish | Smashing Magazine – Imagine that you have just written a post on your blog, tweeted about it and watched it get retweeted by some popular Twitter users, sending hundreds of people to your blog at once. Your excitement at seeing so many visitors talk about your post turns to dismay as they start to tweet that your website is down — a database connection error is shown.

Leave a Reply