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
find -L . -name *.html.haml -exec bash -c 'herbalizer {} | tee `echo {} | sed s/haml$/erb/`' \; |
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 | |
if [ ! -d $HOME/.config/chromium/gmail ]; then | |
mkdir -p $HOME/.config/chromium/gmail | |
fi | |
chromium-browser --user-data-dir=$HOME/.config/chromium/gmail gmail.com |
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
# router was automatically added, remove it and add it again at the end | |
for index, middleware of app.stack | |
if middleware.handle == app.router | |
routerAt = index | |
break | |
if routerAt | |
app.stack.splice(routerAt, 1) | |
app.use(app.router) |