Skip to content

Instantly share code, notes, and snippets.

@Wolfium
Wolfium / HeidiDecode.js
Last active April 9, 2019 15:47 — forked from jpatters/HeidiDecode.js
Decodes a password from HeidiSQL. HeidiSQL passwords can be found in the registry. Use File -> Export Settings to dump all settings. Great for if you forget a password.
function heidiDecode(hex) {
var str = '';
var shift = parseInt(hex.substr(-1));
hex = hex.substr(0, hex.length - 1);
for (var i = 0; i < hex.length; i += 2)
str += String.fromCharCode(parseInt(hex.substr(i, 2), 16) - shift);
return str;
}
console.log(heidiDecode('71786675786E782D484075393'));
@Wolfium
Wolfium / ecs-run
Created April 6, 2019 05:32 — forked from vcastellm/ecs-run
Run task and wait for result in AWS ECS
#!/usr/bin/env bash
set -e
function usage() {
set -e
cat <<EOM
##### ecs-run #####
Simple script for running tasks on Amazon Elastic Container Service
One of the following is required:
Required arguments:
@Wolfium
Wolfium / rxjs_operators_by_example.md
Created October 18, 2018 12:59 — forked from btroncone/rxjs_operators_by_example.md
RxJS 5 Operators By Example