dlaa.me dlaa.me

Is it still cheating if you come up with the cheat yourself? [Simple code to solve a "sliding pieces" puzzle]

I was playing around with one of those "rearrange the pieces on the board" puzzles recently and realized I was stumped after unsuccessfully making the same moves over and over and over...:| Aside: If you're not familiar with sliding puzzles, the 15-puzzle and Klotski puzzle are both classic examples.   For the particular puzzle I was stuck on, the board looks like: ###### # # # # # # # # # ## ...

digitalocean.com digitalocean.com

How To Install Puppet on a DigitalOcean VPS

Introduction If you manage more than one cloud server, your life can be made much easier by employing a configuration-management tool like Puppet or Chef which can be used to provision, configure and manage your VPS and the applications they host. Using Puppet, or Chef, you can easily automate repetitive tasks, quickly deploy critical applications, and proactively manage change: from scaling 2, 5 or 10s of servers to 1000s, on-premise...