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
# Current branch name | |
alias gbr='git symbolic-ref --short HEAD' | |
alias gs='git status -sb' | |
# Fetch and rebase on top of the current branch from origin. | |
# Optionally specify a single argument as the name of the branch to rebase upon. | |
# | |
# Suppose you're on master. | |
# `gget` will fetch origin's master and rebase your current commits on top of origin. | |
# |
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
source 'SPLSpecs' # private Splinesoft specs | |
source 'master' | |
platform :ios, '8.0' | |
xcodeproj 'Mudrammer' | |
deployment_target = '7.0' | |
# Splinesoft |
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
<?php | |
/** | |
* This script accepts a JSON payload from Crashlytics and forwards it to pushover, | |
* so you get a push notification when your app has a new crash! | |
* | |
* 1. Put this script on a server somewhere. | |
* 2. Fill in your pushover token and user keys. | |
* 3. Set up a web hook in Crashlytics with the URL to this script. | |
*/ |
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
javascript:var c=0;var s=Sfdc;var d=document;var sel="getSelection";var user=prompt("Enter User Name:",d[sel]&&d[sel]().toString()||"John Buchanan");var each=function(list,delegate){for(var i=0;i<list.length;i++)delegate(list[i])};var text=function(x){return x&&(x.textContent||x.innerText)||''};var match=function(delegate){return function(x){if(text(x)==user){delegate(x);}}};var click=function(x){if(x.style.display=='none')return;c++;x.onclick();};each(s.select(".feeditempreamble .actorentitylink"),match(function(x){each(s.select(".feeditemfooter .cxallfeedactions .cxlikeitemaction",s.Dom.getParent(x,".feeditemcontent")),click)}));each(s.select(".feedcommentuser"),match(function(x){each(s.select(".feeditemcommentbody .feedcommentactions .cxallfeedactions .cxlikecommentaction",s.Dom.getParent(x,".feeditemcomment")),click)}));alert(c+" new Likes!");undefined; |
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
public class ServiceRequestTrigger { | |
private final Map<Id, Service_Request__c> oldMap; | |
private final Map<Id, Service_Request__c> newMap; | |
private final List<Service_Request__c> newObjs; | |
private final Boolean isInsert; | |
private final Boolean isUpdate; | |
private final Boolean isDelete; | |
private final Boolean isBulk; | |
/** |
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
trigger ApplyAssignmentRules on Lead (after insert) { | |
List<User> owner = [Select u.Id From User u where Name = 'User Portal' limit 1]; | |
if( owner.isEmpty() ) | |
return; | |
List<Lead> LeadsToUpdate = new List<Lead>(); | |
For (Lead l:trigger.new) |