ohh yes I am an Iron Man fan... who wouldnt want to be one...
wish list of Iron man stuff one must have :D
- The Killer Costume Party gear... The Iron man Helmet...
http://www.ebay.in/itm/Iron-Man-Deluxe-Helmet-/270831607595?pt=LH_DefaultDomain_203&hash=item3f0ed25f2b
and few action figures...
Saturday, October 29, 2011
Iron man goodies
Posted by Warlock handleR at 9:51 AM
Tuesday, August 30, 2011
setting up a git repo at your domain hosting provider..
pre requisite - git should be installed there
follow
http://railstips.org/blog/archives/2008/11/23/gitn-your-shared-host-on/
Posted by Warlock handleR at 3:19 AM
Wednesday, August 24, 2011
Install random req tools on EC2 Amazon AWS
Posted by Warlock handleR at 7:14 AM
Monday, August 22, 2011
Capistrano for dummies
the bare basics..
http://www.softiesonrails.com/2007/4/5/the-absolute-moron-s-guide-to-capistrano
http://teachmetocode.com/screencasts/basic-deployment-with-capistrano/
Posted by Warlock handleR at 2:54 AM
Wednesday, June 15, 2011
Rails to MySQL data types
MySQL Column Data Type to Ruby class type (when using ActiveRecord)
For completeness sake, here's a summary of Rails migration types and their MySQL column data types.
Rails Migration Type to MySQL Column Data Type
| Rails Migration Symbol | MySQL Data Type |
|---|---|
| :binary | blob |
| :boolean | tinyint(1) |
| :date | date |
| :datetime | datetime |
| :decimal | decimal |
| :float | float |
| :integer | int(11) |
| :string | varchar(255) |
| :text | text |
| :time | time |
| :timestamp | datetime |
Posted by Warlock handleR at 7:52 AM
Thursday, June 9, 2011
gem development/packaging ref
gem development reference
http://sirupsen.com/create-your-first-ruby-gem-and-release-it-to-gemcutter/
http://integrumtech.com/2010/01/how-to-build-a-ruby-gem/
Posted by Warlock handleR at 12:18 PM
Sunday, May 29, 2011
Roll with Rake!!!
output of
rake -T
rake about # List versions of all Rails frameworks and the environment
rake db:create # Create the database from config/database.yml for the current Rails.env (use db:create:all to create all dbs in the config)
rake db:drop # Drops the database for the current Rails.env (use db:drop:all to drop all databases)
rake db:fixtures:load # Load fixtures into the current environment's database.
rake db:migrate # Migrate the database (options: VERSION=x, VERBOSE=false).
rake db:migrate:status # Display status of migrations
rake db:rollback # Rolls the schema back to the previous version (specify steps w/ STEP=n).
rake db:schema:dump # Create a db/schema.rb file that can be portably used against any DB supported by AR
rake db:schema:load # Load a schema.rb file into the database
rake db:seed # Load the seed data from db/seeds.rb
rake db:setup # Create the database, load the schema, and initialize with the seed data (use db:reset to also drop the db first)
rake db:structure:dump # Dump the database structure to an SQL file
rake db:version # Retrieves the current schema version number
rake doc:app # Generate docs for the app -- also availble doc:rails, doc:guides, doc:plugins (options: TEMPLATE=/rdoc-template.rb, TITLE="Custom Title")
rake log:clear # Truncates all *.log files in log/ to zero bytes
rake middleware # Prints out your Rack middleware stack
rake notes # Enumerate all annotations (use notes:optimize, :fixme, :todo for focus)
rake notes:custom # Enumerate a custom annotation, specify with ANNOTATION=CUSTOM
rake rails:template # Applies the template supplied by LOCATION=/path/to/template
rake rails:update # Update both configs and public/javascripts from Rails (or use just update:javascripts or update:configs)
rake routes # Print out all defined routes in match order, with names.
rake secret # Generate a cryptographically secure secret key (this is typically used to generate a secret for cookie sessions).
rake stats # Report code statistics (KLOCs, etc) from the application
rake test # Runs test:units, test:functionals, test:integration together (also available: test:benchmark, test:profile, test:plugins)
rake test:recent # Run tests for {:recent=>"test:prepare"} / Test recent changes
rake test:uncommitted # Run tests for {:uncommitted=>"test:prepare"} / Test changes since last checkin (only Subversion and Git)
rake time:zones:all # Displays all time zones, also available: time:zones:us, time:zones:local -- filter with OFFSET parameter, e.g., OFFSET=-6
rake tmp:clear # Clear session, cache, and socket files from tmp/ (narrow w/ tmp:sessions:clear, tmp:cache:clear, tmp:sockets:clear)
rake tmp:create # Creates tmp directories for sessions, cache, sockets, and pids
Posted by Warlock handleR at 10:16 AM
Sunday, May 15, 2011
rails session info from console
To call helpers, use the helper …hmm… helper.
$ ./script/console
>> helper.number_to_currency('123.45')
=> "R$ 123,45"
If you want to use a helper that's not included by default (say, because you removed helper :all from ApplicationController), just include the helper.
>> include BogusHelper
>> helper.bogus
=> "bogus output"
As for dealing with controllers, I quote Nick's answer:
> app.get '/posts/1'
> response = app.response
# you now have a rails response object much like the integration tests
> response.body # get you the HTML
> response.cookies # hash of the cookies
# etc, etc
Posted by Warlock handleR at 11:18 AM
Thursday, July 3, 2008
How good is your mobile
Would you like to know if your mobile is original or not ?????
Press the following on your mobile *#06# and the-international mobile equipment identity number appears. Then check the 7 th and 8 th numbers:
IF the Seventh & Eighth digits are 02 or 20 this means your cell phone was assembled in Emirates which is very Bad quality
IF the Seventh & Eighth digits are 08 or 80 this means your cell phone was manufactured in Germany which is fair quality
IF the Seventh & Eighth digits are 01 or 10 this means your cell phone was manufactured in Finland which is very Good
IF the Seventh & Eighth digits are 00 this means your cell phone was manufactured in original factory which is the best Mobile Quality
IF the Seventh & Eighth digits are 13 this means your cell phone was assembled in
Mine is 01... hahah I am safe :D
=================================================
||My FREE services||
ParkingWHOIS is now not only a domain parking lookup, but now also has reviews on Parking Companies.
=================================================
Posted by Warlock handleR at 2:51 AM
Thursday, June 5, 2008
Wannabe domainer

You are a wannabe domainer if...
=> Every new event in this world provokes you to buy a domain name
Eg. the worldcup 2010 is coming soon and you buy a
worldcup2010.com
or even
Anjalina jolie has adopted a kid and you buy a
Anjalinajoliekids.com
=> Any site you see with a PR 5 plus, you try to buy its typos
Eg. wallstreetjournal.com and you buy a
walstreetjournal.com
=> A new tld or cc-tld launched provokes you to buy a domain name
Eg. dnforum.com exist but after the launch of the Cameroon cc-tld (*.cm) you buy a
dnforum.cm
=> If you use the domain name check availability more than ten time in a day
Eg. I want to add a finance related site to my domain portfolio, hmm which of these are available
LAFinance.com
NewJerseyFinance.com
CanadaFinance.com
=> You have an account with more than five registrars
Eg. Godaddy NetworkSolutions net4Domains
=================================================
||My FREE services||
ParkingWHOIS is now not only a domain parking lookup, but now also has reviews on Parking Companies.
=================================================
Posted by Warlock handleR at 10:56 PM
Monday, April 14, 2008
Converting Gedit into Textmate
Yes, so lately I have been developing using the Ruby on Rails framework a lot. To my irony there ain't much choice nor there exist any really really good IDE or editor for Rails on Ubuntu(or rather Linux in general). You could use VIM or Emacs but for some reason that I cant understand I choose not to use them.
My favorite text editor on ubuntu was Gedit. Although by default you don't get a hell lot of features in it but the best I liked was tabbed browsing. I guess thats a common thing in most Linux GUI based applications. Ok so this is what your Gedit would look like:Hmm.. so lets quickly start the process of changing Gedit into something close to textmate:
1) Lets quickly download Jose's Gedit bundle.
2) Edit the mime types file and add the below mentioned lines
sudo nano /etc/mime.types3) Update the new extensions mime typestext/x-ruby-source rhtml html.erb
text/x-eruby rjs
text/x-yaml yml
sudo update-mime-database /usr/share/mime
4) Copy the x-rhtml to the directory /usr/share/mime/packages
5) Copy extensions ruby.lang, rhtml.lang and rjs.lang the directory /usr/share/gtksourceview-2.0/language-specssudo cp gmate2/mime/x-rhtml.xml /usr/share/mime/packages
6) Update pluginssudo cp gmate2/langs/*.lang /usr/share/gtksourceview-2.0/language-specs
7) Copy the snippets (cuts)cp -R gmate2/plugins/* ~/.gnome2/gedit/plugins/
8) Copy the colorscp -R gmate2/snippets/* ~/.gnome2/gedit/snippets/
9) Remove a directory of your gnome settingscp gmate2/styles/Rubycius.xml ~/.gnome2/gedit/styles/
where warlock is your username.rm -Rf /tmp/gconfd-warlock
10) Open the Gedit and on the menu: Edit> Preferences> Plugins tab and:
- Gemini (May auto complete parentheses, quotation marks, brackets, etc.)
- Snippets
- Snap Open (the key combination of CTRL + ALT + O opens a dialog where you can find the files you want)
12) Finally, if you want in the menu: Edit> Preferences tab "View" can: Show line numbers, and current line Highlight Show right margin.
If for some reason the formating dont appear then quickly go to the terminal and hit
If everything is done right you should get this sort of output(text highlighting) for your files you open:sudo update-mime-database /usr/share/mime


=================================================
||My FREE services||
ParkingWHOIS is now not only a domain parking lookup, but now also has reviews on Parking Companies.
=================================================
Posted by Warlock handleR at 11:48 PM
Wednesday, April 2, 2008
domain names

I once heard, "So whats in the name" and now I can very firmly say its all in the domain name.... today I will be talking about few domain names and their peculiar characteristics. People own long domain names to catch attention and it is the same with people who own really short domain names. Generic word domains are got for their obvious marketing value. So I would put t in this way... every domain name has some interest attached to it.. if it doesn't then it wouldn't survive as a domain name.
LONGEST domain names
http://www.iamtheproudownerofthelongestlongestlongestdomainnameinthisworld.com
http://www.thelongestlistofthelongeststuffatthelongestdomainnameatlonglast.com
http://3.141592653589793238462643383279502884197169399375105820974944592.com
http://www.llanfairpwllgwyngyllgogerychwyrndrobwyll-llantysiliogogogoch.com
http://www.h-i-t-h-i-s-d-o-m-a-i-n-h-a-s-t-h-e-m-o-s-t-d-a-s-h-e-s-e-v-e-r.info
http://www.thepersonwithanewideaisacrank-untiltheideasucceeds-by-marktwain.com
SHORTEST domain names
The shortest known domain name right now was recently acquired by Google, with the purpose of making it easier for Chinese users to find Google?s main site. The domain name is "g.cn". Most single letter domain names are supposed to be reserved by the Internet Assigned Numbers Authority (IANA). However, there are a few cases of this not being so:
* http://www.Z.com owned by Nissan
* http://www.Q.comowned by Qwest
* http://www.X.com owned by PayPal.
Google was not allowed by IANA to buy g.com, but they got lucky and found a one letter-shorter alternative in "g.cn".
Owned by product companies
Old Country Buffet - Buffet.com
Diago - Malts.com, Rum.com, Scotch.com
Disney - Movies.com, Video.com, 101.com, Go.com, Family.com
Ebay (aka PayPal) - X.com
Fixodent - Dentures.com
1-800-flowers - Flowers.com
Food Network - Food.com
Google - Hello.com
Honda - Motorcycles.com
JC Penny - Gift.com
Johnson and Johnson - Baby.com
Kraft - Cream Cheese.com
MasterCard - Priceless.com
Merriam Webster - Word.com
Microsoft - Live.com, Surface.com, Start.com
Nissan - Z.com
Monster - Jobs.com
National Pen Company - Pens.com
Nestle - Meals.com
Office Depot - Office Supplies.com
PetSmart - Pets.com
Procter and Gamble - Toothpaste.com
QWest - Q.com, Fast Lane.com, Fog Light.com
Ragu - Sauce.com
R.H. Donnelley - Business.com, Work.com
Rocky Mountain Bicycles - Bikes.com
Sports Endeavors - Soccer.com, Lacrosse.com
Sylvan Learning - Educate.com, Hop.com, Ivy.com
The History Channel - History.com
The Map and Globe Store - World Maps.com
The Weather Channel - Weather.com
The Wedding Channel - Weddings.com
Travelocity - Vacations.com
Unilever (Products include: Knorr, Slim Fast) - Soup.com, PeanutButter.com
=================================================
||My FREE services||
ParkingWHOIS is now not only a domain parking lookup, but now also has reviews on Parking Companies.
=================================================
Posted by Warlock handleR at 11:25 PM
Saturday, March 15, 2008
Setup GIT for Rails
GIT is a popular version control system designed to handle very large projects with speed and efficiency; it is used mainly for various open source projects, most notably the Linux kernel. Git falls in the category of distributed source code management tools, similar to e.g. GNU Arch or Monotone (or BitKeeper in the proprietary world). Every Git working directory is a full-fledged repository with full revision tracking capabilities, not dependent on network access or a central server. Basically it Rocks.
I am on a Linux box so this is what I need to install GIT
sudo apt-get install git-tk git-svn git-email git-doc git-cvs git-core git-arch
once this is done you can test the GIT setup by typing GIT in the terminal. You should typically get this output.
So now your GIT is up and ready to fire. Now navigate to your rails project folder. Follow these steps to create your repository:- Initialize a new git repo
- Create a .gitignore for files git should ignore while committing
- Default values for a .gitignore
- In case you don't see a /log /vendor /tmp | note use sudo(super user) if these directories are already created but are empty
- Commit your files in the repo | again do this from the home of the project
- You can check the status of the repo
// Initialize a new git repo
git init//Create a .gitignore for files git should ignore while committing
touch .gitignore//Default vaules for a .gitignore
DS_Store//In case you dont see a /log /vendor /tmp | note use sudo if these directories are already created but are empty
log/*.log
tmp/**/*
config/database.yml
touch /log .gitignore /vendor .gitignore /tmp .gitignore//Adding your files for the repo | do this from the home of the project
git add .//Commit your files in the repo | again do this from the home of the project
git commit -a -m "Some message here... mostly the reason to commit"//You can check the status of the repo
git status
And that pretty much covers the basics. Till the next time.... peace
=================================================
||My FREE services||
ParkingWHOIS is now not only a domain parking lookup, but now also has reviews on Parking Companies.
=================================================
Posted by Warlock handleR at 4:50 PM
Wednesday, February 6, 2008
Selecting the right domain name

Selecting the right domain name is important not only of SEO or type-in traffic but also for what it symbolizes. Here are some of the mistakes done in the past.
1. A site called 'Who Represents' where you can find the name of the agent that represents a celebrity. Their domain name. wait for it. Is www.whorepresents.com
2 Experts Exchange, a knowledge base where programmers can exchange advice and views at www.expertsexchange.com
3. Looking for a pen? Look no further than Pen Island at www.penisland.net
4. Need a therapist? Try Therapist Finder at www.therapistfinder.com
5. Then of course, there's the Italian Power Generator company. www.powergenitalia.com
6. And now, we have the Mole Station Native Nursery, based in New South Wales: www.molestationnursery.com
7. If you're looking for computer software, there's always www.ipanywhere.com
8. Welcome to the First Cumming Methodist Church. Their website is www.cummingfirst.com
9. Then, of course, there's these brainless art designers, and their whacky website: www.speedofart.com
10. Want to holiday in Lake Tahoe? Try their brochure website at www.gotahoe.com
=================================================
||My FREE services||
ParkingWHOIS is now not only a domain parking lookup, but now also has reviews on Parking Companies.
=================================================
Posted by Warlock handleR at 2:56 AM
Sunday, December 16, 2007
Common rails validations
A rather short post, this one if focused on few validations in rails that I often use. In rails you could do a lot of validations, as they are very simple to handle. Because of the well structured and separated MVC architecture all you need to do is write you validations for the database in our model. Actually as a matter of fact you could also write them as a library and call its methods. The ones below aim to do just that. They use regular expressions, in case you are confused with what that is do read up.
Validating an Email Address
validates_format_of(:email,
:with => /^([^@s]+)@((?:[-a-z0-9]+.)+[a-z]{2,})$/i,
:on => :create,
:message=>"has an invalid format")
Validating URLs
validates_format_of :url, :with => /^(https?://)?([^/]+)(/.+)?$/i
# OR
validates_format_of :url, :with => /^(ftp|https?)://((?:[-a-z0-9]+.)+[a-z]{2,})/
Validating IP addresses
validates_format_of :ip, :with => /^(d{1,3}.d{1,3}.d{1,3}.d{1,3})?$/
=================================================
||My FREE services||
ParkingWHOIS is now not only a domain parking lookup, but now also has reviews on Parking Companies.
=================================================
Posted by Warlock handleR at 8:10 PM
Tuesday, December 4, 2007
Installing Rails on uBuntu 7.10 Gusty Gibbons

So I wanted to install Ruby on Rails on my new linux box. And really thats not tough, this post just guides you to do the same. Actually I feel it is 80% easier to setup your linux box for any programming language than a windows COMPUTER. I might be wrong cause I used Windows for about a decade and then its a little more than one year since I have been using uBuntu (DUH!! a linux distro for the ones that didnt know) and I am already in love with it. One year and it still hasn't crashed. I can go on and on about my love for uBuntu but I think I will stop here. Ohh BTW uBuntu 7.10 (or uBuntu Gusty Gibbons has launched). It is sooooo light and awesome looking that my mom also is telling me to install it on her laptop. Truly linux for human beings. But I think I will let her laptop be a dual boot with XP and uBuntu; It will help me test my web apps.
Coming back to the main topic of discussion, I need to install Rails on uBuntu (actually works well for debian too). So here are few basic steps you might want to review:
1) Make sure all the build essentials are present on your Linux box. If not then quickly get into the terminal and hit
sudo apt-get install build-essential
2) Next you need to install ruby ri and rdocs so hit
sudo apt-get install ruby ri rdoc
3) Now you would want to download the latest versions of RubyGems; you could do that from http://rubyonrails.org/down or hit
sudo wget http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz
4) Uncompress and extract the file by
tar -xvzf rubygems-0.9.0.tgz
5) Go into that folder by
cd rubygems-0.9.0
6) execute the setup.rb file to setup RubyGems
sudo ruby setup.rb
7) Use RubyGems to install Rails
sudo gem install rails --include-dependencies
8) If the previous step gave you an error about SSL then install the Open SSL library for ruby
sudo apt-get install libopenssl-ruby
And you are ready to go!!! Lets test the Rails setup by creating a demo project and running it (remember you are still in the terminal)
$ rails testapp
$ cd testapp
$ ruby script/server
/testapp$ ./script/server
=> Booting WEBrick…
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2006-12-07 05:28:37] INFO WEBrick 1.3.1
[2006-12-07 05:28:37] INFO ruby 1.8.4 (2005-12-24) [i486-linux]
[2006-12-07 05:28:37] INFO WEBrick::HTTPServer#start: pid=6687 port=3000

You’ll notice that the server is listening on port 3000. Open up a browser, and go to http://localhost:3000. Ok this is it for this article hope you are successful in setting up Rails on your Linux box and I wish your app gets as famous as David's. Peace.
=================================================
||My FREE services||
Find out more information about domain parking at ParkingWHOIS
=================================================
Posted by Warlock handleR at 2:10 AM
Thursday, November 29, 2007
Does habit equal addiction?
This article talks about the Siamese twins called Habit and Addiction, their similarity and how one should tackle them...
The oxford dictionary defines habit as a settled or regular tendency or practice or alternatively an addiction to drugs. Ok that was what the books told us, but lets see what I understood of the word habit, Habit is word or tendency such that when I remove the starting letter from it (i.e. H), I still have a-bit, if I remove the next letter (i.e. A), I am still left with bit, when I remove the next letter from that, I am left with it, I still keeping having it, now in my desperate attempt I remove the next letter from that (i.e. I), I am still left with T, i.e. tea or coffee whatever you prefer. So habit is one such word so well defined in the English literature that it doesn't make you feel like an addict nor does it sound insulting, an extremely polite way of saying, Yes, I am addicted to something.
Many people, including my clients keep asking me, How can I differentiate between a habit and an addiction? Well the answer is very simple, you can't, and you just can't differentiate between a habit and an addiction. They both mean exactly the same. Socially or rather politically, the word habit is considered to be more polite than the word addiction. In most cases, if not in all, habits are formed unknowingly and people involuntarily get habituated. Now why did I say that? Well in most cases you never understand your body and why is it demanding something. You just do it because your body demands it.
Accepting that you are addicted is the only way to conquering your fears. You need to realize, not assume, what you are habituated to. Getting rid of an addiction or a habit starts from knowing your body, understanding its needs. Bringing discipline in your life, is a more practical way to word it. You need to know that your body is not like any other machine that processes your food, but is way much more complex. You need to balance your sleep hours, eating habits, and recreation timings.
Loosing your addiction or habits is only half success, but maintaining it for life is your final success. So once you have won yourself against addiction, it is very important to maintain this victory. The key element that would keep you going on in this battle is that fact that you love yourself and you love your life. Boys like their toys and girls like their boys, a phrase that displays relation betweens the oddest of elements. Raising the bar is a very good thing, as humans are competitive but one must know when and where the word enough, in their line of life. You may not be the best but you are not bad either.
So, let me end this one here by saying, be in control of yourself and your life. They just give you one life, so don't let any habit manipulate it cause this is one place you never get a second chance.
=================================================
||My FREE services||
Find out more information about parking domains at ParkingWHOIS
and many more...
=================================================
Posted by Warlock handleR at 6:54 AM
Wednesday, November 28, 2007
Domain monetization
Welcome to the world of monetization, the a prime community of online real estate. Back in the early 90s a man named Rick Schwartz saw the future of domain names; Domain monetization as we call it now. Rick that time bought many generic domain names like men.com, eScore.com and a whole bunch of adult domain names. Men.com is no longer rick's property but he sold that prime name for $1.3 Million, he also sold eScore.com to Stanley Kaplan test preparation company for about $100 thousand. Although rick sold few of his generic domain names he still owns a good lot of them. And that just one of them now you cannot forget Frank Schilling, Sahar Sharid and many more...
So, how is the market now? and what do you do if you lost a chance on grabbing one of those prime real estate. Well in real life one would simply buy some real estate near those prime property and that exactly happened in the cyber world too. People started buying typos of domain names that were either generic or famous brands. It there exist a loan.com then someone bought a laon.com buy getting inspired by that. Mind it, its a good strategy but not a successful one always. There is a good chance that the typo you own may not be the best that exist for that particular domain and hence its value might be less than few others. It is really hard to calculate the probability of how successful a typo domain name would be, but you could use this tool at SEOChat to generate domain typos. This lead to a new generation of pseudo domainers called typo squatters. One can get lucky with a good domain typo but there are times you can be sued for trademark violation.
Is this opportunity just for individuals? Well I would say no!! Back in the early days people in the Registry (i.e the DOTcom registry)also understood what they are gonna loose, so they tried to cap the losses by proposing the Wait List Service (WLS). The whole idea of WLS was, there would be a wait list for a particular domain name. If a person wanted a domain name he could pre order it. If that domain name has to expire then he would be the next rightful contender of that domain name. This was proposed for the DOTcom and DOTnet top level domains (tlds). But the deal never went through. The DOTtv registry is another example of the registry making profit out of domain names. The DOTtv registry has marked some domains are their premium set of domain names, no one can register them but a person can only rent them for a tenure of one year. The domain renting rate for each domain is calculated on its value in the industry and changes very dynamically.
We have covered premium domain names and also typo squatting, getting further in depth lets discuss how Registrars make money off domain monetization. In a particular domain cycle (this example image is specific to that provider) there are various stages when a registrar could monetize domains he has such as:
Domains that are newly registered
Often when you register a domain name you do not point that domain to your actual hosting provider for one reason or the other (may it be testing, or you don't have hosting as of yet). What a registrar could do is give a set of nameserver records and volla!! he is monetizing your domain traffic by simply giving you a "coming soon" page filled with ads. A good example of this would be this screen cap
Domains that have expired
When a domain name expires the registrar gets 45 days of grace if he chooses to keep this domain or get a refund for it. From the 45 days given to them they give about 15 to 20 days to the registrant of the domain name for them to register it. Once the 20 day period is over the registrar parks the domain name (in few cases from the start of the 20 day period). This is a good source of quick pocket money for the registrar. Another smart move would be to keep the domain to themselves if it makes them a good sum while they have parked this concept is called as smart parking.
Page not found | 404 error
Another way to make money from domains that are registered are to monetize their 404 error pages (in few cases all error). They display a very smart looking "page not found" error with rest of the page filled with ads. This generally is not done in paid hosting, it is more seen in free hosting where companies offer free hosting but use methods like these to make money on the side.
By now the Registry also knows the money involved here, what they do is a even bigger step, they wild card an entire tld. If you havent registered a particular domain name eg. my-domain.in.com the in.com tld is so configured that it will show you a generic parked page and monetize the traffic on that domain name. Check out this example below
All said and done domain monetization is a pot full of going coins or hug bunch of green Benjamin Franklins or which ever currency you follow but not the end of the purpose of the internet. I will leave this article here and continue this topic in another article.
=================================================
||My FREE services|| Find out where a domain is monetized
Parking WHOIS
and many more...
=================================================
Posted by Warlock handleR at 4:33 AM
Friday, November 16, 2007
SEO with different server-side languages
This article sheds light on an important aspect of SEO, i.e clean URLs. How would you achieve clean URLs in few commonly used server-side languages like JSP, PHP, Ruby on Rails.
Let me start off with clean URLs; Dynamic websites use server-side languages to process visitor inputs and display results generated at real time. Often you might see the address bar of most of your famous web browsers growing really long. I tried to search something on Google and I got a long URL on my address bar.
[goto|http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=rmk&q=urls&btnG=Search]
So what are all these weird words?
My techie brothers by now might have already guessed that these are parameters a page passes to the server to dynamically generate the next page you are navigating to. So if you lost then check this for a little intel on server-side coding. Search engines find it hard to index these pages that are dynamically generated. They love static pages, for example
www.domain-name.com/pages/Check-this-article.html
So lets quickly learn on how we could clean these URLs
You could use the POST method instead of GET, this would clean the URL; But the problem is that it would completely clean the URL... hahah for example
http://domain-name.com/search.php would simple direct you to http://domain-name.com/results.php
no parameters at all, but then the state of that page would be lost and just the default results.php page would be indexed.
You could use URL rewriting, this would be the best solution as it would still preserve the state of that page and index it. For example,
http://domain-name.com/search.php?query=finance
can be modified as
http://domain-name.com/search/finance
by using Apache's mod-rewrite.
So now we have modified the URLs, (I haven't explained how to do URL rewriting in detail as there a zillion tutorials on the net plus the official Apache tutorials) whats next?
Which Server-side language is the best for this?
You should consider the fact that the older a language is the harder it is to have clean URLs there. So lets compare
JSP - Advance configuration
ASP - Advance configuration
PHP - Intermediate configuration
ASP.net or the .net frame work - Rather simple
Ruby on Rails - No configuration already done by the system
What about Windows or Linux (*nux) servers?
As configurations depends on server flavors, it is a different procedure on a Windows Box as compared to a Linux Box rather it is different on a IIS server as compared to Apache server or any other choice. According to the tests I can confirm that it is much easier on a Apache
server as compared to an IIS server.
Few links to help you configure your server for URL rewrite
On IIS try http://www.isapirewrite.com/ (commercial/paid)
On Apache try the mod-rewrite (Open source/FREE)
On Websphere try http://www.exforsys.com/tutorials/websphere/websphere-v5.0-running-applications-understand-session-manager.html
In the end of the day, it you and your application; For the love of coding... keep the cyber world clean and green!!!
=================================================
||My FREE services||
Parking WHOIS
and many more...
=================================================
Posted by Warlock handleR at 9:06 PM
Tuesday, September 25, 2007
Am I addicted?
A question that pops up in your mind when you do a certain task very regularly with your understanding so as to why you are doing so in the first place. I have noticed in many situations that people never realize that they are addicted until they are told so. So how do people react when they are termed as addicted? A very obvious emotion seen is fright, or worry. Addiction is considered to be a disease that can't be cured. However, just like a coin addiction can be viewed with two different perspectives. A positive addiction is similar to a good habit that voluntarily or involuntarily done by a person. At the same time a negative addiction is just like habit that causes damage to self or others in a physical or psychological way.
Ok so I am addicted, can you help me? The answer to this question is NO. There are no drugs or special herbs that would come in handy in this situation. So how do I cure myself? The answer is in that question itself, i.e. I, yes only you can cure yourself. Learn to use the word NO; it's a small word with big impact. You have to be strong in your mind, don't let your sub-conscious mind control you but you control your sub-conscious mind. Whenever you are tempted to do one of those addicted tasks, be strong, understand the fact that it is wrong, and finally refrain from doing it. You may have mixed emotions in you mind that instance but don't you ever overlook the fact that you are now so proud of yourself, for saying NO, to all those addictive tasks.
Isn't that like so simple, so what is the catch? I spoke to few addicts, after they understood this procedure they agreed to follow it for a month to start with and then they would give me feedback on it. The day of the feedback I realized that many could successfully follow the procedure only for a week or even less, many very easily lied and later confessed, and there were some who just preferred continuing being an addict without even trying to see the other side of the world. Yes, it isn't as simple as it sounds. Controlling your sub-conscious mind isn't very simple.
So the question arises, how do I control my sub-conscious mind? Do I take relaxants or any other drugs? No don't need to start taking relaxants; you cannot stop one addiction by starting another. The idea out here is to always be in your conscious mind and not let your sub-conscious mind control you. You should be in peace with yourself; yes this is one very important thing. I would recommend yoga in the morning; a small session would do the trick. When you meditate I want you to remember all the good things that happened to you, all the bad things that happened to you, how would that change you, how would respond to things, this way I want you to reflect on your past, and cure the wounds, so that your past positively influences your present. When you do this exercise regularly, it also presets you in an active mode when you start your day, rather than a passive mode.
As they say, winning someone's trust is hard, but keeping that trust maintained is even harder. This phrase also applies in our situation too, as coming out of an addiction is hard but maintaining that life long is even harder. So let us see some sarcastic do's and dont's. If you are tempted towards an addictive task, don?t feel bad that?s just human, but you saying NO is just divine. For every addictive action, there is an equal and opposite guideline. If you feel defeated, complaining would just not help, just work harder. If they call you a geek because you quit an addiction, times are changing, geeks are cooler now-a-days. Every person in an addictive state tends to remain in that state unless an external force is applied to it.
I would like to conclude saying, be strong and stay strong. It is hard and it even gets harder, but its totally worth it.
=====================================================
||My FREE services||
Parking WHOIS
and many more...
=====================================================
Posted by Warlock handleR at 6:13 AM
