- Install Android File Transfer
- Install DJI Assistant 2 (Consumer Drones Series)
- Unplug RC2
- Power down RC2
- Log out user on Mac
- Log in user on Mac
- Open DJI Assistant 2 (Consumer Drones Series)
- Allow incoming connections when popup shown
Good file:
ffprobe -i DJI_20250602113903_0003_D.MP4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'DJI_20250602113903_0003_D.MP4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
creation_time : 2025-06-02T01:39:03.000000Z
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/mfbonfigli/gocesiumtiler | |
cd gocesiumtiler | |
git checkout v2 | |
HOMEBREW_GCC=/opt/homebrew/bin/gcc-14 | |
export CC=$HOMEBREW_GCC | |
export HOMEBREW_CC=$HOMEBREW_GCC | |
go build -o gocesiumtiler ./cmd/main.go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Telstra call forwarding unconditional: | |
Dial: | |
**21*[phone number]*10# | |
Press call | |
Turn off call forwarding unconditional: | |
Dial: | |
##21# | |
Press call |
If you're having issues with FCP not consolidating a library, you can recursively search the library for files that are aliases, and are linking to certain directory or volume.
This will find anything in the home directory, ~/Desktop, ~/Documents, etc
cd "~/Movies/My Library.fcpbundle"
find . -type l -ls | grep /Users/darren/
This will find anything linked that's on the volume "14TB"
cd "~/Movies/My Library.fcpbundle"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This will switch to Fusion 360 if it is running, or open it if it is not running. | |
# | |
# Fusion360 on Mac opens from the path "~/Applications/Autodesk Fusion 360.app" | |
# but it's essentially an alias and it runs as | |
# "~/Library/Application Support/Autodesk/webdeploy/production/{hash}/Autodesk Fusion 360.app" | |
# The hash, and therefore the path, changes with each update, so you can get | |
# double instances if it updates while running and you try to switch to it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install postgresql | |
brew services stop postgresql | |
pg_upgrade --old-bindir=/opt/homebrew/opt/postgresql@12/bin \ | |
--new-bindir=/opt/homebrew/opt/postgresql@14/bin \ | |
--old-datadir=/opt/homebrew/var/postgresql@12 \ | |
--new-datadir=/opt/homebrew/var/postgres \ | |
--check | |
# If you're getting non-empty database errors for the new database, rename the directory to a backup and init a new db: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# organize-h20t.rb [files] | |
# https://gist.github.com/daz/9c214125341ce7a3dc3909a1126297c8 | |
# Organize H20T images, videos, and captions into folders by camera types, i.e. S, T, W, Z | |
# Creates a folder for each camera type, and moves the files into their respective folder | |
# Usage: | |
# cd DJI_202208071450_002 | |
# ./organize-h20t.rb DJI_20220807145439_0001_S.MP4 DJI_20220807145439_0001_T.MP4 DJI_20220807145439_0001_W.MP4 DJI_20220807145439_0001_Z.MP4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Max settings, working Jan 2025 | |
MAX_WIDTH=16384 | |
MAX_FILESIZE_KB=16000 | |
# Display help if --help or no arguments are provided | |
if [ "$#" -eq 0 ] || [ "$1" = "--help" ]; then | |
echo "Usage: $0 equirectangular_360_image.jpg" | |
echo "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
// Example usage: | |
// | |
// ./is-inside.js base/path/to/images -21,149 -21.1,152 -24,152.2 -24.1,148.9 | |
import glob from "glob"; | |
import * as fs from "fs"; | |
import * as path from "path"; | |
import * as turf from "@turf/turf"; |
NewerOlder