Skip to content

Instantly share code, notes, and snippets.

View hans-min's full-sized avatar
🐕‍🦺
Just having fun coding

Hanji hans-min

🐕‍🦺
Just having fun coding
  • Akensys
  • Lyon, France
  • 08:17 (UTC +02:00)
View GitHub Profile
@hans-min
hans-min / main.dart
Last active June 13, 2023 12:14
onSubmitted: func vs () => func()
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
@hans-min
hans-min / pip install.py
Last active February 17, 2024 14:09
pip install with requirements.txt
pip freeze > requirements.txt
pip install -r requirements.txt
###### Requirements without Version Specifiers ######
nose
###### Requirements with Version Specifiers ######
docopt == 0.6.1 # Version Matching. Must be version 0.6.1
keyring >= 4.1.1 # Minimum version 4.1.1
coverage != 3.5 # Version Exclusion. Anything except version 3.5
@hans-min
hans-min / _nav.css
Last active June 4, 2024 17:39
css elements from a bunch of classless CSS library that I like
# from chota
.nav {
display: flex;
min-height: 5rem;
align-items: stretch;
}
.nav-center,
.nav-left,
.nav-right {