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 | |
SESSIONNAME=$(hostname -f) | |
cd /vagrant | |
echo "Moved to $(pwd)" | |
tmux has-session -t $SESSIONNAME 2>/dev/null | |
if [ "$?" -eq 1 ] ; then | |
echo "No Session found. Creating and configuring." | |
# new session with name $SESSIONNAME and window 0 named "base" | |
tmux new-session -s $SESSIONNAME -n base -d | |
tmux split-window -t $SESSIONNAME:0 -v |
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
# Before running this script, go to Quiver and export all notebooks into json/quiver format | |
# Place them in a folder called `exports` in the same directory as this script. | |
# In terminal, run `ruby quiver-to-evernote.rb` | |
# Check for presence of required gems. | |
# If not present, install the gems | |
["rubygems", "sanitize"].each do |gem| | |
begin | |
gem "#{gem}" | |
rescue Gem::LoadError | |
`gem install #{gem}` |
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
chalice new-project s3copy | |
cd s3copy |