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

Posted in Commands, Internet, Linux, PHP | Tagged , , , | Leave a comment

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

Posted in Internet, Security | Tagged , | Leave a comment

Use HackIt and Revolution ROM to sexify your HTC Inspire

Got an HTC Inspire 4G? Tired of all the bloatware and running apps. Tired of have to kill those apps over and over? Root your phone (root is the superuser account in Linux, which Android runs on)! This voids all … Continue reading

Posted in Android, Electronics, Internet, Linux, Operating Systems, Security | Tagged , , | Leave a comment

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

Posted in Internet, Node.js / Socket.io | Tagged | Leave a comment

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

Posted in Internet | Tagged | Leave a comment

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

Posted in Internet, JavaScript, Node.js / Socket.io | Tagged , , | 1 Comment

Set static IP address in Ubuntu

You will need to edit your /etc/network/interfaces file sudo nano /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 gateway 192.168.1.1 network 192.168.1.0 broadcast 192.168.1.255 Restart networking via sudo /etc/init.d/networking restart Bookmark … Continue reading

Posted in Internet, Linux, Operating Systems | Tagged , , | Leave a comment

Installing Node.js and Socket.io on Ubuntu

Issue the following on the command line: cd ~ sudo apt-get install libv8-2.0.3 libv8-dev libv8-dbg libssl-dev curl wget http://nodejs.org/dist/node-v0.4.3.tar.gz tar zxvf node-v0.4.3.tar.gz cd node-v0.4.3 ./configure && make && make install sudo curl http://npmjs.org/install.sh | sudo sh sudo npm install socket.io … Continue reading

Posted in Commands, Google, Internet, JavaScript, Linux, Node.js / Socket.io, Operating Systems | Tagged , , , | Leave a comment

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

Posted in Internet, JavaScript, Node.js / Socket.io | Tagged , , | 3 Comments

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

Posted in Internet, JavaScript | Tagged , , | Leave a comment