https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png
![](https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png | width=100)
" MacVim Touch Bar support | |
" ======================== | |
" Since version 8.0 (I think), MacVim natively supports the macOS touch bar. By default it just contains | |
" one button to toggle fullscreen mode. To add some more useful buttons, just copy this into your .vimrc | |
" | |
" More details about the syntax can be found here: https://github.com/macvim-dev/macvim/blob/master/runtime/doc/gui_mac.txt | |
" For a list of touch bar image names, see https://developer.apple.com/design/human-interface-guidelines/macos/touch-bar/touch-bar-icons-and-images/ | |
" Toggle NerdTree |
- name: Create the sonar user for running the SonarQube services | |
user: | |
name: sonar | |
comment: System user for running SonarQube | |
- name: Download SonarQube | |
get_url: | |
url: "https://sonarsource.bintray.com/Distribution/sonarqube/sonarqube-{{ sonar_version }}.zip" | |
dest: "/srv/sonarqube-{{ sonar_version }}.zip" |
package de.tdlabs.keycloak.client; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import org.keycloak.OAuth2Constants; | |
import org.keycloak.RSATokenVerifier; | |
import org.keycloak.admin.client.Keycloak; | |
import org.keycloak.admin.client.KeycloakBuilder; | |
import org.keycloak.common.VerificationException; | |
import org.keycloak.jose.jws.JWSHeader; | |
import org.keycloak.representations.AccessToken; |
class AppDelegate: NSResponder, NSTouchBarDelegate, NSApplicationDelegate { | |
@available(OSX 10.12.2, *) | |
lazy var touchbar: NSTouchBar = { | |
let tb = NSTouchBar() | |
tb.delegate = self | |
tb.defaultItemIdentifiers = [NSTouchBarItemIdentifier(rawValue: "test")] | |
return tb | |
}() | |
# Add field | |
echo '{"hello": "world"}' | jq --arg foo bar '. + {foo: $foo}' | |
# { | |
# "hello": "world", | |
# "foo": "bar" | |
# } | |
# Override field value | |
echo '{"hello": "world"}' | jq --arg foo bar '. + {hello: $foo}' | |
{ |
/** | |
* This is a compilation of code snippets required to render SVG files in JavaFX using Batik. | |
* See my full post on StackOverflow: http://stackoverflow.com/a/23894292/603003 | |
*/ | |
package proofofconcept; | |
import java.awt.image.BufferedImage; | |
import org.apache.batik.transcoder.TranscoderException; | |
import org.apache.batik.transcoder.TranscoderOutput; |