Skip to content

Instantly share code, notes, and snippets.

View tranductam2802's full-sized avatar
🔥
Fulltime Mobile Developer! Part-time Poker dealer

Trần Đức Tâm tranductam2802

🔥
Fulltime Mobile Developer! Part-time Poker dealer
View GitHub Profile
@kenreilly
kenreilly / section.dart
Created August 23, 2019 05:38
Flutter for Web example page section
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;
@tranductam2802
tranductam2802 / ssh_client.py
Created September 6, 2019 05:30
Funny SSH client has written by Python for learning paramiko library
from termcolor import *
from sys import stdin
import colorama
import paramiko as ssh
import sys
import time
import os
HOST = ''
USER = ''
// 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());
@slightfoot
slightfoot / fling_physics.dart
Last active May 19, 2023 14:59
Fling PageScrollPhysics for Flutter
// 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:
"Nice try."