Skip to content

Instantly share code, notes, and snippets.

View math3vz's full-sized avatar

Matheus Moraes math3vz

  • São Paulo, Brasil
View GitHub Profile

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.

Variables

@rafaelrosafu
rafaelrosafu / canada.md
Last active November 16, 2018 13:21
Imigrando e vivendo no Canadá - um guia nada imparcial
@todgru
todgru / aws-ec2-redis-cli.md
Created June 12, 2014 23:01
AWS redis-cli on EC2
@acolyer
acolyer / service-checklist.md
Last active July 10, 2024 05:13
Internet Scale Services Checklist

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
@pierophp
pierophp / get_pid_by_port.sh
Last active December 11, 2017 15:14
Pegando pid pela porta do MySQL
ps aux | grep $(sudo lsof -i tcp -nP | grep "15245 (" | head -n 1 | awk '{print $2}')
@pierophp
pierophp / get_process_order_by_cpu.sh
Last active September 28, 2016 14:03
get_process_order_by_cpu.sh
ps aux --sort pcpu
@bishboria
bishboria / springer-free-maths-books.md
Last active October 3, 2024 09:17
Springer made a bunch of books available for free, these were the direct links
@nicholasess
nicholasess / README
Last active November 23, 2022 00:30
Desafio Angular
Criar uma aplicação com Angular 1.x, que se comunique com a API do github.
A estrutura tem que se basear no modelo MVC, no uso de rotas para acessar subniveis, exemplo:
Usuario
-> repositorios
-> perfil do repositório
-> organizações
Requisitos:
@pierophp
pierophp / clean_local_branchs_git.sh
Created April 18, 2016 16:40
Apaga os branchs locais que já esão no master
git branch --merged master | grep -v "\* master" | xargs -n 1 git branch -d
@pierophp
pierophp / get_total_cpu.sh
Last active September 28, 2016 14:02
Get Total CPU Utilization
top -bn2 | grep "Cpu(s)" | sed -n 2p | sed -e 's/%us//g' | sed -e 's/%sy//g' | awk '{print ($2 + $3)}'