This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
<apex:page readOnly="true" | |
contentType="application/octet-stream#MyCsv.csv" | |
sidebar="false" | |
standardStylesheets="false" | |
showHeader="false" | |
cache="true" | |
expires="0"> | |
<!-- |
Contact c = new Contact(); | |
c.LastName = NULL; | |
system.debug(JSON.serializePretty(c)); | |
/** | |
OUTPUT: | |
13:32:20.047 (47447000)|USER_DEBUG|[12]|DEBUG|{ | |
"attributes" : { |
public with sharing class BusinessHoursClass_Test{ | |
static testMethod void holidayShouldNotIncludeBusinessHours(){ | |
BusinessHours supportHours = BusinessHoursClass.getBusinessHoursMap().get('GSO Salesforce Support'); | |
Time midnight = Time.newInstance(0,0,0,0); | |
Date startDate = Date.newInstance(2013,12,24); | |
DateTime pacificStartDateTime = DateTime.newInstance(startDate,midnight); | |
Date pacificStartDate = date.valueOf(pacificStartDateTime); |
@isTest(seeAlLData=False) | |
private class CPU_Test{ | |
/** | |
There are two additional system static methods provided by Apex. | |
These methods, Test.startTest and Test.stopTest, are used when testing governor limits. | |
Or in other words, executing test scenarios with a larger data set. | |
The Test.startTest method marks the point in your test code when your test actually begins. | |
Each test method is allowed to call this method only once. | |
All of the code before this method should be used to initialize variables, populate data structures, |
<?xml version="1.0" encoding="UTF-8"?> | |
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<types> | |
<members>Projects</members> | |
<name>CustomApplication</name> | |
</types> | |
<types> | |
<members>Deployment__c</members> | |
<name>CustomObject</name> | |
</types> |
<?xml version="1.0" encoding="UTF-8"?> | |
<Layout xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<layoutSections> | |
<customLabel>false</customLabel> | |
<detailHeading>false</detailHeading> | |
<editHeading>true</editHeading> | |
<label>Information</label> | |
<layoutColumns> | |
<layoutItems> | |
<behavior>Required</behavior> |