Skip to content

Instantly share code, notes, and snippets.

View nguyenlamzx's full-sized avatar

Lam Nguyen nguyenlamzx

View GitHub Profile
@nguyenlamzx
nguyenlamzx / humpday_2024-07-24_1.dart
Created July 24, 2024 18:13 — forked from slightfoot/humpday_2024-07-24_1.dart
Circular List - by Simon Lightfoot - Humpday Q&A :: 26th June 2024 #Flutter #Dart https://www.youtube.com/watch?v=mMv9wRcKZrw
// MIT License
//
// Copyright (c) 2024 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:
@nguyenlamzx
nguyenlamzx / nested_navigation_shell_route.dart
Created April 26, 2023 00:33 — forked from tolo/nested_navigation_shell_route.dart
Example showing how to use go_router to build persistent nested navigation (i.e. separate nested navigation trees) with a BottomNavigationBar.
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
final GlobalKey<NavigatorState> _sectionANavigatorKey =
GlobalKey<NavigatorState>(debugLabel: 'sectionANav');
final GlobalKey<NavigatorState> _sectionBNavigatorKey =
@nguyenlamzx
nguyenlamzx / iterm2-solarized.md
Created October 11, 2022 20:23 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

<!-- Copyright 2011 the Dart project authors. All rights reserved.
Use of this source code is governed by a BSD-style license
that can be found in the LICENSE file. -->
<h2>Dr. Fibonacci's Sunflower Spectacular</h2>
<div>
<canvas id="canvas" width="300" height="300"></canvas>
</div>
@nguyenlamzx
nguyenlamzx / gist:d13f6d75216f6ba601a5a1c97fbd0c37
Created July 24, 2018 03:50 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@nguyenlamzx
nguyenlamzx / git_branch_naming.md
Created July 24, 2018 03:50 — forked from revett/git_branch_naming.md
Git Branch Naming Conventions

<type>/<name>

<type>

bug    - Code changes linked to a known issue.
feat   - New feature.
hotfix - Quick fixes to the codebase.
junk   - Experiments (will never be merged).
@nguyenlamzx
nguyenlamzx / dabblet.css
Last active May 22, 2018 04:40
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
box, .box {
display: block;
position: relative;
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100px;
}
https://github.com/wesbos/keycodes
https://github.com/clintonwoo/hackernews-react-graphql
https://github.com/HubSpot/vex
https://github.com/maxwellito/vivus
https://github.com/w3c/IntersectionObserver
https://github.com/sergiodlopes/jquery-flexdatalist
https://github.com/visionmedia/page.js
https://github.com/selectize/selectize.js
https://github.com/twitter/typeahead.js
https://github.com/mattboldt/typed.js
@nguyenlamzx
nguyenlamzx / cross-browser-draggable-css-cube-with-custom-properties-backgrounds.markdown
Created May 22, 2017 10:51
cross-browser draggable CSS cube with custom properties (backgrounds)
@mixin valid-quantity($quantity) {
@if type-of($quantity) != 'number' {
@error 'The "quantity" parameter must be a number!';
}
@if not(unitless($quantity)) {
@error 'The "quantity" parameter must not have a unit!';
}
@if $quantity < 0 {
@error 'The "quantity" parameter must be at least 0!';
}