Skip to content

Instantly share code, notes, and snippets.

View jcormier's full-sized avatar

jcormier

  • Critical Link
  • Syracuse, NY
View GitHub Profile
@jcormier
jcormier / dtdiff
Last active September 16, 2024 15:50
Compare two uncompiled device tree files and output a unified diff ignoring phandle changes
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# This script uses the bash <(...) extension.
# If you want to change this to work with a generic /bin/sh, make sure
# you fix that.
# Change to script dir
cd $(dirname $0)
@jcormier
jcormier / load-old-db.sh
Created September 26, 2017 13:15
sameersbn/docker-redmine mysql load old database
#!/bin/bash
# Exit on error
set -e
# Get script dir
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
cd "$DIR/../"