- Web Server: Play (framework) or http4s (library)
- Actors: akka
- Asynchronous Programming: monix (for tasks, reactors, observables, scheduler etc)
- Authentication: Silhouette
- Authorization: Deadbolt
- Command-line option parsing: case-app
- CSV Parsing: kantan.csv
- DB: doobie (for PostgreSQL)
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
def myDependencyVersion(scalaVersion: String) = scalaVersion match { | |
case "2.11.11" => "2.0" | |
case _ => "1.0" | |
} | |
Project(...) | |
.settings( | |
libraryDependencies ++= Seq( | |
..., | |
"my" %% "dependency" % myDependency(scalaVersion.value) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
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
hdiutil | |
Creating Internet-enabled Disk images | |
hdiutil internet-enable -yes /Path/to/image/myapp.dmg | |
burn an iso |
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
Properties { | |
$Build_dir = Split-Path $psake.build_script_file | |
$Packages_dir = Join-Path $build_dir 'Packages' | |
$MsDeploy_dir = Join-Path $env:ProgramFiles 'IIS\Microsoft Web Deploy' | |
$SiteName = 'www.example.com' | |
$Package = "$SiteName.zip" | |
$Dest = 'hosting.com' | |
$UserName = 'IIS User Name' | |
$Pwd = 'Secret Password' |
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
[Array]$arguments = "-verb:sync", "-source:contentPath=`"$web_staging_directory`"", "-dest:contentPath=`"\\$Server\$share\$appname\$web_project_name`"" | |
$proc = Start-Process $msdeploy -ArgumentList $arguments -NoNewWindow -Wait -PassThru | |
if($proc.ExitCode -ne 0) { | |
throw "Failed to deploy" | |
} |