<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Farix</title>
    <description>The latest articles on Forem by Farix (@farix1337).</description>
    <link>https://forem.com/farix1337</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F451351%2Fe82d2edb-49a5-41f2-8324-a1e6df0eb7aa.png</url>
      <title>Forem: Farix</title>
      <link>https://forem.com/farix1337</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/farix1337"/>
    <language>en</language>
    <item>
      <title>How to Ctrl Alt Del with a Mac and Microsoft Remote Desktop</title>
      <dc:creator>Farix</dc:creator>
      <pubDate>Tue, 18 Aug 2020 08:38:52 +0000</pubDate>
      <link>https://forem.com/farix1337/how-to-ctrl-alt-del-with-a-mac-and-microsooft-remote-desktiop-1k6b</link>
      <guid>https://forem.com/farix1337/how-to-ctrl-alt-del-with-a-mac-and-microsooft-remote-desktiop-1k6b</guid>
      <description>&lt;p&gt;TL;DR: press: &lt;code&gt;fn + ctrl + option + delete&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;In my current company coworkers need to change their password every 6 Months. Which does not improve the security of the company but it's still there.&lt;br&gt;
The problem: Our developer computers are in a complete independent network, to access our company network we can only use a VPN and a remote desktop client to a virtual Windows machine. Problem is i recently got a mac and needed to change my password in the remote desktop session, but every settings ui is currently blocked. Therefore i needed to press ctrl + alt + del to access the password change ui. But my mac keyboard does not have a dedicated delete button.&lt;br&gt;
The solution:&lt;br&gt;
&lt;code&gt;fn + ctrl + option + delete&lt;/code&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmy7qnmjqoz2kcrem8ie5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmy7qnmjqoz2kcrem8ie5.png" alt="image"&gt;&lt;/a&gt;&lt;br&gt;
must be used instead.&lt;/p&gt;

</description>
      <category>mac</category>
      <category>remotedesktop</category>
      <category>password</category>
      <category>microsoft</category>
    </item>
    <item>
      <title>Debugging gradle plugins</title>
      <dc:creator>Farix</dc:creator>
      <pubDate>Thu, 13 Aug 2020 10:28:39 +0000</pubDate>
      <link>https://forem.com/farix1337/debugging-gradle-plugins-l17</link>
      <guid>https://forem.com/farix1337/debugging-gradle-plugins-l17</guid>
      <description>&lt;p&gt;I recently had issues using the &lt;a href="https://axion-release-plugin.readthedocs.io/en/latest/"&gt;axion-release-plugin&lt;/a&gt; and wanted to debug the gradle plugin. But all manuals which you can find via google &lt;a href="https://stackoverflow.com/questions/11129401/debug-gradle-plugins-with-intellij"&gt;here&lt;/a&gt; or &lt;a href="https://medium.com/grandcentrix/how-to-debug-gradle-plugins-with-intellij-eef2ef681a7b"&gt;here&lt;/a&gt; failed because the argument &lt;code&gt;--no-deamon&lt;/code&gt; was unknown.&lt;/p&gt;

&lt;p&gt;After some digging in the gradle &lt;a href="https://docs.gradle.org/current/userguide/gradle_daemon.html"&gt;documentation&lt;/a&gt;, if found that  &lt;code&gt;Dorg.gradle.daemon=false&lt;/code&gt; can be used instead.&lt;/p&gt;

&lt;p&gt;So to debug your gradle task from a plugin:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Clone the code of the gradle plugin in the specific version of use.&lt;/li&gt;
&lt;li&gt;Ensure the plugin code is recognized as source code by your IDE. Maybe you need to start &lt;code&gt;gradle sync&lt;/code&gt; or &lt;a href="https://www.jetbrains.com/help/idea/import-project-or-module-wizard.html#import-project"&gt;import the project&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;In your project run

&lt;code&gt;./gradlew myTaskToDebug -Dorg.gradle.debug=true -Dorg.gradle.daemon=false --stacktrace&lt;/code&gt;

the &lt;code&gt;--stacktrace&lt;/code&gt; is optional&lt;/li&gt;
&lt;li&gt;Add a remote debug run configuration in your Intellij to the gradle plugin project configuration for the port 5005 &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_vCkbPRC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/Farix1337/devtoimages/master/remoteConfigIntellij.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_vCkbPRC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/Farix1337/devtoimages/master/remoteConfigIntellij.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--mh75lk7G--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/Farix1337/devtoimages/master/gradleRemoteDebug.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mh75lk7G--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/Farix1337/devtoimages/master/gradleRemoteDebug.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4.Set your breakpoint in the plugin code&lt;br&gt;
5.Run your new configuration as debug&lt;br&gt;
6.Happy debugging&lt;/p&gt;

</description>
      <category>java</category>
      <category>gradle</category>
      <category>intellij</category>
      <category>debug</category>
    </item>
  </channel>
</rss>
