-
-
Save Cohen-Carlisle/93f2d8e2db095e5fcc3499c8a646cbfd to your computer and use it in GitHub Desktop.
rort
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
#!/bin/bash | |
xdg-open &>/dev/null https://www.railstutorial.org/book/filling_in_the_layout#cha-filling_in_the_layout & |
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
#!/bin/bash | |
DIR=`dirname "${BASH_SOURCE[0]}"` | |
STR=`echo ${1//\//\\\/}` | |
sed -i "s/http[^ ]*/$STR/" $DIR/rort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment