Skip to content

Instantly share code, notes, and snippets.

View wanderlima's full-sized avatar
👋
hey there

Wander Lima wanderlima

👋
hey there
View GitHub Profile
@Icaruk
Icaruk / multipleGitProfiles.md
Last active February 16, 2026 22:44
How to have multiple profiles on git

Last update: 30-01-2024
Last view: 25-11-2025

Step 1

Go to your work folder, mine is located at: F:/Work/EnterpriseName/

And then create a .gitconfig-work with the following data:

@Godofbrowser
Godofbrowser / axios.refresh_token.1.js
Last active November 30, 2025 18:30 — forked from culttm/axios.refresh_token.js
Axios interceptor for refresh token when you have multiple parallel requests. Demo implementation: https://github.com/Godofbrowser/axios-refresh-multiple-request
// for multiple requests
let isRefreshing = false;
let failedQueue = [];
const processQueue = (error, token = null) => {
failedQueue.forEach(prom => {
if (error) {
prom.reject(error);
} else {
prom.resolve(token);
@Gaboso
Gaboso / license-badges.md
Last active February 25, 2025 19:55 — forked from lukas-h/license-badges.md
Selos de licença para o seu projeto

Selos de licença no Markdown

Coleção de selos de licença para o arquivo README do seu projeto.
Esta lista inclui as licenças open data e open source mais comuns.
Copie e cole facilmente o código dos selos nos seus arquivos em Markdown.

Notas

  • Esses selos não substituem totalmente as informações de licença dos seus projetos, eles são apenas emblemas para o README, que o usuário pode ver a Licença à primeira vista.

Traduções: (sem garantias que as traduções estarão atualizadas)

@samdenty
samdenty / README.MD
Last active February 5, 2026 12:40
VS Code CSS addition to increase readability on file tree.

How to install

Custom CSS plugin

Install the custom CSS plugin, then make a file on your computer that will hold your custom CSS, I like to make one in my home directory called ~/.vscodestyles.css and then add the CSS into it.

Once done, open your command palette and select enable custom CSS and JS

@louisbels
louisbels / Nginx + Apache reverse proxy REAL IP.md
Last active July 12, 2025 06:59
Real IP for Apache (Nginx reverse proxy)

NGINX 1.10 + APACHE 2.4 real IP for reverse proxy

Edit nginx conf

default.conf or what you want

vim /etc/nginx/conf.d/default.conf

add proxy_set_header for php files

// File: .storybook/config.js
import { configure, addDecorator } from '@kadira/storybook';
import Theme from './../src/ui/theme';
import React from 'react';
import { ThemeProvider } from 'styled-components'
function loadStories() {
require('../stories');
}
@lukas-h
lukas-h / license-badges.md
Last active March 15, 2026 12:21
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@parmentf
parmentf / GitCommitEmoji.md
Last active March 9, 2026 16:01
Git Commit message Emoji