Skip to content

Instantly share code, notes, and snippets.

View gonexwind's full-sized avatar
😋
Chill Out

Fikky Ardianto gonexwind

😋
Chill Out
View GitHub Profile
{
"active": [
{
"id": 4000000030,
"label": "CCTV",
"web_url": "/cctv",
"mobile_url": "/cctv_bantul",
"icon": "https://api.bantulkab.go.id/assets/bantulpedia/cctv_bantul.png",
"parent_id": 0
},
import 'package:flutter/material.dart';
class SignInPage extends StatefulWidget {
const SignInPage({super.key});
@override
State<SignInPage> createState() => _SignInPageState();
}
class _SignInPageState extends State<SignInPage> {
@import url("https://fonts.googleapis.com/css?family=Skranji");
@import url("https://fonts.googleapis.com/css?family=Changa One");
@import url("https://fonts.googleapis.com/css?family=Imprima");
@import url("https://fonts.googleapis.com/css?family=Slabo 13px");
/* Background colors*/
body {
overflow: hidden;
background-color: rgba(0,0,0,0);
}
@gonexwind
gonexwind / dropdown_example.dart
Created July 11, 2023 02:31
Dropdown Example using Flutter Bloc
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../../data/models/order/courier.dart';
import '../../blocs/order/order_bloc.dart';
class DropdownExample extends StatefulWidget {
const DropdownExample({super.key});
@override
@gonexwind
gonexwind / php-style-guide.md
Created September 4, 2020 03:57 — forked from ryansechrest/php-style-guide.md
PHP style guide with coding standards and best practices.

PHP Style Guide

All rules and guidelines in this document apply to PHP files unless otherwise noted. References to PHP/HTML files can be interpreted as files that primarily contain HTML, but use PHP for templating purposes.

The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Most sections are broken up into two parts:

  1. Overview of all rules with a quick example
  2. Each rule called out with examples of do's and don'ts