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
/Applications/Android\ Studio.app/Contents/jre/jdk/Contents/Home/jre/bin/keytool -storepass myPassword -exportcert -alias mycertname -keystore /Users/J1012748/keystore/android.jks| openssl sha1 -binary | openssl base64 |
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
#!/bin/bash | |
# | |
# Requirements | |
# Install and setup Java We assume $JAVA_HOME is set | |
# Install openssl either through your linux package manager or macOS package manager (we like brew) | |
# Update to keystore folders for debug and release | |
set -o errtrace | |
set -o pipefail |
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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 21 | |
buildToolsVersion "23.0.1" | |
defaultConfig { | |
applicationId "com.xxx.xxx.xxx.xxx" | |
minSdkVersion 17 | |
targetSdkVersion 21 | |
} |
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
//Note: This is an angular implementation | |
function getRequestDigest() { | |
var deferred = $q.defer(); | |
var config = { | |
'DataServiceVersion': '3.0', | |
'Accept': 'application/json; odata=nometadata', | |
'Content-Type': 'application/json;odata=verbose' | |
} | |
var data = {}; | |
$http.post("../../_api/contextinfo", data, config).success(function (data, status, headers, config) { |
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
(function ($, _, forcetk) { | |
"use strict"; | |
// Save a reference to the global object (`window` in the browser). | |
var root = this; | |
// Save the previous value of the `Force` variable, so that it can be | |
// restored later on, if `noConflict` is used. | |
var previousForce = root.Force; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> | |
<application>sree-kumar</application> | |
<version>2</version> | |
<static-files> | |
<include path="/static/**" expiration="30d 5h" /> | |
</static-files> | |
<public-root>/static</public-root> | |
<!-- | |
Allows App Engine to send multiple requests to one instance in parallel: |
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
using Microsoft.Phone.Controls; | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.IO.IsolatedStorage; | |
using System.Linq; | |
using System.Text; | |
using System.Windows; |
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
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-ui-list/force-ui-list.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
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
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1AppScaffold.html"> | |
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1PageContainer.html"> | |
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationStageLeft.html"> | |
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationNotifications.html"> | |
<link rel="import" href="../../salesforce/s1-elements/s1AnchorLightDefault.html"> | |
<link rel="import" href="../../salesforce/s1-elements/s1ListWithLabels.html"> | |
<link rel="import" href="../../salesforce/s1-elements/s1AnchorDark.html"> | |
<link rel="import" href="../../salesforce/s1-elements/s1IndicatorDotsLightBackground.html"> | |
<link rel="import" href="../../salesforce/s1-elements/s1ButtonGroups.html"> | |
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1DetailView.html"> |
NewerOlder