Skip to content

Instantly share code, notes, and snippets.

Felipe Machado felipou

  • Brasil
Block or report user

Report or block felipou

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
felipou /
Created Oct 3, 2019
DBeaver password decryption script - for newer versions of DBeaver
# requires pycrypto lib (pip install pycrypto)
import sys
import base64
import os
import json
from Crypto.Cipher import AES
felipou /
Last active Nov 19, 2019
DBeaver password decryption script
import sys
import base64
PASSWORD_ENCRYPTION_KEY = b"sdf@!#$verf^wv%6Fwe%$$#FFGwfsdefwfe135s$^H)dg"
felipou / datetime_format_string.cpp
Created Apr 10, 2018
C/C++ Datetime Format String Performance Tests
View datetime_format_string.cpp
Just compile with g++ datetime_format_string.cpp -std=c++11
Tested on GCC 5.4.0 on Ubuntu 16.04
#include <iostream>
#include <chrono>
#include <sys/time.h>
#include <stdio.h>
felipou /
Created Feb 14, 2016
Retry command
# Created by Felipe Machado - 2016/02/14
# A retry command for bash
# Retries the given command up to MAX_RETRIES, with an interval of SLEEP_TIME
# between each retry. Just put it on your bash_profile and be happy :)
# Usage:
# Codes used as reference:
felipou / gist:6423969
Created Sep 3, 2013
Jump utility auto-completion for Mac OS X
View gist:6423969
# jeroen janssens' jump utility
# tab completion for bash on Mac OS X
# I just modified the find command to pipe to the 'basename' command,
# because find on BSD doesn't support the 'printf' option
# I didn't test it on Linux, but it should probably work
_completemarks() {
felipou / bloggergist.html
Created Oct 2, 2012
Gist on Blogger dynamic views
View bloggergist.html
<!-- You should replace GistID with the id of the gist you want! -->
<div class="gistLoad" data-id="GistID" id="gist-GistID">Loading ....</div>
<!-- This script does the magic! -->
<script src="" type="text/javascript"></script>
felipou / humblebundle_checksums.txt
Created Sep 27, 2012
Humble Bundle 6 Files checksums
View humblebundle_checksums.txt
5e247a6d223a41922b89cb7c0eb21dc6 BIT.TRIPRUNNER_WebSetup.exe
3e7d1b38e4c0c758b18c5ae545703eb4 BIT.TRIPRUNNER.dmg
377db5f7217dd968c4b065f4f6bf0148 bit.trip.runner-linux-1.0-4_i386-1348702546.deb
cfd56600fee27ad127bdd0289afd65a0 bit.trip.runner-linux-1.0-4_amd64-1348702546.deb
900019b5994e1b8b2e08fcf07d9c1c08 bit.trip.runner-linux-1.0-4_i386-1348702546.tar.gz
026712ac29972467f0b167a3eeaa3933 bit.trip.runner_1.0-4_amd64-1348702546.tar.gz
You can’t perform that action at this time.