Skip to content

Instantly share code, notes, and snippets.

View robypag's full-sized avatar

Roberto Pagni robypag

View GitHub Profile
@robypag
robypag / SCPSessionManager.swift
Created May 16, 2017 12:28
Implementation of a user session manager that handles the communication back and forth between iOS App and the SAP Cloud Platform Mobile Services
//
// SCPSessionManager.swift
//
// Created by Roberto Pagni on 15/05/17.
// Copyright © 2017 Coderp. All rights reserved.
//
// Wrapper for the basic functionalities of SCPms.
// The class will handle the communication back and forth between the Application and the
// Cloud Platform mobile services environment, managing tasks like registration of a new device,
@robypag
robypag / InteractiveNetwork.js
Created December 22, 2016 00:30
SAPUI5 Force Layout control with D3.js
/*eslint no-return-assign: 0, sap-no-dom-insertion: 0*/
sap.ui.define([
"sap/ui/core/Control",
"sap/m/FlexBox",
"sap/ui/thirdparty/d3"
], function(Control, FlexBox, d3) {
"use-strict";
return Control.extend("rpc.onaui.controls.InteractiveNetwork", {