Skip to content

Instantly share code, notes, and snippets.

View BrandowBuenos's full-sized avatar
💭
Use things, love people. Not the other way around.

Brandow Buenos BrandowBuenos

💭
Use things, love people. Not the other way around.
View GitHub Profile
@BrandowBuenos
BrandowBuenos / app_data.dart
Created July 31, 2024 14:04
App data handler
// ignore_for_file: unnecessary_lambdas, use_build_context_synchronously
import 'dart:async';
import 'dart:convert';
import 'package:flutter/foundation.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:idb_shim/idb.dart';
import 'package:idb_shim/idb_browser.dart';
// Enum representing the different models in your app. TODO: Add your specific models here.
@BrandowBuenos
BrandowBuenos / install-nvm-zsh.txt
Created November 5, 2021 14:34 — forked from mike-casas/install-nvm-zsh.txt
install nvm on mac with zsh shell
After install zsh
- brew update
- brew install nvm
- mkdir ~/.nvm
after in your ~/.zshrc or in .bash_profile if your use bash shell:
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
git fetch -p && for branch in `git branch -vv | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done
[user]
name = Your_Name
email = [email protected]
[core]
editor = code --wait
[push]
followTags = true
[alias]
c = !git add --all && git commit -m
s = !git status -s