GimmeSoda
The Blog of a Programmer
The Blog of a Programmer
Jul 15th
Working on a new affiliate marketing project, http://www.10dollarbluray.com/
The purpose of this site is to locate low cost blu ray movies on Amazon, ordered by purchase rank. I obviously need to proper design and I’m working on adding a few extra features (search and a site map). Anyhow, take a look, feel free to let me know if you have ideas or questions!
Jun 25th
You don’t need root to run Meteor Server, it can be setup to run under a single user without sudo. If you are running it on the same machine as the website it is serving you also don’t need to run it on anything other then the default port and you’ll still avoid cross site scripting errors.
Good times!
Jun 23rd
It’s been a long while since I’ve done any serious amount of writing, I think I’m going to go ahead and give it a shot and see how it goes. At the very least my wife would like it!
Jun 23rd
I’m working on reorganizing this entire blog, so yeah things may not be organized the way you may be used to, give me some time and it’ll all be sorted!
Looks like I finished much sooner then expected!
Jun 20th
More often then not when I’m looking at a new software I find myself thinking about how it can be made useful for my clients, how I would need to modify it to suit their needs, and what the best way to present it would be.
It’s not too often when I come across a piece of software that immediately makes me want to setup a demo, call up clients and simply say, “You HAVE to see this, this software is for you!”
The other day I had one of those rare moments. Looking through my email there was a newsletter which mentioned OpenVBX , so I signed up for an account with Twilio and got my $30 of free sandbox credit, and then went on to install OpenVBX (with the DreamHost One-Click Installer). It took me about 10 minutes to setup my first call flow, menu items, voicemail, and finally get my first call into the sandbox number.
I haven’t tried modifying the themes yet, or taken too close a look at the API, but it all seems so simple, right out of the box, and I’m already thinking about those first few calls.
Thanks Twilio, you’ve already made me into a fan.
Jun 14th
There is an easy fix to this; login to phpmyadmin, or whatever you want to use to access the database and execute the following query on the db for your piwik install:
INSERT INTO `piwik_user` (`login`,`password`,`alias`,`email`,`token_auth`,`date_registered`) VALUES ('anonymous', '', '', '', '', NOW());
Basically piwik needs to have an anonymous user setup in the DB as it looks for it when you try and access the settings.
-JJ
May 28th
If you’re looking for an updated version of my old Magento install script for DreamHost, you’re in luck – I went ahead and updated it so it is now installing version 1.4.0.1 of Magento Commerce.
http://www.gimmesoda.com/installing-magento-commerce-on-dreamhost/
JJ G
Apr 30th
Okay, so it’s a bad plugin name but it does what it says, pretty much.
This plugin creates a copy of your wp-content folder (excluding any backups made by this plugin) and creates an archive, that archive is then uploaded to the DreamHost backup server. A backup of your sql database can also be created and uploaded for you. As per the DreamHost style I went ahead and made this as simple as possible with 1 click backups for each option.
Just enter your backup username and password and click on backup. You can grab a copy of the plugin from here, I’ll be submitting it to the WP Plugin Directory soon.
JJ
Mar 26th
The information here is being used to overwrite the original PHP install on a DreamHost PS, mostly because I want to enable SOAP and XMLRPC.
Since the OS is currently Debian Etch I need to download, compile, and install xmlrpc-epi:
http://xmlrpc-epi.sourceforge.net/
I want to enable SOAP so I modified the configure command to use:
‘./configure’ ‘–prefix=/usr/local/php5′ ‘–datadir=/usr/local/php5/share’ ‘–localstatedir=/usr/local/php5/var’ ‘–enable-sockets’ ‘–enable-fastcgi’ ‘–enable-bcmath’ ‘–with-pear=/usr/local/php5/lib/pear’ ‘–with-mysql=/usr’ ‘–enable-calendar’ ‘–with-mhash=/usr’ ‘–with-kerberos’ ‘–enable-force-cgi-redirect’ ‘–with-config-file-path=/etc/php5/cgi’ ‘–with-imap’ ‘–with-imap-ssl’ ‘–with-gd’ ‘–with-xsl’ ‘–with-ttf=/usr’ ‘–with-freetype-dir=/usr’ ‘–enable-exif’ ‘–with-jpeg-dir=/usr’ ‘–with-png-dir=/usr’ ‘–with-zlib-dir=/usr’ ‘–with-pdo-mysql’ ‘–enable-ftp’ ‘–with-curl=/usr’ ‘–with-pspell=/usr’ ‘–enable-mbstring’ ‘–with-mcrypt’ ‘–with-mysqli’ ‘–with-openssl=/usr’ ‘–with-gettext’ ‘–enable-soap’
I also had wanted xmlrpc but ended up having so much trouble trying to get PHP to compile with it enabled that I went the route of downloading the debian etch package “php5-xmlrpc” from here:
http://packages.debian.org/etch/php5-xmlrpc
I extracted the contents using:
dpkg –extract package.deb folder/
Then pulled the xmlrpc.so file and put it into my extension dir and added the following line to the php.ini:
extension=xmlrpc.so
It should also be noted that the old configure command contained:
–enable-trans-sid
–with-xml
–with-xslt
–with-xslt-sablot=/usr
–with-dom-xslt=/usr
Which are PHP4 configure options and not needed for PHP5.
Finally, there are LOTS of dependencies that needed installation, can’t remember if these are all correct:
sudo apt-get install libcurl3-dev
sudo apt-get install libc-client-dev
sudo apt-get install libmcrypt-dev
sudo apt-get install libmhash-dev
sudo apt-get install libaspell-dev
sudo apt-get install libpspell-dev
That’s all for the time being, I’ll make a final post when I have all the details (and a working install) up and running.
It looks like it’s all up and running smoothly! There was one last catch, when running php through fastcgi you need to manually replace a file:
/dh/cgi-system/php5.cgi
With the file that was created here:
/usr/local/php5/bin/php-cgi
So a quick:
cp -a /usr/local/php5/bin/php-cgi /dh/cgi-system/php5.cgi
Did the trick.
Mar 14th
I’m in the middle of a move to a new apartment, and oddly I’m very happy. I was able to spend the time to learn how to install and configure ejabberd2 on my PS with DreamHost. I’ve also gone ahead and downloaded a few extra modules, compiled, and enabled them. Notably I’ve enabled the ejabberd_xmlrpc module – and I’ve started work on writing a PHP class which will interface with that module and enable a few specific actions.
Basically I will be creating a class capable of running an XMPP hosting service. Fun, right!?
Recent Comments