Assembla and TortoiseGit – Quick Setup

Posted in Microsoft on July 23rd, 2010 by Ryan Lowdermilk – Be the first to comment
  1. Sign up at Assembla and create a space with Free GIT Hosting
  2. Do this
  3. Start >> Run >> puttygen
  4. Generate Private and Public Keys. Save them.
  5. Copy the public key and add it to the GIT space we created at Assembla.
    image
  6. Right click a folder on your local system and create a Git repository.
  7. Right click the local Git repository folder, TortoiseGit >> Settings >> Git >> Remote
    Name: Name of project
    URL: Assembla PUSH URL under the project
    Putty: Load the private key you exported earlier
  8. Finally, create the “master” branch for the first time, by right clicking on the Git repository folder and clicking “Git Commit –> master""
  9. Entitle the message “initial” and check the “Select / Deselect All” box, click “Ok”
  10. Finally, click the “Push” button and click “Ok”
  11. Success!!

TortoiseGit – fixing the “Check Now” button

Posted in Uncategorized on July 23rd, 2010 by Ryan Lowdermilk – 1 Comment

After installing mSysGit and TortoiseGit, clicking “Check Now” does nothing on TortoiseGit.

Quick Installation Instructions

  1. mSysGit – download and install
  2. TortoiseGit – download and install
  3. Download this and place it in the mSysGit bin\ folder
  4. Right click on your Windows Desktop and click “TortoiseGit >> Settings”
  5. Click “Check Now”

image

“How to make money in the cloud…” by Josh Greenbaum

Posted in SAP on July 21st, 2010 by Ryan Lowdermilk – Be the first to comment

Interesting opinion piece by Josh Greenbaum of Enterprise Matters concerning innovation in the cloud through development and add-in offerings.

New SAP Business ByDesign Video – SaaS Made Simple

Posted in SAP on July 21st, 2010 by Ryan Lowdermilk – 1 Comment

Mapping your SkyDrive, as a network drive, without third-party software

Posted in Microsoft on July 19th, 2010 by Ryan Lowdermilk – Be the first to comment
  1. Download SkyDrive Simple Viewer – which, very simply, lists the URLs associated with your SkyDrive account (screenshot below)
    image
  2. Right click “My Computer”, click “Map network drive”, choose a drive letter, paste a URL returned from DumpUrls.exe into the “Folder” text box and click “Finish”
  3. Provide your Windows Live ID username and password.
  4. Done! :)

SQL – Converting dates into different formats

Posted in Uncategorized on July 9th, 2010 by Ryan Lowdermilk – Be the first to comment

Here is a great cheat sheet for converting SQL date formats e.g. YYYY/MM/DD, YYYYMMDD, etc.

http://www.sql-server-helper.com/tips/date-formats.aspx

VMKernal and VM Port Groups, VLAN and Dell Switches

Posted in Uncategorized on July 7th, 2010 by Ryan Lowdermilk – Be the first to comment

It appears, when provisioning VMKernels, on different VLANs, with Dell switches, the port the VMKernel is plugged requires “Tagged” as the VLAN Membership option. VM Port Groups can remain “Untagged”

SageCRM – Updating a field, based upon another field, in the same table

Posted in Uncategorized on July 6th, 2010 by Ryan Lowdermilk – Be the first to comment

The easiest way to do this is a table level script.

function InsertRecord()

{
var sql = ‘SELECT comp_idcust FROM vCompany WITH (NOLOCK) WHERE comp_companyid=’ + Values(’oppo_primarycompanyid’);
var companyRecord = eWare.CreateQueryObj(sql);
companyRecord.SelectSql();
Values(’oppo_primarycompany_idcust’) = companyRecord.FieldValue(’comp_idcust’);
}

function PostInsertRecord()

{

// Handle post insert record actions here

}

function UpdateRecord()

{
var sql = ‘SELECT comp_idcust FROM vCompany WITH (NOLOCK) JOIN vOpportunity ON oppo_primarycompanyid = comp_companyid WHERE ‘ + WhereClause;
var companyRecord = eWare.CreateQueryObj(sql);
companyRecord.SelectSql();
Values(’oppo_primarycompany_idcust’) = companyRecord.FieldValue(’comp_idcust’);
}

function DeleteRecord()

{

// Handle delete record actions here

}

Music for the ear, Music for the eye

Posted in Uncategorized on July 1st, 2010 by Ryan Lowdermilk – Be the first to comment

I love the way you can see the melodies overlapping and coming together. Simply. Brilliant!

SQL – Copy SQL 2008 database back to a SQL 2005 server

Posted in Microsoft, SQL on June 30th, 2010 by Ryan Lowdermilk – Be the first to comment

Unfortunately, SQL 2005 is unable to restore .BAK files created by SQL 2008. Subsequently, SQL 2005 is unable to attach MDF and LDF files created by SQL 2008.

Here are the steps to copy a SQL 2008 database to SQL 2005.

  1. From SQL 2008, right click on the database, click Tasks >> Generate Scripts
    1
  2. The “Generate and Publish Scripts” wizard is displayed. Click Next
    2
  3. Take the default, which should be, “Script entire database and all database objects”. Unless of course, you don’t want the whole database. In this case you can select tables, views, etc.
    3
  4. For the export options, make sure “Save to file” is selected. Additionally, give a unique name for the generated sql file. In this example, we are exporting the SAMINC database, so we have titled the sql export file, saminc.sql.
    4
  5. Almost there! Click “Advanced”
    5
  6. From the “Advanced Scripting Options” make two changes. Change “SQL for Server Version” to “SQL Server 2005” and change “Types of data to script” to “Schema and data”.
    6
  7. Click “OK” to close the “Advanced Scripting Options” and click “Next”.
  8. After the wizard finishes, copy the resulting sql file to the SQL 2005 server.
  9. Open SQL Management Studio. From within SQL Management Studio, click File >> Open and select the resulting sql file.
  10. IMPORTANT!!! Finally, change the directory to the correct data directory.
    1511-382010-06-30