Skip to content

Instantly share code, notes, and snippets.

View requeijaum's full-sized avatar

Rafael Requião requeijaum

  • Salvador, BA - Brazil
View GitHub Profile
@requeijaum
requeijaum / HTTrack.md
Created June 28, 2018 14:32 — forked from tmslnz/HTTrack.md
Nice command line for HTTrack

Commands

httrack example.com -O ./example.com -N100 −%i0 -I0 --max-rate 0 --disable-security-limits --near -v
httrack example.com -O ./example.com-3 -N100 -I0 -N "%p/%n%[month].%t" --max-rate 0 --disable-security-limits --near  -v
@requeijaum
requeijaum / fancoil-memoryprof_rev14.ino
Last active July 26, 2018 00:06
Refatorando código antes de enviar o commit...
//código que representa a parte de comunicação... incluir ele no repo
//teste pro marcelo
#include <MemoryFree.h>
#include <SoftwareSerial.h> // import the serial library
#include <ArduinoJson.h>
#define JSONOBJECT_JSON_SIZE (JSON_OBJECT_SIZE(13))
#define JSON_OUT_SIZE 128 //numero de chars do JSON
#define DELAY_MS 500 //mudei - era 250
@requeijaum
requeijaum / notes.txt
Created July 26, 2018 02:53
Rip a PDF file from DocSlide without waiting for the download counter to reach 0 seconds
Got PDF parser from https://blog.didierstevens.com/programs/pdf-tools/ - use Python 3.5.
I can't view the PDF... but it has some pictures and weights some megabytes.
Stream... encoding... compression... obfuscation...
Updating findings here and in my twitter (twitter.com/requeijaum).
@requeijaum
requeijaum / MySQL.md
Created July 28, 2018 14:11 — forked from nrollr/MySQL.md
Install MySQL on El Capitan using Homebrew

Install MySQL on OS X El Capitan

Normally the installation of MySQL can be achieved with a single command, which executes a script provided by MacMiniVault : bash <(curl -Ls http://git.io/eUx7rg)

However, at the time of writing the script is not compatible with OS X El Capitan (10.11)

Install MySQL using Homebrew

An alternative to the aforementioned installation script is installing MySQL using Homebrew. This gist assumes you already have Homebrew installed, if not first read the article "Homebrew and El Capitan"

Make sure Homebrew has the latest formulae, so run brew update first

@requeijaum
requeijaum / to-do-derivative_calculator-bot.md
Last active August 17, 2018 13:58
Lista de coisas para fazer para o Robô da Derivative Calculator, feito em Selenium

Instalação

#instalar selenium
$ pip install selenium

#instalar geckodriver
#no debian/ubuntu
sudo apt-get install geckodriver

#no Homebrew do macOS
@requeijaum
requeijaum / rafael_dell_w10.ini
Last active August 22, 2018 09:38
INI file for (re)flashing a Dell MentorMedia 8GB USB Disk - using it as a normal USB Drive, besides it's normal state as a Windows 10 installer. Put the init next to (in the same folder of) "MPALL_F1_7F00_DL07_v503_0A.exe". Check http://www.techunboxed.com/2016/09/how-to-disable-write-protection-on-dell.html for more info.
[PenDriveMP]
IC Type=PS2251-07
[Parameter Mark]
Parameter Type=F1_MP_21
[Customize Info]
USB VID=0x0930
USB PID=0x1400
Inquiry Version=PMAP
[Configuration]
Hidden Size KB=1
@requeijaum
requeijaum / teste 21ago2018.md
Created August 31, 2018 01:04
Dor de cabeça ao converter jogos de PSP (iso, pbp, pkg) para PS3 (pkg com HAN)

PSP2PS3

acho que caguei o MINIS2.TXT desses 2

  • Disgaea - Remaster sem fixes - não rodou
  • Final Fantasy III - Remaster sem fixes - não rodou

MINIS2.TXT apontam para "Remaster Defaults (with ADHOC).txt"

@requeijaum
requeijaum / memoria_pc_do_NERA-UFBA.md
Last active September 3, 2018 18:11
Serviço pra Ricardo Requião.

TL;DR

  • a RAM é boa, a CPU é lenta - porém é só 2GB. Precisa de 4GB pra ficar suave.

troque a CPU!!!1111 meta um par de RAM mais rapida e maior --> 2 x 2GB DDR3 1600MHz com latencias custom pra OC

ou

troque a RAM pra uma de maior capacidade...

@requeijaum
requeijaum / enc_dec-wyd2bot-08set2018.cpp
Last active September 8, 2018 04:36
Análise do algoritmo de encriptação e decriptação de um pacote de rede (Winsock) para o MMORPG With Your Destiny (2003).
//WYD2BOT, by Shepher (Kevin Kouketsu)
//https://github.com/kevinkouketsu/WYD2Bot/blob/master/WYD2Bot/Socket.cpp
//Análise do algoritmo de encriptação e decriptação de um pacote de rede (Winsock)
BOOL Server::AddMessage(char *pMsg, int Size)
{
char temp[256];
@requeijaum
requeijaum / [email protected]
Last active September 15, 2018 15:49
SFD 2018 @ IFBA Campus Salvador - 15set2018