Skip to content

Instantly share code, notes, and snippets.

View sodogan's full-sized avatar
💭
I am waiting for contributions for SAPUI5

Solen Dogan sodogan

💭
I am waiting for contributions for SAPUI5
View GitHub Profile
@sodogan
sodogan / git_cheat.txt
Last active February 14, 2020 12:10
GIT BASH CHEAT SHEET COMMANDS
Common console commands:
cd - change directory
mkdir - make directory
ls - view the files/folders in directory
rm -r -to delete dirs or files
NOTE: Exit VIM if needed ctrl + c then type :qa! and push enter
NOTE: If file is not in local repo, manually move the file into
the correct folder (outside of console)
@sodogan
sodogan / index.html
Created February 21, 2020 05:17
First SAPUI5 // source https://jsbin.com/vixilub
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8" />
<head>
<script
id="sap-ui-bootstrap"
type="text/javascript"
src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
data-sap-ui-theme="sap_bluecrystal"
@sodogan
sodogan / index.html
Created February 21, 2020 05:17
First SAPUI5 // source https://jsbin.com/vixilub
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8" />
<head>
<script
id="sap-ui-bootstrap"
type="text/javascript"
src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
data-sap-ui-theme="sap_bluecrystal"
@sodogan
sodogan / es5.txt
Created April 2, 2020 09:25
ES5 Destinations for SAP Cloud Platform
Description=SAP Gateway Demo System
Type=HTTP
TrustAll=true
Authentication=BasicAuthentication
WebIDEUsage=odata_abap,bsp_execute_abap,odata_gen,odata_abap,ui5_execute_abap,dev_abap
Name=ES5
WebIDEEnabled=true
URL=https\://sapes5.sapdevcenter.com
ProxyType=Internet
sap-client=002
@sodogan
sodogan / Validator.js
Created April 2, 2020 11:04
Validator js file for the OpenUI5 Course=Developing webApps with SAPUI5
/*global opensap,sinon*/
sap.ui.require([
"sap/ui/test/Opa",
"sap/ui/test/Opa5",
"sap/ui/test/actions/Press",
"sap/ui/test/actions/EnterText",
"sap/ui/test/matchers/AggregationFilled",
"sap/ui/test/matchers/PropertyStrictEquals",
"sap/ui/test/matchers/Properties",
@sodogan
sodogan / SonarQubeConfig.txt
Created September 22, 2020 09:08 — forked from marek-panek/SonarQubeConfig.txt
SonarQube configuration with PostgreSQL
1. In PostgreSQL database
1.1 Create user
create user <user_name> with password '<password>';
1.2 Create database
create database <db_name> with owner <user_name> encoding 'UTF8';
2. Edit <sonar_install_dir>/conf/sonar.properties
@sodogan
sodogan / Generate_SSH.md
Last active December 13, 2021 16:54
Generating SSH Key for GIT

How to generate the SSH Key

  • Make sure that you set the username and email address via git config
  • git config --global user.email "solendogan.sap@gmail.com"

For all the operations we will use git bash,its like a linux environment! ##STEPS

  • First generate the Public and Private Keys, go to Git bash

ssh-keygen -t rsa -b 4096 -C "solendogan.sap@gmail.com"

import 'dart:math' as math;
class Circle {
double _radius;
Circle({double radius=0.0}){
this._radius = radius;
}
/*
Dart samples:
To copy a list or map
use:
var myList = [...myBaseList];
var myMap = {...myBaseMap};
*/
void main(List<String> args) {
Map<String, String> myBaseMap = <String, String>{}
@sodogan
sodogan / flutter_basic_app.dart
Last active May 17, 2021 13:16
Flutter basic app
import 'package:flutter/material.dart';
void main() {
runApp(MyMainApp());
}
class MyMainApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(