Skip to content

Instantly share code, notes, and snippets.

View e200's full-sized avatar
👋
I may be slow to respond.

E L E A N D R O e200

👋
I may be slow to respond.
View GitHub Profile
@e200
e200 / logs_from_vscode_terminal.txt
Created January 11, 2021 13:33
Flutter logs from vscode builtin terminal
[ +67 ms] executing: [SENSITIVE/versions/dev/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +30 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +2 ms] 63062a64432cce03315d6b5196fda7912866eb37
[ ] executing: [SENSITIVE/versions/dev/] git tag --points-at 63062a64432cce03315d6b5196fda7912866eb37
[ +11 ms] Exit code 0 from: git tag --points-at 63062a64432cce03315d6b5196fda7912866eb37
[ ] 1.26.0-1.0.pre
[ +45 ms] executing: [SENSITIVE/versions/dev/] git rev-parse --abbrev-ref --symbolic @{u}
[ +8 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/dev
[ ] executing: [SENSITIVE/versions/dev/] git ls-remote --get-url origin
@e200
e200 / logs_external_therminal.dart
Created January 11, 2021 13:04
logs_external_therminal
[ +58 ms] executing: [SENSITIVE/dev/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +26 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] 63062a64432cce03315d6b5196fda7912866eb37
[ ] executing: [SENSITIVE/dev/] git tag --points-at 63062a64432cce03315d6b5196fda7912866eb37
[ +11 ms] Exit code 0 from: git tag --points-at 63062a64432cce03315d6b5196fda7912866eb37
[ ] 1.26.0-1.0.pre
[ +32 ms] executing: [SENSITIVE/dev/] git rev-parse --abbrev-ref --symbolic @{u}
[ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/dev
[ ] executing: [SENSITIVE/dev/] git ls-remote --get-url origin
@e200
e200 / logs.txt
Created January 11, 2021 11:48
Flutter Desktop app launch from vscode issue
!! PLEASE REVIEW THIS LOG FOR SENSITIVE INFORMATION BEFORE SHARING !!
Dart Code extension: 3.18.1
Flutter extension: 3.18.1 (activated)
App: Visual Studio Code
Version: 1.52.1
Platform: linux
Workspace type: Flutter
class HomePage extends StatefulWidget {
@override
_HomePageState createState() => _HomePageState();
}
class _HomePageState extends State<HomePage> {
double _angle = 0;
@override
Widget build(BuildContext context) {
import 'package:flutter/material.dart';
import 'dart:math';
void main() {
runApp(
MaterialApp(
theme: ThemeData.dark(),
home: Scaffold(body: HomePage()),
debugShowCheckedModeBanner: false,
),
class _AnimatedRotationButtonState
extends AnimatedWidgetBaseState<AnimatedRotationButton> {
Tween<double> _angleTween;
@override
void forEachTween(visitor) {
_angleTween = visitor(
_angleTween,
widget.angle,
(value) => Tween<double>(begin: value),
class AnimatedRotationButton extends ImplicitlyAnimatedWidget {
final Widget child;
final double angle;
final Function onPressed;
const AnimatedRotationButton({
Key key,
this.child,
this.angle,
this.onPressed,
class AnimatedRotationButton extends StatefulWidget {
final Widget child;
final double angle;
final Function onPressed;
const AnimatedRotationButton({
Key key,
this.child,
this.angle,
this.onPressed,
rsync -e "ssh -o StrictHostKeyChecking=no" -zavhP --delete <source> <destination>
@e200
e200 / gist:d8eba97c32ffc865c525dff018b13507
Created December 27, 2020 22:59
Debug and release keystore
signingConfigs {
release {
if (keystorePropertiesFile.exists()) {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}
}