This file contains 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
# tested on macOS 10.12.4 | |
# based on https://elixirforum.com/t/how-to-change-a-phoenix-project-name-smoothly/1217/6 | |
# replace values as necessary | |
current_otp="hello_phoenix" | |
current_name="HelloPhoenix" | |
new_otp="" | |
new_name="" | |
git grep -l $current_otp | xargs sed -i '' -e 's/'$current_otp'/'$new_otp'/g' |
This file contains 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
defmodule TaggingImage do | |
require Axon | |
require Logger | |
alias Tagging.Preprocessing | |
alias Tagging.Postprocessing | |
alias Evision, as: OpenCV | |
EXLA.set_preferred_defn_options([:tpu, :cuda, :rocm, :host]) |
This file contains 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
Phoenix esbuild with Tailwind+Fontawesome |