Skip to content

Instantly share code, notes, and snippets.

View mortax's full-sized avatar

john r. durand mortax

View GitHub Profile
@gljeremy
gljeremy / disconnect.rb
Created September 21, 2011 14:03 — forked from tmcw/disconnect.rb
bulk-export run data from Garmin Connect
#!/usr/bin/env ruby
## disconnect
# ./disconnect.rb -u yourusername [-o /your/path] [-p yourhttpproxyserver]
#
# This is a command-line utility for the bulk-downloading of run data from
# the connect.garmin.com web application, which has lackluster export
# capabilities.
#
@jpsim
jpsim / SwiftClassParsing.playground
Last active December 8, 2021 22:23
Swift and Objective-C Class Parsing
////////////////////////////////////////////////
//
// Swift and Objective-C Class Parsing
//
////////////////////////////////////////////////
import Foundation
// Class parsing
@hidrees
hidrees / ghost-link
Last active April 2, 2022 15:07
Ghost: Open links in new tab
@mrexodia
mrexodia / Encrypted iTunes Library.grammar
Created December 16, 2014 20:27
Encrypted iTunes Library File Format
<?xml version="1.0" encoding="UTF-8"?>
<ufwb version="1.9">
<grammar name="Encrypted iTunes Library" start="id:4" author="Mr. eXoDia" email="mr.exodia.tpodt@gmail.com" fileextension="itl" uti="com.apple.itunes.db">
<description>Grammar for encrypted iTunes Library files.</description>
<structure name="Defaults" id="5" encoding="ISO_8859-1:1987" endian="little" signed="no"/>
<structure name="iTunes Library" id="4" extends="id:5">
<structref name="hdfm" id="8" structure="id:7"/>
<binary name="encryptedData" id="9" length="remaining">
<description>This chunk of data is encrypted using AES/ECB/NoPadding with the key &quot;BHUILuilfghuila3&quot;. After decryption, you have to inflate the data using ZLIB.
@vyach-vasiliev
vyach-vasiliev / ReadMe.md
Last active August 28, 2022 18:59
Site icon Auto-detector for 1Password entries

Site Icon Auto-detector

Preview

Why?

The 1Password service very often puts site wrong/empty icons in password item pages.

How to use it?

Just copy this line below and paste it in the address of your new bookmark (CTRL+D) in your browser and save it: javascript:open(`https://s2.googleusercontent.com/s2/favicons?sz=64&amp;domain=${document.querySelector('.value.URL input').value}`)