Allow HTTP Push with Mercurial Server
I have always loved git but my present work at Mozilla requires me to use mercurial. If you weren't already aware, Firefox code is managed through mercurial! I was recently tasked with standing up a mercurial server within a docker container and ran into an issue: mercurial rejected pushes to the local docker container via HTTP. Since HTTPS wasn't configured for the docker container locally, I needed to figure out how to get mercurial to allow HTTP pushes.
To allow HTTP pushes to a mercurial repo, modify the mercurial server's
hgweb.conf configuration file to include:
allow_push = *
push_ssl = false
This configuration will allow you to push to your mercurial repository without SSL. If you don't run your mercurial server with a specific
hgweb.conf now, you can run mercurial server with a special config via:
exec hg serve --web-conf path/to/hgweb.conf
HTTPS is the way to go these days but for local development it shouldn't be a requirement. I hope this helps someone!
CSS animations are a lot of fun; the beauty of them is that through many simple properties, you can create anything from an elegant fade in to a WTF-Pixar-would-be-proud effect. One CSS effect somewhere in between is the CSS flip effect, whereby there's...
It's no secret that Facebook has become a major traffic driver for all types of websites. Nowadays even large corporations steer consumers toward their Facebook pages instead of the corporate websites directly. And of course there are Facebook "Like" and "Recommend" widgets on every website. One...
Comment previewing is an awesome addition to any blog. I've seen really simple comment previewing and some really complex comment previewing. The following is a tutorial on creating very basic comment previewing using MooTools.
You can set up your XHTML any way you'd like.