Skip to content

Gary Sieling

Software Engineer

  • Machine Learning
  • Full Text Search
  • Data Science
  • Scraping
  • Postgres
  • DevOps
  • AWS
  • Talks

Tag: scala

Posted on 2016-02-10

Get current directory in scala

This just uses one of the Java utilities to get the current directory (this property is where Java was run from).

def pwd = System.getProperty("user.dir")

Example:

scala> println(pwd)
D:\Program Files (x86)\Git

Posts navigation

Previous page Page 1 … Page 64 Page 65 Page 66 … Page 113 Next page

Post Views: 0

  • Thought Experiments
  • Proof of Concepts
  • Book Reviews
  • Projects
  • Essays
  • Talks
  • Programming Techniques
  • Javascript
  • Python
  • Prolog
  • Scala
  • Java
  • PHP
  • C#
  • R

Recent Posts

  • The accelerant effects of AI
  • Allow a CircleCI self-hosted machine runner to run jobs for more than 5 hrs
  • Import a folder of CSVs into a single Google Sheet (1 per tab)
  • R Code to summarize Dept of Ed, Civil Rights Data by school district / LEA
  • Export Census ACS5 data by GEOID/block group to CSV in R
Proudly powered by WordPress