These are my personal notes that I am making on my journey through computer science. It's just a great way for me to organize my thoughts and just maybe, I'll help someone else along the way. If this was any help, leave a comment.
Tuesday, November 16, 2010
Tuesday, August 3, 2010
Flare Video
My buddy Joey found a great free h.264 video player that you can customize.
http://www.flarevideo.com/
Check it out
Friday, June 18, 2010
jQuery Pirobox
Need an awesome way to display your pictures on your site. Check out pirobox.
Saturday, June 12, 2010
Fixed Background Image
In CSS:
background:#42021E url(images/bg.png) repeat-x;
background-attachment:fixed;
}
If you want to learn more about backgrounds, you can read up at w3chools.
background:#42021E url(images/bg.png) repeat-x;
background-attachment:fixed;
}
If you want to learn more about backgrounds, you can read up at w3chools.
Wednesday, June 9, 2010
How to get www in front of your URL
So my website, www.moderncurio.com is missing the "www" in front of it's name. Apparently it's a common occurrence that will 15 minutes to fix and weeks to resolve.
The solution is a two part fix. The first leg involves setting up Google Webmaster Tools. After you verify your sites (both the www and non-www). Go to Site Configuration > Settings > Preferred Domain and set it to "Display URLs as www.example.com"
Part two of the solution is to set up a 301 redirect and you can do that by adding the code below to your .htaccess file:
# non-www to www
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L]
To learn more, read up on more on 301 redirects.
After all this, it'll take a while for google webmaster tools to take effect. Apparently, it takes weeks for Google Webmaster Tools Blog to configure itself. You can learn more about the process at the tools.
------
NOTE: WORDPRESS USERS:
For WordPress Users, you will also need to change a setting in wordpress general settings and set your preferred URLs to have www.
The solution is a two part fix. The first leg involves setting up Google Webmaster Tools. After you verify your sites (both the www and non-www). Go to Site Configuration > Settings > Preferred Domain and set it to "Display URLs as www.example.com"
Part two of the solution is to set up a 301 redirect and you can do that by adding the code below to your .htaccess file:
# non-www to www
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L]
To learn more, read up on more on 301 redirects.
After all this, it'll take a while for google webmaster tools to take effect. Apparently, it takes weeks for Google Webmaster Tools Blog to configure itself. You can learn more about the process at the tools.
------
NOTE: WORDPRESS USERS:
For WordPress Users, you will also need to change a setting in wordpress general settings and set your preferred URLs to have www.
Labels:
301 redirects,
Google Webmaster Tools,
non-www,
wordpress,
www
Sunday, June 6, 2010
Online Favicon Maker
I know this isn't code related however I thought this would be good to track.
I needed to make a favicon today so I used this online site to generate it.
http://www.degraeve.com/favicon/
Helping the Browser Locate the favicon.ico file
http://www.thesitewizard.com/archive/favicon.shtml
I needed to make a favicon today so I used this online site to generate it.
http://www.degraeve.com/favicon/
Helping the Browser Locate the favicon.ico file
http://www.thesitewizard.com/archive/favicon.shtml
Thursday, May 20, 2010
Subversion: Accidently SVN RM'd a file or folder?
*points finger*... laughs.
If you accidently svn rm'd a file or folder. Don't stress out. As long as you didn't svn commit the change, you're fine. All you have to do is run:
For a file:
svn revert file_name
For a folder:
svn revert --recursive folder_name
You can also do this to a file or folder that you ran svn add on.
If you accidently svn rm'd a file or folder. Don't stress out. As long as you didn't svn commit the change, you're fine. All you have to do is run:
For a file:
svn revert file_name
For a folder:
svn revert --recursive folder_name
You can also do this to a file or folder that you ran svn add on.
Subscribe to:
Posts (Atom)