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/env sh | |
USER=ubuntu | |
SERVER=example.com | |
DESTINATION=/var/www/ics-feed | |
git archive -o latest.zip HEAD | |
scp latest.zip $USER@$SERVER:$DESTINATION | |
ssh $USER@$SERVER " \ | |
mkdir -vp $DESTINATION && cd $DESTINATION \ |
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
//has to return object | |
module.exports = { | |
key: 'Hello' | |
} |
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
touch ~/aspell.personal.txt | |
vi ~/aspell.personal.txt # add words per line | |
aspell --lang=en create master /tmp/en-personal.pws < ~/aspell.personal.txt | |
cp /tmp/en-personal.pws /usr/lib/aspell | |
vim /usr/lib/aspell/en_US.multi # add the line: 'add en-personal.pws' |
NewerOlder