Related Posts

Solving “Received fatal alert: handshake_failure” error when performing HTTPS connections on a custom made JRE with jlink
TL; Tell me already what to do: Add the jdk.crypto.cryptoki module to the list of –add-modules parameter to your jlink command invocation If you’re reading this you’re one of the few developers out there that wanted to distribute a java 9+ app (using either jdk 9, jdk 10, jdk 11 or jdk 12, as of […]

gradle/groovy: A simple way to check if a gradle task name has been invoked (e.g. “assembleRelease” for Android developers)
If you google for this question, you’ll find a bunch of crap answers about creating tasks and checking the task graph, bullshit. All you need to do is check if a parameter has been passed to gradle. Keep it simple and stupid: [pastacode lang=”java” manual=”boolean%20isAssembleRelease%20%3D%20gradle.startParameter.taskNames.contains(%22assembleRelease%22)” message=”” highlight=”” provider=”manual”/] (If you’re working with an android project, […]
float:center
You wish… So many work arounds to center divs, that I was almost getting to the point where I was about to start selling black t-shirts with the words float:center If you’re a web developer, web designer, and you have to deal with CSS, and CSS not working properly on IE (cause of it’s stupid […]