Comparison of Q&A Sites
Aug 29th, 2010 by admin
I sort of like Qhub myself.
http://blog.itags.org/archives/36
http://bonjourparis.qhub.com/
Aug 29th, 2010 by admin
I sort of like Qhub myself.
http://blog.itags.org/archives/36
http://bonjourparis.qhub.com/
Aug 29th, 2010 by admin
smtp.gmail.com
port 587
Aug 29th, 2010 by admin
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
Aug 29th, 2010 by admin
Aug 28th, 2010 by admin
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
Aug 28th, 2010 by admin
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()
Aug 27th, 2010 by admin
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()"
Aug 26th, 2010 by admin
It is just too much work adding domains using SSH… argh..the agony. the pain.
I suggest hostgator or others.
Aug 26th, 2010 by admin
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";
Aug 25th, 2010 by admin
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
Aug 25th, 2010 by admin
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
Aug 25th, 2010 by admin
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
Aug 25th, 2010 by admin
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
Aug 22nd, 2010 by admin
http://www.experts-exchange.com/Software/Server_Software/Document_Management/Q_25339556.html
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/
| 03/09/10 12:18 PM, ID: 27611172Assisted Solution |
Aug 22nd, 2010 by admin
Everyone should switch over. I am serious. I have never seen web hosting that cost so much yet offer so little as Godaddy.
Aug 22nd, 2010 by admin
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.
Aug 22nd, 2010 by admin
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.
Aug 20th, 2010 by admin
http://templatic.com/demo/wpstore/
Aug 18th, 2010 by admin
http://lesscss.org/
http://www.aaronrussell.co.uk/blog/use-less-in-php-projects/
Aug 18th, 2010 by admin
http://webspace.webring.com/people/cl/lifexplore/
Aug 17th, 2010 by admin
https://eol.entertainment.com/custom/eol/default/jsp/content/pages/eol/entLandingPage.epi?affiliateId=AFUSE
Aug 17th, 2010 by admin
Sony NX-5
Sony Alpha A550
Nikon D5000
Panasonic GF1
Lumix DMC-FZ100
http://www.dpreview.com/reviews/q110superzoomgroup/page19.asp
Aug 17th, 2010 by admin
Sony NX-5
Sony Alpha A550
Nikon D5000
Panasonic GF1
http://www.dpreview.com/reviews/q110superzoomgroup/page19.asp
Aug 17th, 2010 by admin
Sony NX-5
Sony Alpha A550
Nikon D5000
Panasonic GF1
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
Aug 17th, 2010 by admin
http://www.tamron.eu/en/lenses/focal-length-comparison.html
Aug 14th, 2010 by admin
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
Aug 12th, 2010 by admin
/etc/apt/sources.list
Aug 12th, 2010 by admin
sudo aptitude purge wine;
sudo aptitude install wine;
http://blog.opensourcenerd.com/i-can-haz-virus
Aug 11th, 2010 by admin
http://valums.com/ajax-upload/
http://www.phpletter.com/Demo/AjaxFileUpload-Demo/
Aug 11th, 2010 by admin
Period.
Aug 5th, 2010 by admin
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.
Aug 4th, 2010 by admin
alert($(this).parent().parent().parent().html());
alert($(this).parent().html());
alert($(this).parent().closest('tr').html());
Jul 24th, 2010 by admin
Guess why. I think it's the girl with the tight jeans in the background. She looks beautiful.
Jul 22nd, 2010 by admin
http://www.fieldturf.com/dog-grass/faq/
http://www.heavenlygreens.com/applications/landscape.html
Jul 22nd, 2010 by admin
http://www.fieldturf.com/dog-grass/faq/
Jul 21st, 2010 by admin
http://www.salary.com/advice/layouthtmls/advl_display_nocat_Ser56_Par123.html
Jul 20th, 2010 by admin
http://www.script-o-rama.com
Find popular movie quote or movie script
Jul 19th, 2010 by admin
http://www.lamphowto.com/
Jul 19th, 2010 by admin
rpm -qa | grep -i apache
rpm -qa | grep -i httpd
rpm -qa | grep -i php
rpm -qa | grep -i mysql