This file contains hidden or 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
/** | |
* Zendesk messaging Web Widget SDK | |
* https://developer.zendesk.com/api-reference/widget-messaging/introduction/ | |
*/ | |
interface ZendeskMessagingWidget { | |
/** | |
* If your application has a login flow, or if a user needs to access the same conversation from multiple devices, | |
* you can use the `loginUser` API. | |
* | |
* You can associate users with your own user directory by issuing a `JWT` credential during the login flow. |
This file contains hidden or 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
object TimeScalacacheGetCaffeine { | |
import scala.concurrent.duration._ | |
import scala.concurrent.{Await, Future} | |
import scala.concurrent.ExecutionContext.Implicits.global | |
import com.github.benmanes.caffeine.cache.Caffeine | |
import com.github.blemale.scaffeine.{Cache, Scaffeine} | |
import scalacache._ | |
import caffeine._ |
This file contains hidden or 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
<target name="remove-signatures"> | |
<exec executable="zip"> | |
<arg value="-d"/> | |
<arg value="${artifact.output.path}/output.jar"/> | |
<arg value="*.RSA"/> | |
<arg value="*.SF"/> | |
<arg value="*.DSA"/> | |
</exec> | |
</target> |
This file contains hidden or 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
{ | |
"shortTitle":"Capture the Moments", | |
"personalizationData":{ | |
"cardWidth":328.5005, | |
"cardHeight":449.28076, | |
"textBoxes":[ | |
{ | |
"x":36.277344, | |
"y":96.555664, | |
"width":255.99951, |
This file contains hidden or 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
// Derived from http://paulbattisson.com/?p=80 | |
String output = '\n<types>\n'; | |
List<EmailTemplate> templates = [Select e.FolderId, e.DeveloperName From EmailTemplate e]; | |
Map<Id, Folder> folders = new Map<Id, Folder>([Select f.Id, f.DeveloperName From Folder f where f.DeveloperName != null]); | |
Set<Id> folderIds = new Set<Id>(); | |
folderIds.addAll(folders.keySet()); | |
for (EmailTemplate template: templates) { | |
if (folders.keySet().contains(template.FolderId)) { |