Skip to content

Instantly share code, notes, and snippets.


Ralph Bergmann the4thfloor

View GitHub Profile
View ContentView.swift
import SwiftUI
import core
struct ContentView: View {
var body: some View {
Text("Today in one year is: \(nextYear())").padding()
View Podfile
workspace 'app.xcworkspace'
platform :ios, '13.0'
def core_pods
pod 'SwiftDate', '~> 6.3.1'
def main_pods
# add pods for the main target here
View Name.swift
import Foundation
public func name() -> String {
return "Ralph"
View ContentView.swift
import SwiftUI
import core
struct ContentView: View {
var body: some View {
Text("Hello, \(name())!").padding()
View Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
View build.gradle
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
the4thfloor / main.dart
Last active Oct 19, 2020
Flutter PageView with RenderBox example for
View main.dart
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return new MaterialApp(
the4thfloor / cla
Created Apr 20, 2017 — forked from CLAassistant/SAP_CLA
SAP Individual Contributor License Agreement
View cla
###SAP Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by SAP SE or its affiliates (“SAP”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to SAP in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to SAP a non-exclusive, perpetual, irrevocable, worldwid