Skip to content

Instantly share code, notes, and snippets.

View ghills's full-sized avatar

Gavin Hills ghills

  • Canby, OR
View GitHub Profile
@ghills
ghills / lp-dump.html
Last active January 6, 2023 22:26
Single page utility to decode hex-encoded attributes in the LastPass vault XML dump
<html>
<head>
<title>Decode LastPass Dump XML</title>
</head>
<body>
<h4>Instructions</h4>
<ol>
<li>Run the JS code snippet below in the developer console for a LastPass extension vault tab.</li>
<li>Copy the results to the clipboard.</li>
<li>Paste the contents into the Encoded XML text area below.</li>
@ghills
ghills / .gitconfig
Created April 13, 2017 17:36
gitconfig under WSL
[merge]
tool = bc3
[diff]
guitool = bc3
tool = bc3
[difftool "bc3"]
path = /mnt/c/Program Files/Beyond Compare 4/BComp.exe
[mergetool "bc3"]
path = /mnt/c/Program Files/Beyond Compare 4/BComp.exe
@ghills
ghills / GameClock.cs
Created May 12, 2012 02:17
GameClock first pass
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Timers;
namespace EntropyServer.Engine
{
public class GameClock
{
#include <stdio.h>
void main() {
printf("Hello, world!\n");
}