Skip to content

Instantly share code, notes, and snippets.

View andr3medeiros's full-sized avatar
🏠
Working from home

André da Silva Medeiros andr3medeiros

🏠
Working from home
View GitHub Profile
@andr3medeiros
andr3medeiros / keybase.md
Created September 27, 2023 11:20
andr3medeiros

Keybase proof

I hereby claim:

  • I am andr3medeiros on github.
  • I am andr3medeiros (https://keybase.io/andr3medeiros) on keybase.
  • I have a public key ASBn60zgpxfJreBPecLMnSQYr90UR9CGmI9-FqsSEor_JAo

To claim this, I am signing this object:

@andr3medeiros
andr3medeiros / safari-gap-workaround.css
Created April 29, 2021 09:44
Workaround for using gap on safari
@supports (display: flex) and (display: grid) and (not(gap)) {
:not(:last-child) {
margin-right: 15px;
}
}
@andr3medeiros
andr3medeiros / lodash_fixer.js
Last active April 22, 2019 14:26
Transform full lodash imports into imports for separated modules
const glob = require('glob');
const fs = require('fs');
// Find file(s)
glob('*/**/*.+(js|jsx)', (err, files) => {
if (err) { throw err; }
console.log(`Found ${files.length} files to check...`);
files.forEach(item => {
@andr3medeiros
andr3medeiros / AngularErrorController.java
Last active May 3, 2018 19:56
Spring Boot Angular Refresh/Error Handler
package br.com.app.controller;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.commons.logging.Log;
Privacy Policy / Terms Of Service Generator
This form will generate a generic Terms of Service and Privacy Policy statement for use with your web site. It is based off of the template that was taken from a House of Fusion forum thread and has not, in any way, been reviewed by a lawyer.
Please enter your company name and primary state of residence to be used in the generated privacy policy / terms of service document:
Company Name:
HairCut