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 / 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 / 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 / .env
Last active April 16, 2020 18:25
MEDIUM - d39ced1a25c7 - LICENSES-API
MONGO_URI= PLACE YOUR MONGO URI HERE
@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 / 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 / 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
Last active July 24, 2019 17:04
Local SSL

Generate SSL

@ganobrega
ganobrega / rename.sh
Created April 30, 2019 17:27
Rename Icons Pack files
#!/bin/sh
# Rename for file name pattern:
# 001-filename.svg
rename 's/\d{1,3}-//gi' *.svg
#!/usr/bin/env node
const git = require('simple-git');
const changelog = require('generate-changelog');
const fs = require('fs');
const idx = require('idx');
const argv = require('minimist')(process.argv.slice(1));
git().tags((err, tags) => {