Skip to content

Instantly share code, notes, and snippets.

View pereirinha's full-sized avatar
✍️

Marco Pereirinha pereirinha

✍️
View GitHub Profile

Keybase proof

I hereby claim:

  • I am pereirinha on github.
  • I am pereirinha (https://keybase.io/pereirinha) on keybase.
  • I have a public key ASCAVSoSFA3mhgiqBoe7OAsQ_eza3xMAohGnS7La3Gp6IQo

To claim this, I am signing this object:

@pereirinha
pereirinha / provision-post.sh
Created June 22, 2017 13:36
VVV propost provision goodies
#!/usr/bin/env bash
# Update Aptitude
echo "Updating Aptitude"
sudo apt-get update
sudo apt-get -y upgrade
# HTOP
echo "Installing HTOP"
sudo apt-get install -y htop
@pereirinha
pereirinha / command
Last active January 7, 2018 16:11
Local certificate
openssl req \
-newkey rsa:2048 \
-x509 \
-nodes \
-keyout ssl/domain.com.key \
-new \
-out ssl/domain.com.crt \
-subj /CN=domain.com \
-reqexts SAN \
-extensions SAN \
{
"rules" : {
"comma-dangle" : [2, "never"],
"no-constant-condition" : 2,
"no-dupe-keys" : 2,
"no-duplicate-case" : 2,
"no-empty" : 2,
"no-ex-assign" : 2,
"no-extra-boolean-cast" : 2,
"no-extra-parens" : 2,
@pereirinha
pereirinha / dominio.com.conf
Last active October 30, 2015 15:58
Nginx fallbacks
upstream fallback-qqgaita {
server dominio.com;
}
server {
listen 80;
listen 443 ssl;
server_name qqgaita.dev;
root /srv/www/qqgaita.dev;
@pereirinha
pereirinha / .scss-lint.yml
Last active January 10, 2018 15:52
SCSS Linter settings
linters:
Comment:
enabled: false
IdSelector:
enabled: false
ImportantRule:
enabled: false
@pereirinha
pereirinha / .jshintrc
Last active September 22, 2015 14:38
JS Linter settings
{
"maxerr" : 100,
"curly" : true,
"eqeqeq" : true,
"forin" : true,
"freeze" : true,
"latedef" : true,
"nonbsp" : true,
"undef" : true,
"unused" : "strict",