Skip to content

Instantly share code, notes, and snippets.

View edysegura's full-sized avatar
👽
Always learning!

Edy Segura edysegura

👽
Always learning!
View GitHub Profile
@edysegura
edysegura / .gitconfig
Last active July 11, 2019 14:50
[Git] Awesome git tips
git config --global alias.hist "log --pretty=format:'%C(yellow)%h%Creset %ad | %s%d %Cgreen[%an]%Creset' --graph --date=short"
git config --global core.safecrlf false
@zahnrodolfo
zahnrodolfo / date-helper.service.spec.ts
Last active January 24, 2019 16:22
In here you have methods to add minutes, hours, days, and years to a date and the unit tests are in the spec file. No need to use external libraries. To use these service just add it to a module then call it.
import { TestBed } from '@angular/core/testing';
import { configModule } from '../../../../test/test.helper.spec';
import { DateHelperService } from './date-helper.service';
describe('Helper Service', () => {
let service: DateHelperService;
const date = new Date(Date.UTC(2019, 0, 9, 12, 25, 2));
@argentinaluiz
argentinaluiz / README.md
Created August 12, 2020 14:06
VSCode - Guia para configuração do ambiente com Docker