This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Nice try." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT License | |
// | |
// Copyright (c) 2023 Simon Lightfoot | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://syncview.firebaseapp.com | |
// https://gist.github.com/PlugFox/c683eed018a3a72c55255e4e58447e0d | |
import 'package:flutter/material.dart'; | |
import 'package:provider/provider.dart'; | |
import 'package:rxdart/rxdart.dart'; | |
//import 'package:url_launcher/url_launcher.dart'; // io | |
import 'dart:html' show window; // html | |
void main() => runApp(App()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from termcolor import * | |
from sys import stdin | |
import colorama | |
import paramiko as ssh | |
import sys | |
import time | |
import os | |
HOST = '' | |
USER = '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter_web/material.dart'; | |
import 'section-def.dart'; | |
class Content extends AnimatedWidget { | |
const Content({ Key key, this.listenable, this.children, this.opacity }) | |
: super(key: key, listenable: listenable); | |
final ScrollController listenable; | |
final List<Widget> children; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter_web/material.dart'; | |
class Background extends AnimatedWidget { | |
Background({ Key key, @required this.image, @required this.listenable }) | |
: super(key: key, listenable: listenable); | |
final AssetImage image; | |
final ScrollController listenable; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CustomScrollPhysics extends ScrollPhysics { | |
final double itemDimension; | |
CustomScrollPhysics({this.itemDimension, ScrollPhysics parent}) | |
: super(parent: parent); | |
@override | |
CustomScrollPhysics applyTo(ScrollPhysics ancestor) { | |
return CustomScrollPhysics( | |
itemDimension: itemDimension, parent: buildParent(ancestor)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
import 'dart:ui'; | |
import 'package:flutter/animation.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
import 'package:intl/intl.dart'; | |
import 'package:poa/src/models/surveys.dart'; | |
import 'package:poa/src/repository/api_provider.dart'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
void main() => runApp(ExampleApp()); | |
class ExampleApp extends StatelessWidget { | |
@override |
NewerOlder