Skip to content

Instantly share code, notes, and snippets.


Andre Cardoso andrebian

View GitHub Profile
mr4torr /
Last active December 8, 2022 18:38
NET não libera a porta 22 e impede de acessar por ssh github/bitbucket

Usar ssh do github e do bitbucket com wifi do netcombo /netvirtua

A NET só libera o uso de qualquer porta, como a porta 22 de ssh, para pessoa jurídica em seus novos planos (desde 2016).

Para conseguir usar o github ou bitbucket por ssh com plano de internet da NET para pessoa física, é necessário:

Criar o arquivo ~/.ssh/config e adicionar:

lelandbatey /
Last active March 20, 2023 12:27
Whiteboard Picture Cleaner - Shell one-liner/script to clean up and beautify photos of whiteboards!


This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.

The script is here:

convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"


ihumanable / Excel.php
Last active August 2, 2022 20:03
Simple Excel Writer in PHP
View Excel.php
* Simple excel writer class with no external dependencies, drop it in and have fun
* @author Matt Nowack
* @link
* @license Unlicensed
* @version 1.0
class Excel {