Skip to content

Instantly share code, notes, and snippets.

View godrix's full-sized avatar
💻
trying to take over the world

Godri.dev godrix

💻
trying to take over the world
View GitHub Profile
@MiriKnie
MiriKnie / Rezept.md
Last active November 18, 2019 18:52

Linsen-Bolognese

  • 1 halber Knollensellerie
  • 6 Karotten
  • 1 Stange Lauch
  • 1 Zwiebel
  • 2 Zehen Knoblauch
  • gehackte Chilischoten
  • 150g rote Linsen
  • 2 Dosen gehackte Tomaten
  • ½ Tube Tomatenmark mit Würzgemüse
@godrix
godrix / commit_message.md
Last active May 27, 2021 16:55
Padrão e boas praticas para mensagens de commit

Styleguide para mensagens de commit

  • Escreva na forma imperativa. ("Adicionado feature X" ou "Corrigido bug Y")
  • Separar o assunto do corpo de texto com uma linha
  • Capitalizar a linha de assunto
  • Não termine a linha de assunto com ponto final
  • Primeira linha deve ter no maximo 72 caracteres
  • Considere usar um emoji no inicio da mensagem de commit
  • Envolver o path da alteração no commit tambem é uma boa ideia
  • Use o corpo para explicar o commit
@Albejr
Albejr / firebase-message
Last active March 7, 2024 19:26
Localize Firebase error messages in PT-BR
catchError(err => {
const errorCode = err.code;
let errorMessage = this.VerifyErroCode(errorCode);
if (errorMessage == null) {
errorMessage = err.message;
}
console.log(errorMessage);
})
#!/usr/bin/env zsh
# powerlevel9k theme settings (https://github.com/bhilburn/powerlevel9k)
# font mode
POWERLEVEL9K_MODE='nerdfont-complete'
# light theme?
# POWERLEVEL9K_COLOR_SCHEME='light'
# datetime format
anonymous
anonymous / nav.html
Created January 26, 2018 18:16
<html>
<head>
<style type="text/css">
ul.nav {
margin:0;
padding:0;
}
ul.nav li {
list-style:none;
#!/bin/bash
# Logout current GitHub credentials and remove global user.name, user.email
echo -e "host=github.com\nprotocol=https\n" | git credential-osxkeychain erase
git config --unset-all --global user.name
git config --unset-all --global user.email
@nrojas13
nrojas13 / arrayLocalStorage.js
Created November 3, 2016 23:39
Cómo guardar un array en localStorage
// Guardar el array en el localStorage
// El arreglo:
var array = [1, 2, 3];
// Se guarda en localStorage despues de JSON stringificarlo
localStorage.setItem('myArray', JSON.stringify(array));
// Obtener el arreglo de localStorage
var array = localStorage.getItem('myArray');
@gokulkrishh
gokulkrishh / media-query.css
Last active April 26, 2024 10:32
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */