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
/** | |
* This class is created to | |
* make API Calls to CloudBits | |
* Server | |
* | |
* @author Shruti Sridharan | |
* @since 28/02/2016 | |
* @revisions N/A | |
*/ | |
global class CloudBit { |
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
{!REQUIRESCRIPT("/soap/ajax/36.0/connection.js")} | |
{!REQUIRESCRIPT("/soap/ajax/36.0/apex.js")} | |
var obj = { | |
"percent" : 100, | |
"duration" : -1, | |
"recId" : "{!LittleBit__c.Id}" | |
}; | |
sforce.apex.execute( "CloudBit" , "toggle" , obj ); |
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
{!REQUIRESCRIPT("/soap/ajax/36.0/connection.js")} | |
{!REQUIRESCRIPT("/soap/ajax/36.0/apex.js")} | |
var obj = { | |
"percent" : 0, | |
"duration" : 3000, | |
"recId" : "{!LittleBit__c.Id}" | |
}; | |
sforce.apex.execute( "CloudBit" , "toggle" , obj ); |
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
/** | |
* This class exposes methods | |
* that calls the Google URL | |
* Shortener API to shorten long URLs. | |
* | |
* @author Shruti Sridharan | |
* @since 22/02/2016 | |
* @version 1.0 | |
*/ | |
global class GoogleUrlShortener { |
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
/** | |
* This class is created to | |
* save Bookmarks in a | |
* specific category. | |
* | |
* @author Shruti Sridharan | |
* @since 26/02/2016 | |
* @revision N/A | |
*/ | |
global class BookmarksController { |
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
/** | |
* This class is created to call | |
* Google News Generating class | |
* and display in the VisualForce | |
* Page. | |
* | |
* @author Shruti Sridharan | |
* @since 08/03/2016 | |
* @version 1.0 | |
* @revisons N/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
/** | |
* This class exposes methods | |
* that call Google APIs to | |
* get news. | |
* | |
* @author Shruti Sridharan | |
* @since 08/03/2016 | |
* @version 1.0 | |
* @revisons N/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
<apex:page standardController="Account" extensions="NewsWidgetController" sidebar="false" showHeader="false" standardStylesheets="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0" > | |
<html> | |
<head> | |
<title> | |
Google News | |
</title> | |
</head> | |
<body> | |
<div width="100%" style="text-align:center" > | |
<img src="{!$Resource.News_Loading}" id="loader"></img> |
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
/** | |
* [1] Will be fired when the Apex | |
* Method completes execution. | |
* | |
* [2] Will also hold the data returned | |
* by the Apex Method after it | |
* completes execution. | |
*/ | |
var searchTerm; | |
var newsFetchCompleted = function( res ) { |
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
// ==UserScript== | |
// @name Expand/Collapse nodes in ASIDE.IO | |
// @version 1.0 | |
// @description Perform Code Folding in ASIDE.IO (A cloud based Salesforce IDE) | |
// @author Shruti Sridharan | |
// @match https://www.aside.io/* | |
// @grant https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js | |
// @namespace https://greasyfork.org/users/56475 | |
// ==/UserScript== |
OlderNewer