-
Find the Discord channel in which you would like to send commits and other updates
-
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
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
| <!-- Wherever your head tag is located, add the new partial --> | |
| <head> | |
| {{ partial "google-fonts" . }} | |
| </head> |
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 bash | |
| set -e | |
| cweb_version=0.6.16 | |
| cweb=https://github.com/koute/cargo-web/releases/download/$cweb_version/cargo-web-x86_64-unknown-linux-gnu.gz | |
| curl -Lo cargo-web.gz $cweb | |
| gunzip cargo-web.gz | |
| chmod u+x cargo-web |
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
| # 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' |

