Skip to content

Instantly share code, notes, and snippets.

View manoger's full-sized avatar
🏠
Working from home

Germano Brigido do Nascimento manoger

🏠
Working from home
View GitHub Profile
@manoger
manoger / verifica_conexoes.sh
Created September 9, 2020 18:54
Exemplo de shell script para verificar a conexão com multiplos IPs e Urls. Ótimo para troubleshooting de travas de firewall. (v1)
#!/bin/bash
#COLORS
RED='\033[0;31m'
LRED='\033[1;31m'
GREEN='\033[0;32m'
LGREEN='\033[1;32m'
ORANGE='\033[0;33m'
YELLOW='\033[1;33m'
LBLUE='\033[1;34m'
@manoger
manoger / Get_Emoji.js
Created September 5, 2020 19:30
A Min browser's extension that's enable getting emojis with a right click. (very userful when the site doesn't provide a emoji option)
// ==UserScript==
// @name Get Emoji
// @match *
// @run-at context-menu
// ==/UserScript==
if(!modalId) {
var modalId = 'emoji'
}
Run();
@Lukas238
Lukas238 / .md
Last active July 6, 2024 20:37
Bulk backup and clone git repositories from a list

Bulk backup and clone git repositories from a list

Get the git repos list

Option A: Generate a list of repos already cloned on a machine

To do this we will use the linux command grep.

Please jump to How to use linux command under Windows? for more information.

@dedunumax
dedunumax / .gitignore Java
Last active September 16, 2024 20:49
A complete .gitignore file for Java.
##############################
## Java
##############################
.mtj.tmp/
*.class
*.jar
*.war
*.ear
*.nar
hs_err_pid*
@threeifbywhiskey
threeifbywhiskey / braille.c
Created August 1, 2014 20:01
This is an interpreter for the Braille esolang: http://esolangs.org/wiki/Braille
#include <stdio.h>
#include <stdlib.h>
unsigned char convert(unsigned char c)
{
return (c & 0x40) << 1
| (c & 0x07) << 4
| (c & 0x80) >> 4
| (c & 0x38) >> 3;
}