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
Show hidden characters
[ | |
{ "keys": ["ctrl+shift+9"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["ctrl+alt+shift+9"], "command": "toggle_comment", "args": { "block": true } }, | |
{ "keys": ["ctrl+alt+g"], "command": "git_status"}, | |
{ "keys": ["ctrl+shift+r"], "command": "reveal_in_side_bar"}, | |
{ "keys": ["ctrl+shift++"], "command": "fold"}, | |
{ "keys": ["ctrl+shift+è"], "command": "unfold"} | |
] |
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
[ | |
{ "keys": ["ctrl+shift+9"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["ctrl+alt+shift+9"], "command": "toggle_comment", "args": { "block": true } }, | |
{ "keys": ["ctrl+alt+g"], "command": "git_status"}, | |
{ "keys": ["ctrl+shift+r"], "command": "reveal_in_side_bar"}, | |
{ "keys": ["ctrl+shift++"], "command": "fold"}, | |
{ "keys": ["ctrl+shift+è"], "command": "unfold"} | |
] |
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
"*": | |
"exception-reporting": | |
userId: "41266586-5580-d8ee-61c9-360c9c0f3750" | |
welcome: | |
showOnStartup: false | |
core: | |
disabledPackages: [ | |
"wrap-guide" | |
"atom-html-preview" | |
"browser-plus" |
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
/* | |
!.gitignore | |
!.gitignore. | |
/src/* | |
!/src/ | |
!/src/classes/ | |
!/src/triggers/ |
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
a |
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
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |
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
image: mhart/alpine-node:7.2.0 | |
before_script: | |
- npm install -g jsforce-metadata-tools | |
master: | |
stage: deploy | |
environment: Production | |
only: | |
- master |
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
condition = ["OR", ["AND",{field : 'field1', value : 'value2'},{field : 'field2', value : 'value2'}], {field : 'field2', value : 'value1'}]; | |
item = {obj:{'field1' : 'value1','field2' : 'value2'}}; | |
console.log(validateCondition(condition,item)); | |
function validateCondition(condition, item){ | |
if(!Array.isArray(condition)){ | |
return assertEquals(condition,item); | |
} |
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
module.exports = function(Model) { | |
var module = {}; | |
module.getAll = function(req, res) { | |
Model.find({}, function(err, data) { | |
if (err) { | |
res.status(500).json(err); | |
return; | |
} | |
res.status(200).json(data); |
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
{ | |
"Class Comment (ApexDoc)": { | |
"prefix": "Class Comment (ApexDoc)", | |
"body": "/**\n* @author ${1:FraCarma}\n* @date ${2:the date the class was first implemented}\n*\n* @group ${3:a group to display this class under, in the menu hierarchy}\n* @group-content ${4:a relative path to a static html file that provides content about the group}\n*\n* @description ${5:one or more lines that provide an overview of the class}\n*/", | |
"description": "", | |
}, | |
"FraCarmaComment": { | |
"prefix": "FraCarmaComment", | |
"body": "/* FraCarma: $1 */", | |
"description": "", |
OlderNewer