Skip to content

Instantly share code, notes, and snippets.

View hdavidmb's full-sized avatar

Herman Mejia hdavidmb

View GitHub Profile
@hdavidmb
hdavidmb / git-alias.md
Last active January 18, 2022 13:20 — forked from Klerith/git-alias.md
Useful Git Alias

Log

git config --global alias.lg "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"

Status

git config --global alias.s "status --short"

Alternativa útil de status

git config --global alias.s "status -sb"

@hdavidmb
hdavidmb / snippets.json
Created March 20, 2021 02:03 — forked from Klerith/snippets.json
Dart Snippets
{
// Place your snippets for dart here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
@hdavidmb
hdavidmb / Application.java
Created February 23, 2021 02:53 — forked from Klerith/Application.java
Android Push Notification File para FCM
package com.tu-dominio.pushapp; <------ CAMBIAR!!!!
import io.flutter.app.FlutterApplication;
import io.flutter.plugin.common.PluginRegistry;
import io.flutter.plugin.common.PluginRegistry.PluginRegistrantCallback;
import io.flutter.plugins.GeneratedPluginRegistrant;
import io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService;
// Nota, esta linea la agregue
import io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin;