Skip to content

Instantly share code, notes, and snippets.

@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>
@guillaumemeyer
guillaumemeyer / export-team-membership-roster.js
Last active December 29, 2025 11:43
Exports the owners and members of a Microsoft Teams team as a CSV file
// ****************************************************************************************************************************
// Abstract:
// This script is just a quick hack to export the owners and members of a team as a CSV file without administrator permissions.
//
// Usage:
// 1. Open your team
// 2. Select "Manage team" from its menu
// 3. Select the "Members" tab
// 4. Expand the "Owners" and "Members and guests" sections
// 5. Make sure to scroll down to the end of the owners and members lists to include all of them in your export (As the members are loaded on demand)
@olesenm
olesenm / helium-desktop.sh
Last active July 9, 2025 13:40
helium shell script with normal system locations for 'adb'
#!/bin/sh
# start helium server on android device - see http://www.clockworkmod.com/carbon for more details
# set -x
# try normal system locations before the local binary
unset adb
for i in /usr/bin /usr/local/bin "$(/usr/bin/dirname $0)"
do
i="$i/adb"
if [ -f "$i" -a -x "$i" ]