Skip to content

Instantly share code, notes, and snippets.

View jslattery26's full-sized avatar

Jack Slattery jslattery26

View GitHub Profile
@jslattery26
jslattery26 / flavors-apple.md
Created June 9, 2023 22:57
flutter ios/macos flavors for multiple-firebase projects

make flavors inside Project > Runner > Info > Configurations

ios

Debug-local
Debug-dev
Debug-prod
...
@jslattery26
jslattery26 / gist:13984dc5f1adc826163fab2193ab1456
Last active June 9, 2023 23:03
Mount mac time machine thats formatted as ext4

need to make file ext4fuse.rb

  class MacFuseRequirement < Requirement
    fatal true

    satisfy(build_env: false) { self.class.binary_mac_fuse_installed? }

    def self.binary_mac_fuse_installed?
      File.exist?("/usr/local/include/fuse/fuse.h") &&
@jslattery26
jslattery26 / gist:ffa9d7a64f800076229e492e9ecffcf8
Created October 3, 2022 01:26
install new python environment with dumb mac things included (openssl / tk?)
env \
PATH="$(brew --prefix tcl-tk)/bin:$PATH" \
LDFLAGS="-L$(brew --prefix tcl-tk)/lib" \
CPPFLAGS="-I$(brew --prefix tcl-tk)/include" \
PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" \
CFLAGS="-I$(brew --prefix tcl-tk)/include" \
PYTHON_CONFIGURE_OPTS="--with-tcltk-includes='-I$(brew --prefix tcl-tk)/include' --with-tcltk-libs='-L$(brew --prefix tcl-tk)/lib -ltcl8.6 -ltk8.6'" \
pyenv install 3.7.9