Skip to content

Instantly share code, notes, and snippets.

View fkromer's full-sized avatar
🙈
In stealth mode.

Florian Kromer fkromer

🙈
In stealth mode.
View GitHub Profile
@fkromer
fkromer / amazon_rds_vs_aurora.md
Last active March 28, 2022 20:30
Comparsion between Amazon RDS vs. Aurora key characteristics
feature RDS Aurora
usage scenarios rather predicable usage requirements, frequent usage inpredictable usage pikes, infrequent usage
serverless no yes
engines PostgreSQL, MySQL, MariaDB, Oracle, MS SQL Server PostgreSQL, MySQL (AWS native, compatible with)
vertical CPU autoscaling no yes
vertical storage autoscaling yes (backed by EBS) yes (10GB to 64TB)
horizontal read autoscaling (read replicas) up to 5 up to 15
performance (n.a., baseline) 3 x faster than PostgreSQL, 5 x faster than MySQL
reserved instances yes (cost decrease of up to 60% in infrequent usage scenario) no
@fkromer
fkromer / main.dart
Last active November 13, 2021 18:49
Basket AlertDialog Example
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
debugShowCheckedModeBanner: false,
@fkromer
fkromer / main.dart
Created November 10, 2021 16:43
Basket Card Example
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
...
import config from './../../config.json';
+import { BlubDirective } from './blub.directive';
// App Setup
@NgModule({
- declarations: [AppComponent],
+ declarations: [AppComponent, BlubDirective],
entryComponents: [],
import { Blub } from './blub';
describe('Blub', () => {
it('should create an instance', () => {
expect(new Blub()).toBeTruthy();
});
});
const routes: Routes = [
{
...,
+ {
+ path: 'blub',
+ loadChildren: () => import('./blub/blub.module').then( m => m.BlubPageModule)
+ }
];
<p>
blub works!
</p>