Skip to content

Instantly share code, notes, and snippets.

View Norbert515's full-sized avatar
😃

Norbert Kozsir Norbert515

😃
View GitHub Profile
Standard EULA
This Standard EULA is concluded between You and the Developer with respect to the Plugin.
1. Definitions
“Confirmation” means an email from JetBrains confirming Your rights to use a Paid Plugin and containing important information about Your license or Subscription.
"Developer" means NK Tech UG (haftungsbeschränkt).
“Documentation” means the latest versions of all online technical documentation available for a Plugin at JetBrains Marketplace and any other relevant Plugin documentation provided either by JetBrains or the Developer that applies to the Plugin.
Norbert Kozsir
Funkerstraße 33
7762276137 Karlsruhe
Germany
Contact: kozsir.norbert(at)gmail.com
/*
Problem statement:
Coming up with an easy to use and understand architecture, where the naming of 'things' makes inherent sense.
My basic architecture:
top_level:
@Norbert515
Norbert515 / main.dart
Created May 27, 2021 14:19
Framecrate screenshot template
import 'dart:html';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'dart:js';
import 'dart:ui' as ui;
Widget buildShowcaseWidget(BuildContext context) {
// TODO return an instance of your widget here
// Once your done, hit run and 'Screenshot & Publish'
@Norbert515
Norbert515 / ssh-deploy-key-wrapper.sh
Last active October 31, 2020 07:21 — forked from mpdude/ssh-deploy-key-wrapper.sh
Wrapper around `ssh` to pick the right one from several GitHub deploy keys
#!/bin/bash
# The last argument is the command to be executed on the remote end, which is something
# like "git-upload-pack 'webfactory/ssh-agent.git'". We need the repo path only, so we
# loop over this last argument to get the last part of if.
for last in ${!#}; do :; done
"I STARTED RUNNING" >> /home/runner/work/log.txt
$last >> /home/runner/work/log.txt
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
class MyCenter extends SingleChildRenderObjectWidget {
MyCenter({Key key, Widget child}): super(key: key, child: child);
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart'
show debugDefaultTargetPlatformOverride;
class TodoModel {
String title;
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart'
show debugDefaultTargetPlatformOverride;
class TodoModel {
String title;
@Norbert515
Norbert515 / signatures.dart
Created November 15, 2018 22:00
workshop signatures
import 'package:flutter/material.dart';
import 'package:meta/meta.dart';
class Task {
Task(this.done, this.text);
final String text;
final bool done;
}
@Norbert515
Norbert515 / fade_route.dart
Created November 13, 2018 22:27
A route which fades the page in.
import 'package:flutter/material.dart';
/// Navigator.of(context).push(FadeRoute(
/// builder: (context) {
/// return NewPage();
/// }
/// ));
class FadeRoute extends PageRoute {
FadeRoute({@required this.builder});