Skip to content

Instantly share code, notes, and snippets.

View akifarhan's full-sized avatar
🎯
Focusing

Muhammad Akif Farhan akifarhan

🎯
Focusing
View GitHub Profile
@FilledStacks
FilledStacks / stacked_snippets.json
Last active January 2, 2024 04:09
Flutter / Stacked snippets for productivity
{
"Freezed model": {
"prefix": "frz",
"body": [
"@freezed",
"class ${1:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/g}} with _$${1} {",
" factory ${1}({",
" required ${2:String id},",
" }) = _${1};",
"}"
import 'dart:ui' as ui;
import 'package:flutter/foundation.dart';
import 'package:flutter/painting.dart';
// sample code
/*
class CornerDecorationTest extends StatefulWidget {
@override
_CornerDecorationTestState createState() => _CornerDecorationTestState();
}
@r0lodex
r0lodex / localssl.md
Last active June 5, 2024 23:16
Setting Up Local SSL

Automatic

Updated 24-05-2020

NAME=$1

mkdir $NAME
cd $NAME

# Generate private key