adilakhter
Gist: psisContainer > Filter Directories using Powershell
To filter the folders (i.e., directories) available in the current context, the following property can be used with a predicate:$_.psiscontainer
In essence, it returns a boolean indicating whether the current object
Remove SVN binding
By invoking the following powershell commands, svn binding can be removed effectively from the current source directory.
[gist]4726680[/gist]
It just traverses all the subdirectories of the current directory and remove its
Gist: Scala Set
In Scala, an instance of Set can be declared as follows.
val s = (1 to 6).toSet
Principle difference between sets and sequences are three:
* Sets are unordered
val s = (1 to 6)
Scala Notes: Fold
Fold is a general purpose operation on list (e.g., List[A]), which involves iterating (over each element) and applying a binary function--
f: A -> B -> B
to reduce the list