Sometimes you want to try out some code and you don’t want the hassle of having to start a new project in your IDE or might not have a machine to hand to run the code. So what are your options?
Category: Development rss
Posts
The problem: calling webview.hitTestResult on an anchor tag that has an image as a child element returns a hitTestResult with the type of SRC_IMAGE_ANCHOR_TYPE and the hitTestResult.extra is the src of the image and not the url of the anchor tag.
Service accounts can be used to allow limited access control and can be used without the need for the usual web authentication journey that is typically used when authenticating the gcloud SDK. These are ideal for use in a CI setup.
I can’t believe I hadn’t come across this Chrome extension before but it sure is helpful when digging into the Android SDK.
Swift has a great feature for an enum type that allows you to associated data
with it.
Live templates allow you to quickly add text to the current file. They are context aware so that only relevant templates for the current cursor location are shown.