Skip to content

Instantly share code, notes, and snippets.

View maxmillernunes's full-sized avatar
🚀

Maxmiller Nunes maxmillernunes

🚀
View GitHub Profile
@maxmillernunes
maxmillernunes / settings.json
Created March 13, 2021 18:09 — forked from diego3g/settings.json
VSCode Settings (Updated)
{
"terminal.integrated.fontSize": 14,
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
"editor.tabSize": 2,
"editor.fontSize": 16,
"editor.lineHeight": 26,
"editor.fontFamily": "JetBrains Mono",
@maxmillernunes
maxmillernunes / git.md
Created March 31, 2020 12:34 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

app.directive("corMediaSigaBadge", function() {
return {
restrict: "A",
template: `<span class="badge {{class}}">{{value}}{{showPercent ? '%' : ''}}</span>`,
scope: {
value: "=",
showPercent: "=" // boolean
},
link: function($scope, $elem, $attr) {

Install PostgreSQL 10 on Ubuntu

This is a quick guide to install PostgreSQL 10 - tested on Ubuntu 16.04 but likely can be used for Ubuntu 14.04 and 17.04 as well, with one minor modification detailed below.

(Optional) Uninstall other versions of postgres

To make life simple, remove all other versions of Postgres. Obviously not required, but again, makes life simple.

dpkg -l | grep postgres