Skip to content

Instantly share code, notes, and snippets.

@cwest-consultch
cwest-consultch / Export Object Descriptions.md
Last active January 4, 2023 04:17
Salesforce Bookmarklet - Export Object Descriptions

Salesforce Object Describer

This GitHub Gist contains the code for the YourJS Bookmarklet that can be used from within the Salesforce Developer Console to easily describe any Salesforce object.

@westc
westc / typeOf.js
Last active April 7, 2021 23:31
An extended version of the typeOf() function which will either return the name of the class, "null", "undefined" or a boolean indicating if one of the passed type names matches the type of the value.
function typeOf(value) {
for (
var test,
argv = arguments,
argc = argv.length,
i = argc,
typeName = value == undefined
? value === undefined
? 'undefined'
: 'null'
@gerry
gerry / decrypt_dbvis.py
Last active April 21, 2024 15:30
A quick hack to extract and decrypt credentials from DbVisualizer config files.
#!/usr/bin/env python
# decrypt_dbvis.py ~ gerry@twitter.com
# DbVisualizer uses PBEWithMD5AndDES with a static key to store passwords.
# This is a quick hack to extract and decrypt credentials from DbVisualizer config files.
# Tested against DbVisualizer Free 9.0.9 and 9.1.6
"""
[2014-03-25 02:05:30][not-the-sea workspace]$ security/p/gerry/misc/decrypt_dbvis.py
[+] DbVisualizer Password Extractor and Decryptor (@gerryeisenhaur)
[+] Additional Usage Options:
[+] security/p/gerry/misc/decrypt_dbvis.py <config filename>