Posted on January 3, 2013 Leave a Comment
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> […]
Posted on April 11, 2012 Leave a Comment
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 […]
Posted on March 20, 2012 1 Comment
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 […]
Posted on February 24, 2012 7 Comments
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. […]
Posted on January 31, 2012 2 Comments
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 […]
Posted on January 31, 2012 Leave a Comment
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 […]
Posted on January 31, 2012 1 Comment
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 […]
Posted on January 30, 2012 1 Comment
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
Posted on January 30, 2012 1 Comment
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
Posted on January 27, 2012 1 Comment
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 […]