Skip to content

Instantly share code, notes, and snippets.

View maiconschmitz's full-sized avatar
:octocat:

Maicon Schmitz maiconschmitz

:octocat:
View GitHub Profile
@origamiofficial
origamiofficial / Hcaptcha Solver with Browser Trainer(Automatically solves Hcaptcha in browser).user.js
Last active May 1, 2024 06:20
Hcaptcha Solver with Browser Trainer(Automatically solves Hcaptcha in browser) by Md ubeadulla | Note: This script is solely intended for the use of educational purposes only and not to abuse any website. This script uses audio in order to solve the captcha. Use it wisely and do not abuse any website. Click "Raw" to install it on Tampermonkey
// ==UserScript==
// @name Hcaptcha Solver with Browser Trainer(Automatically solves Hcaptcha in browser)
// @namespace Hcaptcha Solver
// @version 10.0
// @description Hcaptcha Solver in Browser | Automatically solves Hcaptcha in browser
// @author Md ubeadulla
// @match https://*.hcaptcha.com/*hcaptcha-challenge*
// @match https://*.hcaptcha.com/*checkbox*
// @grant GM_xmlhttpRequest
// @grant GM_setValue
@origamiofficial
origamiofficial / Recaptcha Solver (Automatically solves Recaptcha in browser).user.js
Created March 25, 2022 04:42
Recaptcha Solver in Browser | Automatically solves Recaptcha in browser by engageub | Note: This script is solely intended for the use of educational purposes only and not to abuse any website. This script uses audio in order to solve the captcha. Use it wisely and do not abuse any website. Click "Raw" to install it on Tampermonkey
// ==UserScript==
// @name Recaptcha Solver (Automatically solves Recaptcha in browser)
// @namespace Recaptcha Solver
// @version 2.1
// @description Recaptcha Solver in Browser | Automatically solves Recaptcha in browser
// @author engageub
// @match *://*/recaptcha/*
// @connect engageub.pythonanywhere.com
// @connect engageub1.pythonanywhere.com
// @grant GM_xmlhttpRequest
from urllib.request import urlopen
from urllib.parse import urlparse
from bs4 import BeautifulSoup
import re
import datetime
import random
pages = set()
random.seed(datetime.datetime.now())
@andresmachado
andresmachado / import_banks.py
Created April 17, 2017 02:23
Import all active banks in Brazil
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Apr 5 15:50:49 2017
@author: andre
"""
import json
from bs4 import BeautifulSoup
import sys
def count_words(text_file):
file = open(textfile,'r+')
word_list = {}
for word in file.read().split():
if word not in word_list:
word_list[word] = 1
else:
@gbaman
gbaman / HowToOTG.md
Last active July 19, 2024 11:47
Simple guide for setting up OTG modes on the Raspberry Pi Zero

Raspberry Pi Zero OTG Mode

Simple guide for setting up OTG modes on the Raspberry Pi Zero - By Andrew Mulholland (gbaman).

The Raspberry Pi Zero (and model A and A+) support USB On The Go, given the processor is connected directly to the USB port, unlike on the B, B+ or Pi 2 B, which goes via a USB hub.
Because of this, if setup to, the Pi can act as a USB slave instead, providing virtual serial (a terminal), virtual ethernet, virtual mass storage device (pendrive) or even other virtual devices like HID, MIDI, or act as a virtual webcam!
It is important to note that, although the model A and A+ can support being a USB slave, they are missing the ID pin (is tied to ground internally) so are unable to dynamically switch between USB master/slave mode. As such, they default to USB master mode. There is no easy way to change this right now.
It is also important to note, that a USB to UART serial adapter is not needed for any of these guides, as may be documented elsewhere across the int

Salva isso como mp3
http://www.receita.fazenda.gov.br/pessoajuridica/cnpj/cnpjreva/captcha/gerarSom.asp
Converte pra flac
http://stackoverflow.com/questions/18266785/sox-for-converting-flac-file-to-320-bit-mp3
sox input.mp3 output.flac
Envia para google speech e recebe um json
require 'json'
require 'net/http'
@benkulbertis
benkulbertis / cloudflare-update-record.sh
Last active July 24, 2024 10:20
Cloudflare API v4 Dynamic DNS Update in Bash
#!/bin/bash
# CHANGE THESE
auth_email="user@example.com"
auth_key="c2547eb745079dac9320b638f5e225cf483cc5cfdda41" # found in cloudflare account settings
zone_name="example.com"
record_name="www.example.com"
# MAYBE CHANGE THESE
ip=$(curl -s http://ipv4.icanhazip.com)
@alanhoff
alanhoff / email.js
Last active May 17, 2021 22:50
Enviando e-mails usando Node.js e o nodemailer
// Enviando e-mails usando o Node.js e o famoso nodemailer
var nodemailer = require('nodemailer');
// Vamos criar a conta que irá mandar os e-mails
var conta = nodemailer.createTransport({
service: 'Gmail', // Existem outros services, você pode procurar
// na documentação do nodemailer como utilizar
// os outros serviços
auth: {
user: 'seuemail@gmail.com', // Seu usuário no Gmail
@wangyingang
wangyingang / get_gravatar.md
Last active May 10, 2017 16:41
Get gravatar image using command line(Mac OS X only)

#Get Gravatar image using command line(Mac OS X only)

Gravatar image download url

http://www.gravatar.com/avatar/HASH

Get default image

curl -o yourname.png http://www.gravatar.com/avatar/$(md5 -q -s youremail@example.com)