NotesA collection of random tips for Amazon Web Services (AWS) that I wish I'd been told a few years ago, based on what I've learned by building and deploying various applications on AWS.FeedUnfurl
NotesCreates an ssh+git user that creates repositories on the fly and lets you run scripts or hit HTTP endpoints when you push code.
Build your own Heroku. Push code anywhere.
It's just not a post-receive hook. It's a powerful wrapper around pre-receive giving you easy access to the code that was pushed while still being able to send output back to the git user.Unfurl
Notes Docker is an open-source engine which automates the deployment of applications as highly portable, self-sufficient containers which are independent of hardware, language, framework, packaging system and hosting provider. FeedEmbedUnfurl
NotesThere are times when “kill -9″ is the only time you can kill a PID that is behaving badly. However, it’s usually not needed if you know your signals. When I encounter a badly behaving program, here is the procedure I usually take.Unfurl
NotesTaco Bell programming is one of the steps on the path to Unix Zen. This is a path that I am personally just beginning, but it's already starting to pay dividends. To really get into it, you need to throw away a lot of your ideas about how systems are designed: I made most of a SOAP server using static files and Apache's mod_rewrite. I could have done the whole thing Taco Bell style if I had only manned up and broken out sed, but I pussied out and wrote some Python.Unfurl
Notes"Jarek Gawor's excellent LDAP Browser/Editor v2.8.2 - though last updated in 2001, still one of the best! Works perfectly with current java version 5 and 6."Unfurl
Notes"For college, I was playing with cassandra and thought I would document my experience in setting up a small cassandra cluster for playing around with. For this article, I actually used virtual machines (3 of them). I am assuming that we have a fresh ubuntu installation on each node. I'm also assuming static IP addresses so the /etc/hosts file on each node will have the following entries ("Unfurl
Notes"The Ubuntu and Debian EC2 images published on http://alestic.com allow you to send in a startup script using the EC2 user-data parameter when you run a new instance. This functionality is useful for automating the installation and configuration of software on EC2 instances."FeedUnfurl
Notes"After a point the sql server becomes the bottleneck in lots of web application, and to scale, master-slave replication with single master, multiple slave is recommended. This setup with nginx can be used to accomplish traffic distribution between master and slave based on request method. "FeedUnfurl
Notes"So you have gigs of data to transfer between two machines over ethernet. A nice quick and dirty method is to use netcat and tar. This is by no means secure, but if you haven't got the time or desire to setup NFS, FTPd, Samba. Or wait hours for scp to do its job then this can save you a lot of time. "Unfurl
Notes"With the advent of RSS readers that can use so-called “local feeds” for various reasons, it was inevitable that some code monkey would convert his 250K system.log file to RSS."Unfurl
Notes"The UDS family of device servers enables users to connect, manage and control just about any piece of equipment with a serial port from virtually anywhere over Ethernet or the Internet."Unfurl
Notes"If you are doing port forwarding back onto the same network, you need to make sure that both future packets and reply packets pass through the NAT box (so they can be altered). "Unfurl
Notes"Linksys confirmed what some analysis firms have been saying: to their knowledge, the WRT54G is the single bestselling model of Wi-Fi gateway in the world." It's too bad that they've switched to VxWorks-- the Linux-based firmware was the single reason IUnfurl
Notes"The following assumes you have setup qmail and qmail-pop3d by following LifeWithQMail." Go through this after having installed qmail via Life with qmailUnfurl