Comparison of Q&A Sites

I sort of like Qhub myself.
http://blog.itags.org/archives/36
http://bonjourparis.qhub.com/

smtp.gmail.com
port 587

http://wiki.auzigog.com/Comprehensive_Linode_VPS_Ubuntu_8.04_Tutorial

Sending email using Google Apps email
http://wiki.auzigog.com/Comprehensive_Linode_VPS_Ubuntu_8.04_Tutorial#Mail_.28relay_through_Google_Apps.29

Test by echo 'Hello, World!' | sendmail user@test.com

http://wiki.auzigog.com/Comprehensive_Linode_VPS_Ubuntu_8.04_Tutorial

http://meta.osqa.net/questions/3706/when-setup-osqa-to-sub-folder-like-enjp-it-was-break-the-style

In your /etc/apache2/sites-available/sitename.com
Alias /m/default/media /path/to/osqa/forum/skins/default/media

It was super tricky. I am not even sure how I did it.

I use StackScript and searched for "django" and installed the one with Django/MySQL/Mono.

Then I went to http://wiki.osqa.net/display/docs/Ubuntu+with+MySQL?focusedCommentId=2097221#comment-2097221 and followed some of the installation steps for installing PHP, etc.

Then I went to http://library.linode.com/web-applications/social-networking/osqa/ and did more installation.

I also created symbolic link from srv/ to var/

I host everything on /var/www

Didnt have to touch /etc/apache2
Had to edit files in sites-available and create symbolic links to them in sites-enabled

Lets say my domain was mysite.com

Had to:
mkdir -p /srv/www/mysite.com/osqa/cache /srv/www/mysite.com/.python-egg
chown -R www-data /srv/www/mysite.com/osqa/log/ /srv/www/mysite.com/osqa/cache /srv/www/mysite.com/.python-egg
/etc/init.d/apache2 restart

Since I had multiple domains, I had to edit files for each site in sites-available files like:

WSGIScriptAlias / /srv/www/mysite.com/osqa/django.wsgi
<VirtualHost 173.230.145.155:80>
     ServerAdmin root@mysite.com
     ServerName mysite.com
     ServerAlias www.mysite.com
     DocumentRoot /srv/www/mysite.com/osqa
 </VirtualHost>

Alias /robots.txt /srv/www/mysite.com/public_html/robots.txt
Alias /favicon.ico /srv/www/mysite.com/public_html/favicon.ico
Alias /images /srv/www/mysite.com/public_html/images
Alias /static /srv/wwwmysite.com/public_html/static

For my django.wsi file
import os
import sys

sys.path.append('/srv/www/mysite.com/osqa')

os.environ['PYTHON_EGG_CACHE'] = '/srv/www.mysite.com/.python-egg'
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'

import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

Tips & Tricks for Linode

Directory with commands for running apache, mysql, etc
/etc/init.d/
-apache2ctl stop, apache2ctl start

Going into mysql
-mysql -u root -p

Create mysql database
create database my_database;

Create mysql user
mysql> GRANT ALL PRIVILEGES
       ON my_database.*
       TO 'my_user'@'localhost'
       IDENTIFIED BY 'my_password'
       WITH GRANT OPTION;

Add your domains to linode
http://library.linode.com/web-servers/apache/installation/ubuntu-10.04-lucid

Install Wordpress
http://library.linode.com/web-applications/cms-guides/wordpress/

Keep SSH session time longer so no timeout
http://www.linode.com/forums/archive/o_t/t_4793/keeping_an_ssh_session_to_my_linode_open.html

Apache2 Configurations
/etc/apache2

Find out path of Python
python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"

It is just too much work adding domains using SSH… argh..the agony. the pain.

I suggest hostgator or others.

Remote mySQL into Linode

By default, MySQL is configured to listen on localhost, not a public IP
address. If you would like to administer your MySQL server remotely
using a desktop client, I'd recommend doing so securely via an SSH
tunnel. Step-by-step instructions on how to do this can be found in the
Linode Library:

- http://library.linode.com/databases/mysql/mysql-ssh-tunnel

If you would prefer to have your MySQL server accept remote connections,
then you will need to amend your MySQL configuration file (commonly
found in "/etc/mysql/my.cnf") to bind to you public IP address.

http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html

The thing to remember is that you need to add in the [mysqld] section of /etc/mysql/my.cnf the directive:
bind-address = 127.0.0.1

Keep it 127.0.0.1

and in mysql-tunnel.pl

$local_ip    = "127.0.0.1";
$local_port  = "3307";
$remote_ip   = "127.0.0.1";
$remote_port = "3306";
$remote_user = "root";

Tips & Tricks for Linode

Directory with commands for running apache, mysql, etc
/etc/init.d/
-apache2ctl stop, apache2ctl start

Going into mysql
-mysql -u root -p

Create mysql database
create database my_database;

Change root password
$ mysqladmin -u root -p'oldpassword' password newpass

Create mysql user
mysql> GRANT ALL PRIVILEGES
       ON my_database.*
       TO 'my_user'@'localhost'
       IDENTIFIED BY 'my_password'
       WITH GRANT OPTION;

Add your domains to linode
http://library.linode.com/web-servers/apache/installation/ubuntu-10.04-lucid

Install Wordpress
http://library.linode.com/web-applications/cms-guides/wordpress/

Keep SSH session time longer so no timeout
http://www.linode.com/forums/archive/o_t/t_4793/keeping_an_ssh_session_to_my_linode_open.html

Restart sshd
sudo /etc/init.d/ssh restart

Apache2 Configurations
/etc/apache2

Hide directory listings
http://www.felipecruz.com/blog_disable-directory-listing-browsing-apache.php
/etc/apache2/apache2.conf
Options All Indexes FollowSymLinks MultiViews

Install deb package
sudo apt-get install <package>

Remove deb package
sudo apt-get remove package_name

Tips & Tricks for Linode

Directory with commands for running apache, mysql, etc
/etc/init.d/
-apache2ctl stop, apache2ctl start

Going into mysql
-mysql -u root -p

Create mysql database
create database my_database;

Change root password
$ mysqladmin -u root -p'oldpassword' password newpass

Create mysql user
mysql> GRANT ALL PRIVILEGES
       ON my_database.*
       TO 'my_user'@'localhost'
       IDENTIFIED BY 'my_password'
       WITH GRANT OPTION;

Add your domains to linode
http://library.linode.com/web-servers/apache/installation/ubuntu-10.04-lucid

Install Wordpress
http://library.linode.com/web-applications/cms-guides/wordpress/

Keep SSH session time longer so no timeout
http://www.linode.com/forums/archive/o_t/t_4793/keeping_an_ssh_session_to_my_linode_open.html

Restart sshd
sudo /etc/init.d/ssh restart

Apache2 Configurations
/etc/apache2

Hide directory listings
http://www.felipecruz.com/blog_disable-directory-listing-browsing-apache.php
/etc/apache2/apache2.conf
Options All Indexes FollowSymLinks MultiViews

Tips & Tricks for Linode

Directory with commands for running apache, mysql, etc
/etc/init.d/
-apache2ctl stop, apache2ctl start

Going into mysql
-mysql -u root -p

Create mysql database
create database my_database;

Change root password
$ mysqladmin -u root -p'oldpassword' password newpass

Create mysql user
mysql> GRANT ALL PRIVILEGES
       ON my_database.*
       TO 'my_user'@'localhost'
       IDENTIFIED BY 'my_password'
       WITH GRANT OPTION;

Add your domains to linode
http://library.linode.com/web-servers/apache/installation/ubuntu-10.04-lucid

Install Wordpress
http://library.linode.com/web-applications/cms-guides/wordpress/

Keep SSH session time longer so no timeout
http://www.linode.com/forums/archive/o_t/t_4793/keeping_an_ssh_session_to_my_linode_open.html

Apache2 Configurations
/etc/apache2

Hide directory listings
http://www.felipecruz.com/blog_disable-directory-listing-browsing-apache.php
/etc/apache2/apache2.conf
Options All Indexes FollowSymLinks MultiViews

Remote mySQL into Linode

By default, MySQL is configured to listen on localhost, not a public IP
address. If you would like to administer your MySQL server remotely
using a desktop client, I'd recommend doing so securely via an SSH
tunnel. Step-by-step instructions on how to do this can be found in the
Linode Library:

- http://library.linode.com/databases/mysql/mysql-ssh-tunnel

If you would prefer to have your MySQL server accept remote connections,
then you will need to amend your MySQL configuration file (commonly
found in "/etc/mysql/my.cnf") to bind to you public IP address.

http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html

http://www.experts-exchange.com/Software/Server_Software/Document_Management/Q_25339556.html


You can use Imagemagick and OpenOffice to create the images:
http://www.novell.com/communities/node/5744/c-linux-thumbnail-generation-pdfdocpptxlsimages

Then you just use scandir with . and .. exclusions.
Here are some samples.
http://www.php.net/manual/en/function.scandir.php

You can also use pdfbox to generate the images.
http://sourceforge.net/projects/pdfbox/


Accepted Solution
 
03/09/10 12:18 PM, ID: 27611172Assisted Solution

You can also use class.directoryiterator if you geek on that level. =)
http://php.net/manual/en/class.directoryiterator.php

Everyone should switch over. I am serious. I have never seen web hosting that cost so much yet offer so little as Godaddy.

Godaddy is just so damn slow on Wordpress. I would never use it. EVER.

I suggest Hostgator instead. Use coupon codes MUSICA for $9.94 off.

Godaddy is just so damn slow on Wordpress. I would never use it. EVER.

I suggest Hostgator instead. Use coupon codes MUSICA for $9.94 off.

http://templatic.com/demo/wpstore/

http://lesscss.org/
http://www.aaronrussell.co.uk/blog/use-less-in-php-projects/

http://webspace.webring.com/people/cl/lifexplore/

https://eol.entertainment.com/custom/eol/default/jsp/content/pages/eol/entLandingPage.epi?affiliateId=AFUSE

Sony NX-5
Sony Alpha A550
Nikon D5000
Panasonic GF1
Lumix DMC-FZ100

http://www.dpreview.com/reviews/q110superzoomgroup/page19.asp

Sony NX-5
Sony Alpha A550
Nikon D5000
Panasonic GF1

http://www.dpreview.com/reviews/q110superzoomgroup/page19.asp

Sony NX-5
Sony Alpha A550
Nikon D5000
Panasonic GF1

Cameras

http://www.dannychoo.com/post/en/25129/Lumix+GF1+Review.html
http://www.cameralabs.com/reviews/Sony_Alpha_DSLR_A550/sample_images.shtml
http://www.centraldigital.com/Product/?11474541&l=Froogle
http://www.whatdigitalcamera.com/equipment/galleries/sample-images/panasonic/14421/1/4/panasonic-lumix-gf1-review-sample-images.html#slideshow
http://alatest.com/apps/reviews/27258597/50512/?ref=http%3A%2F%2Freviews.cnet.com%2Fdigital-cameras%2Fsony-alpha-dslr-a550%2F4505-6501_7-33770085.html

http://www.tamron.eu/en/lenses/focal-length-comparison.html

https://addons.mozilla.org/en-US/firefox/addon/8204/

This addons ads to Screen Grab! by allowing screen captures to be uploaded to Wordpress (2.5+) blogs via xml-rpc

Software sources for Linux

/etc/apt/sources.list

Virus using Wine?

sudo aptitude purge wine;
sudo aptitude install wine;

http://blog.opensourcenerd.com/i-can-haz-virus

Cool jquery AJAX upload

http://valums.com/ajax-upload/

http://www.phpletter.com/Demo/AjaxFileUpload-Demo/

Period.

Puppy Primal Scream

Today I am ashamed. My dog went crazy and mishaved really badly by getting himself all dirty in wet dirt and I got so mad I used the garden hose to wash him and it was cold outside and he screamed. It was such a LOUD piercing scream. Primal.. very primal. Scared the heck out of me. It was like a long deafening scream of sorrow and pain.

alert($(this).parent().parent().parent().html());

alert($(this).parent().html());

alert($(this).parent().closest('tr').html());

Guess why. I think it's the girl with the tight jeans in the background. She looks beautiful.

http://www.fieldturf.com/dog-grass/faq/

http://www.heavenlygreens.com/applications/landscape.html

http://www.fieldturf.com/dog-grass/faq/

http://www.salary.com/advice/layouthtmls/advl_display_nocat_Ser56_Par123.html

http://www.script-o-rama.com

Find popular movie quote or movie script

http://www.lamphowto.com/

rpm -qa | grep -i apache
rpm -qa | grep -i httpd
rpm -qa | grep -i php
rpm -qa | grep -i mysql

Older Posts »