Category Archives: Internet
Installing php-ffmpeg on CentOS 5.x
This can be a pain due to a bug in the ffpmeg_frame.c file … here are the commands to get up and going yum -y install ffmpeg ffmpeg-devel wget http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2/download tar jxvf ffmpeg-php-0.6.0.tbz2 sed -i ‘s/PIX_FMT_RGBA32/PIX_FMT_RGBA/g’ ffmpeg-php-0.6.0/ffmpeg_frame.c cd ffmpeg-php-0.6.0 && … Continue reading
Plaintext Offender : BidVertiser
If you have an account with BidVertiser, your password is stored in plain text and emailed back to you when you request it. This also means customer service can look up your account and get your password. I informed them … Continue reading
Node.js Trademarked — Next Up: Buyout (Sellout)
Well, Node.js has been trademarked to “protect the brand”. What does that usually mean? “We need a nice brand to sell.” http://blog.nodejs.org/2011/04/29/trademark/ Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it … Continue reading
Cross Browser Gradient Shadowed Buttons
This is the CSS I use to make grey and blue buttons for fun. .shadow { -moz-box-shadow: 3px 3px 4px #969696; -webkit-box-shadow: 3px 3px 4px #969696; box-shadow: 3px 3px 4px #969696; /* For IE 8 */ -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color=’#969696′)"; … Continue reading
Node.js MVC – Starting an MVC setup for Node.js
server.js var http = require(’./lib/http’) var router = require(’./lib/router’) var fs = require(’fs’) http.serve(router.dispatch) http.js var http = require(’http’) exports.serve = function(handleRequest) { http.createServer(function (request, response) { handleRequest(request, response) }).listen(parseInt(process.env.PORT) || 8001) } lib/router.js var http = require(’./http’); … Continue reading
Super Simple Node.js Chatroom
Updated: Fixed an issue in the HTML code where node.js would create a malformed URL. Note: Don’t use a port in the FQDN, specify the port in the io.Socket options. Node.js Code var http = require(’http’), // HTTP server io … Continue reading
jQuery UI Modal Box plugin
I needed a modal box. You might too. You can have mine. I hope it helps. The image in the HTML is the famfamfam cross.png from the silk icon set. See http://www.famfamfam.com HTML <div id="modal-window" class="ui-widget ui-corner-all"> <div id="modal-window-title" class="ui-widget-header … Continue reading
