Skip to content

Instantly share code, notes, and snippets.

View boghyon's full-sized avatar
🌞
Hi!

Boghyon Hoffmann boghyon

🌞
Hi!
View GitHub Profile
@boghyon
boghyon / index.html
Last active November 17, 2018 23:30
UI5 Tool: "Where used" Logger
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<script>
window["sap-ui-config"] = {
libs: "sap.ui.core, sap.m, sap.ui.mdc",
preload: "async",
async: "true",
@boghyon
boghyon / z_nth_fibo_number.abap
Last active September 21, 2018 10:54
N-th Fibonacci number in ABAP using a recursive Function Module (not memoized yet!!)
FUNCTION z_nth_fibo_number.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(IV_INDEX) TYPE I
*" EXPORTING
*" VALUE(EV_FIBO_NUMBER) TYPE I
*" EXCEPTIONS
*" INDEX_LOWER_THAN_ZERO
*"----------------------------------------------------------------------
@boghyon
boghyon / Component.js
Last active August 21, 2018 17:29
UI5 basic template
sap.ui.define([
"sap/ui/core/UIComponent"
], function(UIComponent) {
"use strict";
return UIComponent.extend("demo.Component", {
metadata: {
manifest: "json"
},