Skip to content

Instantly share code, notes, and snippets.

View DustinWehr's full-sized avatar

Dustin Wehr DustinWehr

  • Toronto, Ontario, Canada
View GitHub Profile
@benhutchison
benhutchison / initScalajsCrossProject.sh
Last active August 29, 2015 14:07
Script to init a new Scala JS/JVM cross-built project with an Intellij friendly layout. After running, just Open the directory in Intellij and Import. Uses https://github.com/lihaoyi/utest#jscrossbuild
#!/bin/bash
[ $# -eq 0 ] && { echo "Usage: $0 <projectName>"; exit 1; }
PROJECT=$1
echo "Creating project in ./$PROJECT"
mkdir -p $PROJECT/{js,jvm,project}
mkdir -p $PROJECT/shared/src/{main,test}/{scala,resources}
cd $PROJECT
@activescott
activescott / export evernote notebooks.scpt
Created July 1, 2016 01:02
Export All Evernote Notebooks
exportEvernote()
on exportEvernote()
set outputDir to (do shell script "echo ~/Downloads/")
set theDate to current date
set timeStamp to (do shell script "date +'%y-%m-%d-%T'")
tell application "Evernote"