Nagios on Ubuntu 9.04 server

Posted in Tutorials | no comments |
Hosting a Typo blog with Apache 2.2, Proxy_balancer, Mongrel and MySQL on Gentoo
Posted in Tutorials | 2 comments |
Issues with Typo 5.2: XMLRPC and page breaks.
Took me a while to figure this one out, so I thought I’d make a little post about it:
When using the Typo 5.2 gem to install Typo, XMLRPC doesn’t work. There is a fix on that page, but there aren’t any clear directions for people who aren’t familiar with the workings of Ruby on Rails applications, here is how I applied the fix.
Posted in blog, Tutorials | no comments |
Embedding video on your blog or website
As I'm using Mac OS X, I'm writing this little guide for users of that platform.
This guide may still be useful if you have not yet seen the light and converted to OS X, though!
The part on embedding the video is universal to every operating system. I'm not going to write about making the video and editing it. I'm assuming you've done that already, using other guides or by trial and error.
First, the video needs to be converted to flv, as we want the player to be embedded, like on almost all of the popular sites, using Flash.
On OS X, there is a fantastic tool to convert any video format to any other video format. That tool is called a ffmpegX. Download and install ffmpegX (use the guide on their site if you have problems). Then start ffmpegX and drag your video file into the ffmpegX window.
The "Source format" pane will show some details on your video. Now select "flv" from the drop down box in the "Target format" pane. If you need to edit more settings use the tabs (Summary, Video, Audio, Filters, Options and Tools). Just click "Encode" when you're done with your settings.
If the encoding fails, try to select "Invert mapping" on the audio tab. (see this post for the reason of this error)
Now the video is converted to a .flv file, put it in a separate folder.
Also, create an image of the first frame of your video, or any other image you want to display in the video player when your video hasn't started playing yet.
Make it the same resolution as your video. Save it as a .jpg file, in the same folder as your .flv file.
Download the JW FLV Player for Flash from jeroenwijering.com and unpack the files.
Copy or move the files "swfobject.js" and "player.swf" to the folder containing your .flv file.
Use the readme.html as an example for the HTML code you need for the videoplayer and place this code on your website or blog.
Posted in Tutorials | no comments |