Related Posts
[SOLVED] Gradle: How to increase the Java Compiler’s available Heap Memory
The documentation is not very clear on what all the available options are… after much Googling and many different attempts finally figured out how to raise the maximum heap of the compiler from within the gradle.build script. [pastacode lang=”java” manual=”apply%20plugin%3A%20%E2%80%98java%E2%80%99%0A%0AcompileJava%20%7B%0A%2F%2Fraise%20heap%0Aoptions.fork%20%3D%20%E2%80%98true%E2%80%99%0Aoptions.forkOptions.with%20%7B%0AmemoryMaximumSize%20%3D%20%E2%80%9C2048m%E2%80%9D%0A%7D%0A%7D” message=”” highlight=”” provider=”manual”/] Update: So I’ve noticed this works great on MacOSX, but it doesn’t […]
Pascal Triangle Generator in Python, and then in Haskell – The Gubatron Method
Here’s in python, imperatively, and then in functional style without the need for loops. This file contains hidden or 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 Show hidden characters […]
[ANDROID] How to set a custom title View on a DialogPreference extending class.
So you have a FooDialogPreference class which extends DialogPreference, and one of the things you’d like to do to it, is to change the Dialog’s title. DialogPreference happens to be a bit of a bitch, you can’t just call getDialog() and start playing with its features before it is shown because the Dialog object is […]
