IBM Category

Apex Code: Auto Convert Web-to-Lead Check Duplicates Create Opportunity

Use Case: Web-to-lead form needs to be auto converted to Account, Contact and Opportunity. Create a trigger for the Web-to-lead record type. Check if that contact email already exist. If it does just create an opportunity. The trigger will look like this: trigger autoConvertLead on Lead (before insert,after insert, after update) { List<Lead> marketoLeadsToBeConverted = new List<Lead>(); Set<String> […]

Rate this:

Read More

PyCon2012 Intermediate Python Solutions

functional.py import types import unittest class TestFunctional(unittest.TestCase): def test_functional(self): # Lambda # create a lambda statement that adds 2 to it’s input # assign the statement to a variable named “add_2“ # ================================ add_2=lambda a: a+2 self.assert_(isinstance(add_2, types.LambdaType)) self.assertEquals(add_2(4), 6) # Lamda 2 # Create an “is_odd“ lambda statement, # that returns True if the […]

Rate this:

Read More

Blog hits 100 000 visits

I am super stoked about the tremendous liking geeks, developers and all techies have found useful. I have tried to keep the posts current and give as much info on each tutorial so you can try it at home/work. My plan for this year is to increase the amount of posts and also make the posts more […]

Rate this:

Read More

Salesforce Integration with Pervasive Data Cloud, WebSphere Cast Iron, Informatica Cloud Services and Dell Boomi

The need for integration With the accelerating growth of Cloud Computing, many companies are getting stuck in migrating, integrating and extracting information from their on-premise to their cloud environment and vice versa. Given these concerns regarding integration, it is not surprising that many IT organizations have felt hesitation if not outright rejection of Cloud applications. […]

Rate this:

Read More

Visit to Computer History Museum

This weekend I decided to cycle down the road and visit the Computer History Museum in Mount View. Wow what a great place show casting some of the oldest computers. One that amazed me was the Babbage difference engine No. 2. It was designed by Babage almost 100 years ago stored in a museum in […]

Rate this:

Read More

WebSphere Application Server Deployment Strategies

If you are thinking of deploying WAS clusters or migrating cluster there are 5 ways you can do it. Below I will look at the 5 strategies and which one is best for each scenario. Strategy 1: Side by Side – Create a new cell and populate with scripts or manually. Best results with a comprehensive set […]

Rate this:

Read More

Starting, Interacting and Examples of HDFS

This is a follow up on the previous post: https://thysmichels.com/2012/01/31/hadoop-configuring-distributed-file-system-hdfs-tutorial/ Starting Hadoop Distributed File System Now we will format the file system we just configured. Important: This process should only be performed once bin/hadoop namenode -format Now we can start the the HDFS bin/start-dfs.sh The start-dfs.sh will start the NameNode server on the master machine and also […]

Rate this:

Read More

Ubuntu Update Manager not working – Failed to download repository information

If your Ubuntu update manager is not working and you get the following message: “Failed to download repository information” run the following commands below below: sudo apt-get clean cd /var/lib/apt sudo mv lists lists.old sudo mkdir -p lists/partial sudo apt-get clean sudo apt-get update

Rate this:

Read More

Install Sun Java on Ubuntu using command line

Easy way to install Sun Java on Ubuntu using command line: sudo apt-add-repository “deb http://archive.canonical.com/ lucid partner” sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin sudo update-alternatives –config java

Rate this:

Read More

Running mrjob on Amazon Elastic MapReduce

Below is the steps to run your first Amazon Elastic Map Reduce on Amazon EC2. First step is to make sure you have completed the steps specified in my previous post: https://thysmichels.com/2012/01/27/running-local-mrjob-streaming-hadoop-jobs/ Ok let’s start: Step 1. Create a new file called mrjob.conf. The location of the file is important. The location specified by MRJOB_CONF […]

Rate this:

Read More