Skip to content

Instantly share code, notes, and snippets.

View lkmandy's full-sized avatar
🎯
Focusing

Amanda Shafack lkmandy

🎯
Focusing
View GitHub Profile
@anthonyalvarez
anthonyalvarez / .gitmessage.txt
Created June 10, 2019 20:01
Sample Git Commit Message Template
type: subject
body
footer
# ========= INSTRUCTIONS FOR USE ============4950
#
# The Type
# The type is contained within the title
@bradtraversy
bradtraversy / mysql_cheat_sheet.md
Last active October 30, 2025 10:00
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@matteocrippa
matteocrippa / flutter.md
Last active April 20, 2025 03:41
Flutter Cheatsheet

Flutter

A quick cheatsheet of useful snippet for Flutter

Widget

A widget is the basic type of controller in Flutter Material. There are two type of basic Widget we can extend our classes: StatefulWidget or StatelessWidget.

Stateful

StatefulWidget are all the widget that interally have a dynamic value that can change during usage. It can receive an input value in the constructor or reference to functions. You need to create two classes like:

@theburningmonk
theburningmonk / singleton.dart
Last active September 2, 2022 01:40
Using Dart's factory constructor feature to implement the singleton pattern
class MyClass {
static final MyClass _singleton = new MyClass._internal();
factory MyClass() {
return _singleton;
}
MyClass._internal() {
... // initialization logic here
}