Skip to content

Instantly share code, notes, and snippets.

View ratozumbi's full-sized avatar

Bruno Willian Andrade ratozumbi

View GitHub Profile
@ratozumbi
ratozumbi / hash_compare_files.py
Created May 28, 2020 17:55
python script that hashes files recursively then compare each one to find duplicates
import hashlib
import os
def getHashes(path, fileHashes):
print("executing in "+ path)
for filename in os.listdir(path):
fullpath = os.path.join(path,filename)
if os.path.isfile(fullpath):
@ratozumbi
ratozumbi / PlayOnEditor.cs
Created May 10, 2019 18:53
Preview Video on Unity Editor
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.Video;
//Attach this script to a GameObject
[ExecuteInEditMode]
@ratozumbi
ratozumbi / main.cpp
Created February 1, 2016 02:58 — forked from skhaz/main.cpp
Steganography
#include <QtDebug>
#include <QImage>
#include <QString>
#include <QBitArray>
#include <QByteArray>
#include <QFile>
#include <QCommandLineParser>
namespace {
enum { headerSize = 32 };