Skip to content

Instantly share code, notes, and snippets.

@mrmcwake
mrmcwake / heicToJpg.sh
Last active August 25, 2022 05:51 — forked from bittercoder/convert.sh
Recursively converts .heic files to .jpg on linux for a specified root directory (coming from an iOS11 device over USB)
#!/bin/bash
# Recursively converts all HEIC files to JPG for the specified directory. Skips any files that have already
# been converted. Requires tifig, download latest release from github:
# https://github.com/monostream/tifig/releases and install at /usr/bin/tifig
# (or add the install location you choose to your $PATH)
#
# usage: ./heicToJpg.sh [RootDirectory]
#
rootDir=$1
if [ -z "$rootDir" ]
@mrmcwake
mrmcwake / Modal jump fix
Created September 19, 2013 22:39
Fix for modal jumping
/* Fix for page jumping on modal open */
body.modal-open {
margin-right: 10px;
main.home {
margin-left: 5px;
& ~ footer {
margin-left: 5px;
}
}
>header {