This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="en" ng-app="myApp"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Dynamic Pagination w/ Filtering</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content="Kim Maida"> | |
<!-- JS Libraries --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>untitled</title> | |
<meta name="generator" content="TextMate http://macromates.com/"> | |
<meta name="author" content="David Mosher"> | |
<!-- Date: 2010-11-18 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.io.OutputStream; | |
import java.io.OutputStreamWriter; | |
import java.net.HttpURLConnection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page renderAs="pdf" applyBodyTag="false" > | |
<head> | |
<style type="text/css" media="print"> | |
@page { | |
@top-center { | |
content: element(header); | |
} | |
@bottom-left { | |
content: element(footer); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data:image/png;base64,JVBERi0xLjUKMSAwIG9iago8PC9UeXBlIC9QYWdlcwovS2lkcyBbMyAwIFJdCi9Db3VudCAxPj4KZW5kb2JqCjMgMCBvYmoKPDwvVHlwZSAvUGFnZQovUGFyZW50IDEgMCBSCi9NZWRpYUJveCBbMCAwIDc5Mi4wMCA2MTIuMDBdCi9SZXNvdXJjZXMgMiAwIFIKL1JvdGF0ZSAwCi9Db250ZW50cyA0IDAgUj4+CmVuZG9iago0IDAgb2JqCjw8L0xlbmd0aCAxMTE+PgpzdHJlYW0KQlQgL0YwIDkuMDAgVGYgRVQKL0dTMCBncwoxLjAwMCAwLjAwMCAwLjAwMCAxLjAwMCAwLjAwMCAwLjAwMCBjbQpxIDc3Mi4wMCAwIDAgNTYzLjQ1IDEwLjAwIDM4LjU1IGNtCi9JMSBEbyBRCnMKZW5kc3RyZWFtCmVuZG9iago1IDAgb2JqCjw8L1R5cGUgL09DRyAvTmFtZSAocHJpbnQpCi9Vc2FnZSA8PC9QcmludCA8PC9QcmludFN0YXRlIC9PTj4+IC9WaWV3IDw8L1ZpZXdTdGF0ZSAvT0ZGPj4+Pj4+CmVuZG9iago2IDAgb2JqCjw8L1R5cGUgL09DRyAvTmFtZSAodmlldykKL1VzYWdlIDw8L1ByaW50IDw8L1ByaW50U3RhdGUgL09GRj4+IC9WaWV3IDw8L1ZpZXdTdGF0ZSAvT04+Pj4+Pj4KZW5kb2JqCjcgMCBvYmoKPDwvVHlwZSAvRXh0R1N0YXRlCi9TQSB0cnVlCi9uIDcKL0JNIC9Ob3JtYWwKL2NhIDEKL0NBIDEKPj4KZW5kb2JqCjggMCBvYmoKPDwvVHlwZSAvRm9udAovQmFzZUZvbnQgL0hlbHZldGljYQovU3VidHlwZSAvVHlwZTEKL0VuY29kaW5nIC9XaW5BbnNpRW5jb2RpbmcKPj4KZW5kb2JqCjkgMCBvYmoKPDwvVHlwZSAvWE9iamVjdA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page docType="html-5.0" sidebar="false" showHeader="false" | |
standardStylesheets="false" cache="true"> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"/> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> | |
<script type="text/javascript"> | |
var SESSION_ID = '{!$Api.Session_ID}'; | |
var serverURL = '{!SUBSTITUTE(SUBSTITUTE(LEFT($Api.Partner_Server_URL_210, FIND( '/services', $Api.Partner_Server_URL_260)), 'visual.force', 'salesforce'), 'c.', '')}'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page docType="html-5.0" sidebar="false" showHeader="false" | |
standardStylesheets="false" cache="true"> | |
<!-- TRANSFORM PARTNER URL INTO TRUE PROXY URL --> | |
<apex:variable var="PARTNER_URL" value="{!$Api.Partner_Server_URL_290}" /> | |
<apex:variable var="PARTNER_URL_SPLIT" value="{! | |
LEFT(PARTNER_URL,FIND('.visual.force.com',PARTNER_URL)-1) | |
}"/> | |
<apex:variable var="POD" value="{! | |
MID(PARTNER_URL_SPLIT,FIND('.',PARTNER_URL_SPLIT)+1,LEN(PARTNER_URL_SPLIT)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page controller="CustomerCommunityController" id="customercommunitycontroller" sidebar="false" showHeader="false" standardStylesheets="false" > | |
<head> | |
<title>Acme Customer Support</title> | |
<meta charset="utf-8" /> | |
<apex:includeScript value="{!$Resource.jquery}"/> | |
</head> | |
<script type="text/javascript"> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Regular Expression for URL validation | |
// | |
// Author: Diego Perini | |
// Updated: 2010/12/05 | |
// License: MIT | |
// | |
// Copyright (c) 2010-2013 Diego Perini (http://www.iport.it) | |
// | |
// Permission is hereby granted, free of charge, to any person |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global class BatchJob implements Database.Batchable<Account> { | |
global Account[] start(Database.BatchableContext batchableContext) {return new Account[]{};} | |
global void execute(Database.BatchableContext batchableContext, Account[] accounts) {} | |
global void finish(Database.BatchableContext batchableContext) {} | |
} |
OlderNewer