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
FROM google/golang | |
WORKDIR /gopath/src/github.com/topcoderinc/cribs | |
ADD . /gopath/src/github.com/topcoderinc/cribs/ | |
# go get all of the dependencies | |
RUN go get github.com/codegangsta/martini | |
RUN go get github.com/codegangsta/martini-contrib/render | |
RUN go get github.com/codegangsta/martini-contrib/binding | |
RUN go get labix.org/v2/mgo |
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
import Foundation | |
import XCPlayground | |
XCPSetExecutionShouldContinueIndefinitely() | |
/** | |
* Paste all the code from the following file | |
- https://github.com/lingoer/SwiftyJSON/blob/master/SwiftyJSON/SwiftyJSON.swift | |
**/ |
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
$ node examples/runTests.js | |
*** Running tests asynchronously. I know. This is awesome!! *** | |
Inserted ApexClass ToolingTest1 | |
Inserted ApexClass ToolingTest2 | |
Inserted ApexClass ToolingTest2_Test | |
Inserted ApexClass ToolingTest1_Test | |
Started async runTests job 707o000000AmuQD | |
Checking status of runTests job 707o000000AmuQD repeatedly until all tests complete. | |
All tests have completed! W00t! | |
======================================== |
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
import Foundation | |
import XCPlayground | |
XCPSetExecutionShouldContinueIndefinitely() | |
/** | |
Paste all the code from the following file | |
- https://github.com/lingoer/SwiftyJSON/blob/master/SwiftyJSON/SwiftyJSON.swift | |
**/ |
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
<aura:event type="APPLICATION" description="Add to cart event."> | |
<aura:attribute name="product" type="Product__c"/> | |
</aura:event> |
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
<apex:page controller="CustomAccountLookupController" | |
title="Search" | |
showHeader="false" | |
sideBar="false" | |
tabStyle="Account" | |
id="pg"> | |
<apex:form > | |
<apex:outputPanel id="page" layout="block" style="margin:5px;padding:10px;padding-top:2px;"> | |
<apex:tabPanel switchType="client" selectedTab="name1" id="tabbedPanel"> |
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
<aura:application> | |
<aura:handler event="forcelogic2:BlogRequireJSEvent" action="{!c.initJS}"/> | |
<aura:registerEvent type="forcelogic2:BlogRequireJSEvent" name="requireJSEvent"/> | |
<aura:handler name="init" value="{!this}" action="{!c.doInit}" /> | |
<div id="afterLoad">Old value</div> | |
</aura:application> |
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
<apex:component controller="ContactListViewController"> | |
<apex:attribute name="listViewName" type="String" required="true" | |
description="The name of the listview." assignTo="{!listName}"/> | |
<apex:enhancedList height="400" rowsPerPage="25" id="ContactList" | |
listId="{!listId}" rendered="{!listId != null}" /> | |
<apex:outputText rendered="{!listId == null}" value="Could not find requewed ListView: '{!listName}'. Please contact your administrator."/> | |
</apex:component> |
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
'use strict'; | |
var app = angular.module('app'); | |
app.controller('AccountDetailCtrl', function($scope, $routeParams, Account) { | |
$scope.account = Account.get({id:$routeParams.id}); | |
$scope.mode = 'display'; | |
$scope.edit = function() { |
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
{ "accessKeyId": "akid", "secretAccessKey": "secret", "region": "us-east-1" } |