Skip to content

Instantly share code, notes, and snippets.

View hsz's full-sized avatar

Jakub Chrzanowski hsz

View GitHub Profile
Here's a bullet character: •
@hsz
hsz / products-releases.xml
Last active September 13, 2021 14:26
foo.xml
<products>
<product name="AppCode">
<code>OC</code>
<channel id="OCXY-RELEASE-licensing-RELEASE" name="AppCode RELEASE" status="release" url="https://www.jetbrains.com/objc/download" feedback="https://youtrack.jetbrains.com" majorVersion="2021" licensing="release">
<build number="212.5080" version="2021.2.1" releaseDate="20210812" fullNumber="212.5080.60">
<message><![CDATA[<p>AppCode 2021.2.1 is here!</p>
<p><strong>Bug fixes</strong></p>
<ul>
<li>Unable to view code coverage on "development pods" (<a href="https://youtrack.jetbrains.com/issue/OC-21060">OC-21060</a>)</li>
<li>CocoaPods product references are resolved to a wrong file (<a href="https://youtrack.jetbrains.com/issue/OC-21837">OC-21837</a>)</li>
@hsz
hsz / Spotify.scpt
Created July 1, 2021 12:19
Play/pause Spotify with no iTunes action hijacking
on is_running(appName)
tell application "System Events" to (name of processes) contains appName
end is_running
if is_running("Spotify") then
tell application "Spotify" to playpause
else
tell application "Spotify"
activate
play
@hsz
hsz / verbose.input.files.gradle
Created May 19, 2021 06:42
Run Gradle tasks in verbose mode printing all the input paths
// in build.gradle: apply(from = "verbose.input.files.gradle")
gradle.taskGraph.afterTask { task ->
StringBuffer taskInfo = new StringBuffer()
taskInfo << """"-------------
name:$task.name group:$task.group : $task.description
conv:$task.convention.plugins
inputs:
"""
task.inputs.files.each{ it ->
@hsz
hsz / settings.gradle
Created November 24, 2020 10:04
Link project with locally built Gradle IntelliJ Plugin
rootProject.name = 'my project'
includeBuild '../../../Projects/JetBrains/gradle-intellij-plugin'
buildscript {
dependencies {
classpath files('../../../JetBrains/gradle-intellij-plugin/build/libs/gradle-intellij-plugin-0.6.5.jar')
}
}