Skip to content

Instantly share code, notes, and snippets.

View klys's full-sized avatar
🛸
imagine, creating...

klys klys

🛸
imagine, creating...
View GitHub Profile
@Klerith
Klerith / git-alias.md
Last active December 25, 2024 18:18
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

@silkyfray
silkyfray / dob.jsx
Created January 5, 2020 21:57
How to use Bulma Calendar in React
import React, { useEffect } from 'react';
import bulmaCalendar from 'bulma-calendar/dist/js/bulma-calendar.min';
import "~bulma-calendar/dist/css/bulma-calendar.min.css"
function Dob({ className }) {
useEffect(() => {
// Initialize all input of date type.
const calendars = bulmaCalendar.attach('[type="date"]', {});
// Loop on each calendar initialized