Setting up Drupal AdSense
Submitted by GeorgeS on Thu, 01/29/2009 - 10:33Step 1. Setup & register your http://www.google.com/adsense account first. At the end of the wizard cut and paste the code generated. You will need this later. You will need all the code plus the google_ads_slot value.
Step 2. ( get the installation kit) for 6.x
Note the Publisher ID: ( top right corner begins with pub-xxxxxxxxxxxxxx
Download the following modules;
AdSense http://drupal.org/project/adsense
AdSense Injector http://drupal.org/project/adsense_injector
Who is hosting who
Submitted by GeorgeS on Wed, 01/28/2009 - 20:09If at any point you would like to know who is hosting a site eg. one of your competitors , simply visit www.domaintools.com and type in the domain you want to check into the search bar.
- GeorgeS's blog
- Login or register to post comments
Controlling Googlebot crawls
Submitted by GeorgeS on Wed, 01/28/2009 - 19:42For some Google crawls too often which comsumes too much bandwidth. For others it visits too infreqently. Some complain that it doesn't visit their entire site and others get upset when areas that they didn't want accessible via search engines appear on the Google index. It is not really possible to attract robots. Google
will visit your site often if the site has good content that is updated often and is mentioned by other sites. However it is possible to deter robots. You can control both the pages that Googlebot crawls and request reduction in the frequency or depth of each crawl.
How quickly you can expect to be crawled
Submitted by GeorgeS on Tue, 01/27/2009 - 17:01There are no firm guarantees as to how quickly new sites or web pages will be crawled by Google and then appear in the search index. However , following one of the four actions above, you would normally expect to be crawled within a month and then see your pages appear in the index two or three weeks afterwards. In my experience, submission via google webmaster tools is the most effective way to manage your crawl and to be crawled quickly, so I typically do this for all my clients.
- GeorgeS's blog
- Login or register to post comments
Long-Short Fund Manager
Submitted by GeorgeS on Tue, 01/27/2009 - 16:57A long-short fund manager looks for overvalued assets to sell and undervalued assets to buy. The valuation may be relative to the current assets and earnings of the securities or relative to the future prospects for the companies. Matching the two allows for reduced risk and increased returns. This is the hedge fund game
- GeorgeS's blog
- Login or register to post comments
Look up The IP Address of a Remote Host
Submitted by GeorgeS on Mon, 01/26/2009 - 21:19from prompt type the following;
nslookup www.(site_name). That will return the IP.
- GeorgeS's blog
- Login or register to post comments
How GoogleBot finds your site
Submitted by GeorgeS on Mon, 01/26/2009 - 20:54GoogleBot finds your site in 4 possible ways.
1 Submit your URL to google for crawling, via the "Add URL" form at www.google.com/addurl.html.
2 Google finds your site from another site that is already index so that google sends a spider to find your link
3 Sign up to google webmaster tools , here it verifies your site and submit a sitemap.
4 Redirect an already indexed page to the new page.
- GeorgeS's blog
- Login or register to post comments
Do not covet your ideas.
Submitted by GeorgeS on Sun, 01/25/2009 - 16:26Give away everything you know and more will come back to you. I firmly believe in that. On this basis I setup this web site. I like to share my knowledge I have learnt over the years in Hedge Funds, Stock Broking and Investment Banking.
From school I remember students preventing you from seeing their answers by placing their arm around their excercise book or exam papers.
It is the same at work, people are secretive with ideas. "Don't tell them that, they'll take the credit for it".
The problem with hoarding is you end up living off your reserves. Eventually you'll become stale.
- GeorgeS's blog
- Login or register to post comments
- Read more
You, the support guy
Submitted by GeorgeS on Fri, 01/23/2009 - 14:50After many years working in Front Office people have often ask what makes a good support guy. These are my top 16 list
(1) Must be a team player that is able to work with people across different departments (business/external clients and IT), countries and regions.
(2) A drive to get things done (ensuring a high level of quality)
(3) Has a genuine interest in trading/auto-trading systems
(4) Ability to work under pressure.
(5) Undertand the trading environments/systems and the trading business
(6) Strong analytical skills
- GeorgeS's blog
- Login or register to post comments
- Read more
Exception handling front arena
Submitted by MariaS on Thu, 01/22/2009 - 07:12you can use the python exception mechanism to handle exceptions. A couple of simple examples describing this process are as follows.
import acm
msg = 'Zero or one stocks expected'
try:
stock = acm.FStock.Select01("contractSize=1",msg)
except RuntimeError , e:
print e
As mand stocks could have a contract size of one, the value of e is the value of msg passed to the select01() method.
import acm
a= acm.FArray()
a[0] = "FRED"
try:
print a.IntAt(0)
except TypeError , e:
print e
- MariaS's blog
- Login or register to post comments
- Read more