Skip to content

Instantly share code, notes, and snippets.

View RodrigoStuani's full-sized avatar
🎯
Focusing

Rodrigo Stuani RodrigoStuani

🎯
Focusing
View GitHub Profile
@zevolution
zevolution / hyperlayout.md
Created April 13, 2021 14:49
Structure to open my HyperTerminal day-to-day using HyperLayout

HyperLayout

Introduce to Hyper Layout

Hyperlayout, allows us to create presets for HyperTerminal, that in my case, facilitate the initialization/provisioning at the start of my workstation.

Structure of my HyperTerminal day-to-day:

 [                                                                                                                       
   [[                                                                                                                    
     ["", ""],                                                                     
const options = { year: "numeric", month: "long", day: "numeric" };
const date = new Date(2020, 11, 31) // 2020-12-31T03:00:00.000Z
console.log(date.toLocaleDateString("pt-br", options))
// 31 de dezembro de 2020
console.log(date.toLocaleDateString("pt-br", { ...options, month: 'numeric'}))
// 31/12/2020
const regex = /^([0-9]{4})[-](0[1-9]|1[0-2])[-](0[0-9]|1[0-9]|2[0-9]|3[0-1])/gm
const dateRx = new Date(2020, 11, 31) // 2020-12-31T03:00:00.000Z
@leocomelli
leocomelli / git.md
Last active May 6, 2024 20:01
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda