Skip to content

Instantly share code, notes, and snippets.

View ganobrega's full-sized avatar
🍴
Cooking something

Gabriel Nobrega ganobrega

🍴
Cooking something
  • Brazil, São Paulo
View GitHub Profile
@ganobrega
ganobrega / readme.md
Last active July 24, 2019 17:04
Local SSL

Generate SSL

@ganobrega
ganobrega / readme.md
Last active June 13, 2019 00:00
Clean Code

Clean Code

CSS

  1. Remove properties with prefixers -moz, -webkit, -o, -ms: (-webkit|-moz|-o-|-ms-).*:.*;
  • e.g: -webkit-transition: all 0.14s linear;
  1. Remove properties with prefixers -moz, -webkit, -o, -ms in values: .*:.*(-webkit|-moz|-o-|-ms-).*;
  • e.g: display: -webkit-flex-shrink
@ganobrega
ganobrega / readme.md
Created August 13, 2019 16:03
Linux Utils

Stop Gulp Notifications

  1. echo 'export DISABLE_NOTIFIER=true;' >> ~/.bash_profile
  2. source ~/.bash_profile
@ganobrega
ganobrega / windows10activation
Created November 11, 2019 06:13
Activate Windows 10 without Any Activator
1. Open CMD as Administrator
2. Paste the following commands into the Cmd: One by one, follow the order.
cscript slmgr.vbs /ipk "SERIAL NUMBER HERE"
Replace SERIAL NUMBER HER with any of these, according your Windows 10 installation type.
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
@ganobrega
ganobrega / .env
Last active April 16, 2020 18:25
MEDIUM - d39ced1a25c7 - LICENSES-API
MONGO_URI= PLACE YOUR MONGO URI HERE
@ganobrega
ganobrega / Header-with-HOF.js
Last active June 1, 2020 15:25
Tematizando uma aplicação com o styled-components e styled-system
import React from 'react';
import styled from 'styled-components';
import css from '@styled-system/css';
const Container = styled('div')(
css({
backgroundColor: 'primary'
})
)
@ganobrega
ganobrega / ContextCmder-Disable.reg
Created October 13, 2020 12:03 — forked from jojobyte/ContextCmder-Disable.reg
Cmder Context (Right-Click) Menu for Windows 7, 8 & 10
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder]
@ganobrega
ganobrega / dump-vtex-emails.js
Created November 3, 2020 15:47
Get VTEX Template E-mails
const axios = require('axios');
const LIST_ENDPOINT = `https://loja.myvtex.com/api/template-render/pvt/templates/getlist`;
const TEMPLATE_ENDPOINT = `https://loja.myvtex.com/api/template-render/pvt/templates/`;
const JSON_ENDPOINT = `https://loja.myvtex.com/api/template-render/pvt/templates/json`;
const LIST = [];
const AUTH_COOKIE =
'VtexIdclientAutCookie=$$$$$$$$;';
@ganobrega
ganobrega / gist:1a6367e120ca0faa7aa4f469a6779c0a
Created January 7, 2021 17:09
Canais do Youtube de Tecnologia
- Balta.io
- CodAffection
- Codedamn
- EspecializaTi
- Jose Carlos Macoratti
- Michelli Brito
- The Net Ninja
- Vinicius Thiengo
- Traversy Media
- Mango
@ganobrega
ganobrega / vtex.json
Created July 22, 2021 18:36
VTEX Toolbelt Config
{
"env": "prod",
"account": "$VTEX_ACCOUNT",
"workspace": "master",
"login": "$VTEX_AUTH_LOGIN",
"token": "$VTEX_AUTH_TOKEN"
}