apex highlight userDefineLang for notepad++
apex userDefineLang for notepad++下载: userDefineLang
JQuery如何监听DIV内容变化
JQuery如何监听DIV内容变化$("#wb_follow_btn").bind('DOMNodeInserted', function(e){ alert('element now contains: '+ $(e.target).html());}); //可以检测title变化 $("title").bind('DOMNodeInserted', function(e) { document.title='Web Skype'; });
详解 Salesforce 15 和 18 位的ID
在 Salesforce 中 Record (记录) ID 是非常重要的,它代表了一条唯一的数据,在做数据操作的时候是离不开 ID 的,这次给大家详细介绍一下 Record ID。Record ID 的构成Record ID 是一个 base-62 编码的字符串。ID 中的字符可以是 a-z, A-Z 和 0-9 中 62 个字符任意一个。正常情况下是 15 位,每个位置有不同意义的:前 3 位: Key Prefix,它可以代表一个 Object,也就是说如果你拿到一个 ID,通过前三位就可以判断这条数据是存在哪个 Object 上的。4-5 和 6 都是 Salesforce 保留值,可以判断这个 ID 属于...
Salesforce Test class注意事项
在 Salesforce 中开发,Test Method 肯定是少不了的,因为在部署的时候 Production 是要求测试代码的整体覆盖率是不能小于 75% 的,而且 Trigger 是不能没有对应的测试代码的。测试代码的作用是什么,既然必须要写测试代码, 怎么才能让测试代码发挥它应该拥有的价值?这里给大家提供一些写测试代码的基本原则和注意的知识点。4 Goals1. Positive Behavior(测试正确行为)写测试代码首先验证一下的正确逻辑,尽量保证把所有的业务逻辑的代码覆盖到。比如代码里有 try catch 的话,Postitive 就是需要先把 tr...
老教授从console.log说起(上)
console.log,作为一个前端开发者,可能每天都会用它来分析调试,但这个简单函数背后不简单那一面,你未必知道……基础首先,简单科普这个函数的作用。前端开发者可以在js代码的任何部分调用console.log,然后你就可以在浏览器的开发者控制台里,看到这个函数调用的那一瞬间你指定的变量或表达式的值。最基本的调用方法:12345678910console.log('123');// 123console.log('1', '2', '3');// 1 2 3console.log('1\n2\n3\n');// 1// 2// 3我们可以通过上面的方式进行...
salesforce Milestone clock is not running
0down voteacceptedI was able to find out what is the issue is. Actually all my milestone are currently using US Business hour and in that business hour there I have not given any time for the weekends, so today is Saturday and thats why milestones time is not showing. So issues at all.
Centos 7安装SHIPYARD中文版
安装/升级你的Docker客户端推荐安装1.10.0以上版本的Docker客户端。您可以通过阿里云的镜像仓库下载:docker-engine、docker-ce或执行以下命令:curl -sSL http://acs-public-mirror.oss-cn-hangzhou.aliyuncs.com/docker-engine/internet | sh -如何使用Docker加速器针对Docker客户端版本大于1.10的用户您可以通过修改daemon配置文件/etc/docker/daemon.json来使用加速器:sudo mkdir -p /etc/dockersudo tee /etc/docker/daemon.json <<-'EOF'{"registry-mirrors": ["https://xxx.mirror.aliy...
salesforce apex traced the number of query
System.debug('Current Query number:'+ Limits.getQueries())
salesforce执行apex job的两种方法
方法一,立即执行:YourScheduleApexClass s=new YourScheduleApexClass();s.excute(null) ;方法二:定时执行SchedulerClassName sch = new SchedulerClassName();String cronExpression = '0 30 8 1 * * '; // 8:30am every 1st day of the monthSystem.schedule('EVP Dashboard', cronExpression, sch);