Skip to content

Instantly share code, notes, and snippets.

View siddharatha's full-sized avatar

Siddharatha Nagavarapu siddharatha

View GitHub Profile
@siddharatha
siddharatha / sample.ts
Created December 4, 2023 16:24
sample builder
import FeatureContentBlock from '$lib/components/FeatureContentBlock/FeatureContentBlock.svelte';
export default {
component: FeatureContentBlock,
name: 'FeatureContentBlock',
inputs: [
{
name: 'analytics_identifier',
type: 'string'
},
@siddharatha
siddharatha / Standalone.app
Created April 5, 2017 20:39
standalone application code for offline
<aura:application implements="ltng:allowGuestAccess" extends="force:slds" useAppCache="true" >
Welcome to this application
</aura:application>
@siddharatha
siddharatha / designer.html
Last active August 29, 2015 14:09
designer
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-ui-app/force-ui-app.html">
<link rel="import" href="../../salesforce/s1-elements/s1SearchWidgetWithsortfilter.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
@siddharatha
siddharatha / designer.html
Last active August 29, 2015 14:09
designer
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1AppScaffold.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1PageContainer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
@siddharatha
siddharatha / designer.html
Last active August 29, 2015 14:08
designer
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-sobject-collection/force-sobject-collection.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../../salesforce/s1-elements/s1HeaderPrimaryModal.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@siddharatha
siddharatha / jsforce_reportaccess_download.js
Created May 20, 2014 14:47
Using a combination of salesforce Read metadata and listMetadata to get an csv export of access information of report folders. used jsforce for all the necessary calls.
var jsforce = require('jsforce');
var fs = require('fs');
var conn = new jsforce.Connection({
// use loginUrl : 'https://login.salesforce.com' for production
loginUrl : 'https://test.salesforce.com'
});
conn.login('yourusername', 'yourpassword+securitytoken', function(err, userInfo) {
if (err) { return console.error(err); }
// Now you can get the access token and instance URL information.
// Save them to establish connection next time.