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
| <project> | |
| <target name="cloud9.github.init"> | |
| </target> | |
| <target name="sync.from.cloud9"> | |
| <sync todir="src/classes" verbose="true"> | |
| <fileset dir="${basedir}/classes"> | |
| <exclude name="**/.c9/**"/> | |
| </fileset> | |
| </sync> |
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
| PermissionSet permissionSet = new PermissionSet(); | |
| permissionSet.Name='ApexTest'; | |
| permissionSet.label='Apex Test'; | |
| insert permissionSet; | |
| ObjectPermissions objectPermission = new ObjectPermissions(); | |
| objectPermission.ParentId = permissionSet.Id; | |
| objectPermission.SObjectType = Book_Order__c.SObjectType.getDescribe().getName(); | |
| objectPermission.PermissionsEdit = true; | |
| objectPermission.PermissionsRead = true; | |
| objectPermission.PermissionsDelete = true; |
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
| <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes" | |
| controller="AddressFinderController" access="global"> | |
| <aura:attribute name="accounts" type="Account[]"/> | |
| <aura:attribute name="contacts" type="Contact[]"/> | |
| <aura:registerEvent name="AddressInfo" type="c:AddressInfo"/> | |
| <div class="slds-form--stacked"> | |
| <div class="slds-form-element"> | |
| <label class="slds-form-element__label" for="inputSample2">Account Search</label> |
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
| package com.andyinthecloud.legoev3force.ev3kernal; | |
| import lejos.hardware.Button; | |
| import lejos.hardware.motor.Motor; | |
| import lejos.hardware.port.SensorPort; | |
| import lejos.hardware.sensor.EV3TouchSensor; | |
| import lejos.robotics.SampleProvider; | |
| import lejos.robotics.filter.AbstractFilter; | |
| /** |
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
| /** | |
| * Copyright (c) 2013, Andrew Fawcett | |
| * All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without modification, | |
| * are permitted provided that the following conditions are met: | |
| * | |
| * - Redistributions of source code must retain the above copyright notice, | |
| * this list of conditions and the following disclaimer. | |
| * - Redistributions in binary form must reproduce the above copyright notice, |
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
| /** | |
| * Copyright (c) 2015, FinancialForce.com, inc | |
| * All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without modification, | |
| * are permitted provided that the following conditions are met: | |
| * | |
| * - Redistributions of source code must retain the above copyright notice, | |
| * this list of conditions and the following disclaimer. | |
| * - Redistributions in binary form must reproduce the above copyright notice, |
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
| /** | |
| * Copyright (c), Andrew Fawcett | |
| * All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without modification, | |
| * are permitted provided that the following conditions are met: | |
| * | |
| * - Redistributions of source code must retain the above copyright notice, | |
| * this list of conditions and the following disclaimer. | |
| * - Redistributions in binary form must reproduce the above copyright notice, |
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
| /** | |
| * Copyright (c), Andrew Fawcett | |
| * All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without modification, | |
| * are permitted provided that the following conditions are met: | |
| * | |
| * - Redistributions of source code must retain the above copyright notice, | |
| * this list of conditions and the following disclaimer. | |
| * - Redistributions in binary form must reproduce the above copyright notice, |
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
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| <project name="ev3" default="clean" basedir="."> | |
| <!-- DEVELOPMENT SECTION --> | |
| <property name="environment" value="EV3" /> | |
| <property name="project" value="ev3force"/> | |
| <property name="version" value="0.1"/> | |
| <property name="base.dir" value="." /> | |
| <property name="src" location="src"/> | |
| <property name="lib" location="${base.dir}/lib" /> |
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 with sharing class OpportunitiesSelector extends fflib_SObjectSelector | |
| { | |
| public List<Schema.SObjectField> getSObjectFieldList() | |
| { | |
| return new List<Schema.SObjectField> { | |
| Opportunity.AccountId, | |
| Opportunity.Amount, | |
| Opportunity.CloseDate, | |
| Opportunity.Description, | |
| Opportunity.ExpectedRevenue, |