Last active
December 17, 2015 10:09
-
-
Save ngarbezza/5592287 to your computer and use it in GitHub Desktop.
Pharo
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
"Close a window by title programatically - Pharo 1.4, 2.0" | |
(SystemWindow allInstances detect: [ :w | w label = '<title>' ] ifNone: [ ^ nil ]) delete |
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
"Set global package-cache directory - Pharo 2.0" | |
MCCacheRepository default directory: ('/path/to/package-cache' asFileReference) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment