Affiliate Summit West 2012 – Made History

Yup I think Affiliate summit west 2012 made it down in history. Reason historical events are documented and passed down, are because they remind someone of a milestone.

According to James Martell affiliate summit west 2012 had the most attendees in it’s history.  Jeremy “ShoeMoney” Shoemaker announced he will not be publically speaking anymore which is a shame because he was very knowledgeable and entertaining, glad I got to hear him speak. I mean really, who sells a puppy for an ounce of pot. And what type of drug dealer takes a puppy as payment. Nebraska sounds like an interesting place, would love to visit some time, I’m serious (it’s where Shoemoney calls home).


Read the rest of this entry »

ShoeMoney #ASW12 Contest!

First off I’d like to say “I haven’t won anything in 29 years” (I’m 29)… ok ok maybe, I did win $20 on a lotto scratch off ticket once (but I don’t think that counts). I guess what I am trying to say is I have never on a contest or sweepstakes. I feel like everyone wins but me I am starting to get the feeling all these contests are FIXED. :::sigh:::

Reasons You Should Pick Me:


Read the rest of this entry »

WordPress 3.3 is Released



Read the rest of this entry »

The “Java Life” Rap Music Video

YouTube Preview Image

How to choose rails version when generating new app

How to select the version of rails when you want to create a new rails application:

$ rails _3.0.0_ new appname

Tags : ,

How to setup a Sinatra app under Apache with Passenger?


app
|-- config.ru <- rackup file
|-- hello-app.rb <- your application
|-- public/ <- static public files (passenger needs this)
`-- tmp/
`-- restart.txt <- touch this file to restart app

source:

How to install RoR on Ubuntu

When installing Ubuntu 10.04 server choose the following packages:
LAMP and SSH

After you install Ubuntu 10.04 always get the latest packages to this run:
sudo apt-get update

Install Git, curl, and build-essential:
sudo apt-get install build-essential git-core curl

With git-core and curl installed we’ll be able to install RVM with this command:

bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
The beautiful part of this is that it installs Ruby to our home directory, providing a sandboxed environment just for us.

Once that’s done, we’re going to need to add a line to ~/.bashrc file (the file responsible for setting up our bash session) which will load RVM:

echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"' >> ~/.bashrc

Then we’ll need to reload the ~/.bashrc file which we can do with this small command:

. ~/.bashrc
The next command we run will tell us what other packages we need to install for Ruby to work:

rvm notes
...
# For Ruby (MRI & ree) you should install the following OS dependencies:
ruby: aptitude install build-essential bison openssl libreadline6 libreadline6-dev
curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0
libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf

How To Secure Your WordPress Blog

Getting a website hacked is occurring more often nowadays. You just have to read the news to know who these high profile hackers are. Hackers like Anonymous and Lulz have dominated the headlines recently hacking high profiled websites such as government websites like the CIA. Then there are those low profile hackers who hack ordinary websites. If you own WordPress sites for quite a while, chances are, you had experienced being hacked. If not then you are one of the lucky ones. Although the only fool-proof way from getting hacked is to disconnect your computer or server from a network, there are other ways in order to make your website more secure than it is now.

Here are 11 ways that you can use to secure your WordPress blog.

1 – Encrypt your login

Your password is sent unencrypted whenever you login. If you are on a public network, hacker can easily ‘sniff’ out your login credential using network sniffers. So it is always good to have your password encrypted as you login. A plugin that does this task is the Chap Secure Login plugin. This plugin adds a random hash to your password and authenticate your login with the CHAP protocol.

2 – Use a strong password

Even though your password is being encrypted as you login, if you use common or easy to guess password then you are not in a better position. Ensure you use a strong password that is difficult for others to guess. A strong password is usually characterize by making use a combination of digits, special characters and upper/lower case to form your password. You can also use the password checker on WordPress 2.5 and above to check the strength of your password.

3 – Change your login name

The default username is admin is widely known to hackers so it is essential to change the login name. In your WordPress dashboard, go to Users and set up a new user account. Give this new user administrator role. Log out and log in again with the new user account.

Go to Users again. This time, check the box besides the admin user and press Delete. When it asks for deletion confirmation, select the “Attribute all posts and links to:” and select your new username from the drop down bar. This will transfer all the posts to your new user account. Press Confirm Deletion.

4 – Define user privilege

If there is more than one author for your blog, be sure to define what the capabilities or role for each user group will be. This will give you the ability to control what users can and cannot do in the blog. It’s bad practice to assign all of them the administrator role as this gives them a lot of power and control over your website.

5 – Upgrade to the latest version of WordPress and plugins

The WordPress team are continually improving the security of WordPress itself as they also fall victim to hackers. Having the latest version of WordPress always contains bugs fixes for any security vulnerabilities.

6 – Backup your WordPress database

This is perhaps the most important pointer of all. When hackers take your site down, at least you can have the security of restoring its last known working version. Ask you web hosting provider if they backup you site. Otherwise there are plugins that can do the backup for you.

7 – Remove WordPress version info

The more information that you give to hackers the better they can prepare for a hack attack. Some WordPress sites/themes include the WordPress version info in the meta tag. Hackers can easily get hold of this information and plan specific attack targeting the security vulnerability for that version. To remove the WordPress version info, log in to your WordPress dashboard. Go to Design->Theme Editor. On the right, click on the Header file. On the left where you see a lot of codes, look for a line that looks like:

<meta name=”generator” content=”WordPress <?php bloginfo(’version’); ?>” />

Delete it and press Update File. In WP2.6 and above, WordPress automatically includes the version in the Wp_head section. To fix this, you can simply install the WP-Security Scan plugin.

8 – Protect your wp-admin folder

Your wp-admin folder contains all the important website information and it is the last place that you want to give access to others. Use AskApache Password Protect to password protect the directory and give access right only to authorized personnel.

9 – Hide your plugins folder

If you go to your http://yourwebsite.com/wp-content/plugins, you can see a list of plugins that you are using for your blog. Be sure to hide this page by uploading an empty index.html to the plugin directory. Open your text editor. Save the blank document as index.html. Using a ftp program, upload the index.html to the wp-content/plugins folder.

10 – Perform a regular security scan

Install the wp-security-scan plugin and perform a regular scan of your blog setting for any security loopholes. This plugin can also help you to change your database prefix from wp_ to a custom prefix.

11 – Stop brute force attack

Hackers can easily crack your login password and credential using brute force attack. To prevent that from happening, you can install the login lockdown plugin. This plugin records the IP address and timestamp of every failed WordPress login attempt. Once a certain number of failed attempts are detected, it will disable the login function for all requests from that range.

This article has been prepared by http://htmlpress.net, which is a WordPress website tutorial for all levels. We provide step-by-step tutorials on how you can create and maintain your own website for FREE!

Reblog from: http://www.johnchow.com/how-to-secure-your-wordpress-blog/

Problem Shutting Down FreeBSD

FreeBSD doesn’t shutdown properly when I type “shutdown now”, the system runs and “Enter full pathname of shell or RETURN for /bin/sh” appears.
Here is how to fix that:

$ shutdown -p now

To learn more check out the FreeBSD manual here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html#BOOT-SINGLEUSER

How to install Python 2.7 on FreeBSD

To install Python v 2.7 just type the following in shell

1. Install Python 2.7
#  pkg_add -v -r python27

2. To install Apache:

# cd /usr/ports/www/apache22
# make config

Make sure ‘THREADS’ is selected and review other options before selecting OK.
# make && make install

3. Install mod_wsgi3
# cd /usr/ports/www/mod_wsgi3
# make
# make install

4. Install PIP
# pkg_add -r py27-pip