Skip to content

Instantly share code, notes, and snippets.

View digitalbocca's full-sized avatar
🚀
Working from home

Gabriel Bertola Bocca digitalbocca

🚀
Working from home
View GitHub Profile
@digitalbocca
digitalbocca / vscode.css
Last active June 2, 2018 01:41
Custom CSS - vscode
.mtk7,
.mtk3,
.mtk13,
.mtk16 {
margin-left: 1px;
font-family: "Pacifico";
font-size: 1.7em;
}
.mtk7,
@digitalbocca
digitalbocca / curl.md
Created November 13, 2018 05:38 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@digitalbocca
digitalbocca / netlify-deploy.json
Created November 26, 2018 01:25
Automatização de deploy utilizando npm e netlify
{
"scripts": {
"deploy": "cross-var netlify deploy -m \"$npm_package_config_commitMessage\" --prod --open -d ./dist"
}
}
@digitalbocca
digitalbocca / auto-git.json
Created November 26, 2018 01:35
Configuração para o controle de versão automatizado - npm git
{
"version": "0.1.0",
"config": {
"commitMessage": "Automatizado o controle de versão"
},
"scripts": {
"git": "npm run gst && npm run gad && npm run gco && npm run gta && npm run gpo",
"gst": "git status",
"gad": "git add .",
"gco": "cross-var git commit -m \"$npm_package_config_commitMessage\"",
@digitalbocca
digitalbocca / BADGES.md
Created November 27, 2018 10:54
Coleção de selos usados nos arquivos README

Maintainability

forthebadge forthebadge forthebadge forthebadge

JavaScript Style Guide JavaScript Style Guide JavaScript Style Guide

@digitalbocca
digitalbocca / parcel-bundler-config.json
Created November 27, 2018 18:18
Scripts npm para desenvolvimento e produção com parcel bundler.
{
"scripts": {
"dev": "parcel -p 8080 --no-cache ./src/index.html",
"build": "parcel build src/index.html --public-url ./ --no-source-maps --no-cache"
}
}
@digitalbocca
digitalbocca / morse.js
Created January 4, 2019 03:45 — forked from eholk/morse.js
A Morse Code generator in Java Script
// Copyright 2014–2017, Eric Holk
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
@digitalbocca
digitalbocca / PROGRAMAS-E-FERRAMENTAS.md
Last active February 15, 2019 22:01
Lista de Programas e/ou Ferramentas Instaladas no Windows 10

LISTA DE PROGRAMAS E FERRAMENTAS INSTALADAS NO WINDOWS 10

SERVIDORES/HOSPEDAGEM

  • WeDeploy (Linha de Comando) (wedeploy.com)
  • Heroku (Linha de Comando) (heroku.com)
  • Netlify (Linha de Comando - npm global) (netlify.com)

TIMERS/GERENCIADOR DE TEMPO DE TRABALHO

@digitalbocca
digitalbocca / jscpd-package.json
Last active March 31, 2019 13:45
Rodar jscpd com npm.
{
"scripts": {
"cpd": "jscpd ./src -r html -o ./jscpd-report/src"
}
}