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
{ | |
"routes": [ | |
{ | |
"path": "/d/pos", | |
"target": { | |
"type": "destination", | |
"name": "public-odata-services" | |
}, | |
"description": "Public OData Services" | |
}, |
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
#!/usr/bin/env node | |
var stdin = process.stdin, | |
stdout = process.stdout, | |
aConfigLines = [], | |
https = require('https'), | |
sDocuRoot = "https://help.hana.ondemand.com/webide/", | |
sDocuPage = "233396e994584fe9b4c7ab6cb2798640.html"; | |
// Read in current .eslintrc.ext config from STDIN |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta charset="UTF-8"> | |
<title>Relative Dates</title> | |
<script id="sap-ui-bootstrap" | |
type="text/javascript" |
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
var map1 = {name: "DJ", colour: "green"}; | |
var map2 = {name: "DJ", colour: "green"}; | |
Object.keys(map1).reduce(function(bool, prop) { | |
return bool && map1[prop] === map2[prop]; | |
}, true); // => true | |
map2.name = "Joseph"; | |
Object.keys(map1).reduce(function(bool, prop) { |
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
// Test data only, sourced from a JSON/YAML style data set; this | |
// is not realistic in production as the data would be normalised | |
// and the repetitive nature would be avoided, but it's a reality | |
// when you're setting up test data by hand, so valid. This data | |
// is referred to later as "d.employees" | |
[ | |
{ | |
"name":"Employee Zero", | |
"wbses":[ |
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
// Get a list of all the aggregated pages in a SplitApp | |
// ---------------------------------------------------- | |
// oSplitAppControl is a ref to the instantiated SplitApp | |
// with an XML View in the masterPages aggregation | |
// and two XML Views in the detailPages aggregation | |
["getMasterPages", "getDetailPages"] | |
// Call the relevant functions to get the master & detail page aggregations content | |
.map(function(fn) { |
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
*&---------------------------------------------------------------------* | |
*& Report UI5_REPOSITORY_LOAD | |
*& | |
*&---------------------------------------------------------------------* | |
*& | |
*& This report implements the up- and download of a SAPUI5 application | |
*& into an UI5 Repository. | |
*& | |
*& Furthermore it is possible to delete a UI5 Repository | |
*& |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta charset="UTF-8"> | |
<script id="sap-ui-bootstrap" | |
type="text/javascript" | |
src="/sapui5/latest/resources/sap-ui-core.js" | |
data-sap-ui-theme="sap_bluecrystal" |
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta charset="UTF-8"> | |
<title>Checkbox and Column Binding</title> | |
<script id="sap-ui-bootstrap" | |
type="text/javascript" |