<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Snippet on Igor Zarvanskyi Blog</title>
        <link>https://clutcher.dev/tags/snippet/</link>
        <description>Recent content in Snippet on Igor Zarvanskyi Blog</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <copyright>Igor Zarvanskyi</copyright>
        <lastBuildDate>Sun, 22 Nov 2026 14:20:39 +0100</lastBuildDate><atom:link href="https://clutcher.dev/tags/snippet/rss.xml" rel="self" type="application/rss+xml" /><item>
            <title>How to switch between profiles in Claude Code</title>
            <link>https://clutcher.dev/post/hybris/snippets/claude_code_profile_switching/</link>
            <pubDate>Sat, 14 Mar 2026 10:00:00 +0200</pubDate>
            <guid>https://clutcher.dev/post/hybris/snippets/claude_code_profile_switching/</guid>
            <description>&lt;p&gt;Claude Code does not provide native support for switching between multiple accounts or profiles. Having a personal Claude account for side projects and a separate work account for professional tasks means constantly logging in and out to switch between them. This is annoying and error-prone as it is easy to forget which account is active and accidentally use the wrong one.&lt;/p&gt;</description>
        </item><item>
            <title>Jenkins script to abort jobs on PR update</title>
            <link>https://clutcher.dev/post/hybris/snippets/abort_jenkins_job_on_pr_update/</link>
            <pubDate>Thu, 06 Aug 2020 14:35:39 +0300</pubDate>
            <guid>https://clutcher.dev/post/hybris/snippets/abort_jenkins_job_on_pr_update/</guid>
            <description>&lt;p&gt;Test runs and sonarqube analysis for hybris projects are time-consuming and almost in each project it is required to abort CI jenkins job on branch update to reduce load on jenkins servers. Unfortunately there is no commonly used generic solution to solve this task.&lt;/p&gt;</description>
        </item><item>
            <title>Clean up old data in DB</title>
            <link>https://clutcher.dev/post/hybris/snippets/clean_up_old_data/</link>
            <pubDate>Thu, 07 May 2020 14:51:07 +0300</pubDate>
            <guid>https://clutcher.dev/post/hybris/snippets/clean_up_old_data/</guid>
            <description>&lt;p&gt;Hybris has possibility to clean up old unnecessary data from a database. OOTB is provided CronJob to remove old CronJobs, but there is nothing to clean up custom item types or even Hybris item types, like business processes and task logs.&lt;/p&gt;</description>
        </item><item>
            <title>How to measure execution time of populators</title>
            <link>https://clutcher.dev/post/hybris/snippets/measure_populators_performance/</link>
            <pubDate>Wed, 30 Oct 2019 10:38:54 +0300</pubDate>
            <guid>https://clutcher.dev/post/hybris/snippets/measure_populators_performance/</guid>
            <description>&lt;p&gt;Usually Hybris server has a slow performance in terms of RPS due to wrong usage of coverters and populators in controllers/facades. Main wrong usecases are:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;convert same Model into Data object few times&lt;/li&gt;&#xA;&lt;li&gt;populate Data object with all possible data instead of population only valuable for current page attributes&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;To identify which populators are slow and executed more than once you can use such aspect:&lt;/p&gt;</description>
        </item><item>
            <title>Util class for dynamic attribute assigning</title>
            <link>https://clutcher.dev/post/hybris/snippets/reflection_utils/</link>
            <pubDate>Fri, 29 Mar 2019 11:41:34 +0300</pubDate>
            <guid>https://clutcher.dev/post/hybris/snippets/reflection_utils/</guid>
            <description>&lt;p&gt;One of the pretty common case in Hybris customizations is to receive master data, for example Products, from external system and use hybris only for minor changes. In such cases business wants to have flexible system, which allows to customize attribute assigning via backoffice, impex files etc.&lt;/p&gt;</description>
        </item><item>
            <title>Groovy script to test SAP RFC calls</title>
            <link>https://clutcher.dev/post/hybris/snippets/test_sap_rfc_calls/</link>
            <pubDate>Tue, 09 Oct 2018 20:32:56 +0300</pubDate>
            <guid>https://clutcher.dev/post/hybris/snippets/test_sap_rfc_calls/</guid>
            <description>&lt;p&gt;Sometimes you need to execute RFC into SAP from hybris before implementation.&lt;/p&gt;</description>
        </item><item>
            <title>Skip interceptor for synchronization process</title>
            <link>https://clutcher.dev/post/hybris/snippets/skip_interceptor_on_synchronization/</link>
            <pubDate>Sun, 17 Dec 2017 23:21:26 +0300</pubDate>
            <guid>https://clutcher.dev/post/hybris/snippets/skip_interceptor_on_synchronization/</guid>
            <description>&lt;p&gt;There is a lot of interceptors, which must be not executed while creating/updating items from sync process.&lt;/p&gt;</description>
        </item><item>
            <title>Git scripts to clean repository</title>
            <link>https://clutcher.dev/post/hybris/snippets/useful_git_merge_scripts/</link>
            <pubDate>Tue, 12 Sep 2017 15:21:24 +0300</pubDate>
            <guid>https://clutcher.dev/post/hybris/snippets/useful_git_merge_scripts/</guid>
            <description>&lt;p&gt;As a Team Lead I want to see a clean git repository with branches, which are currently in development and not to see list of 3000+ branches, which was created from the first day of the project. Manual investigation and removing of obsolete branches will take ages, so I created few bash scripts, which will do the work automatically.&lt;/p&gt;</description>
        </item><item>
            <title>How to print server variables in JSP as JSON</title>
            <link>https://clutcher.dev/post/hybris/snippets/dump_as_json/</link>
            <pubDate>Fri, 12 Aug 2016 15:21:24 +0300</pubDate>
            <guid>https://clutcher.dev/post/hybris/snippets/dump_as_json/</guid>
            <description>&lt;p&gt;For frontend developers usually is not very clear how server variables are injected in JSP and what data is presented in this variables. To simplify their work could be used JSTL function, which will output server variable in json format.&lt;/p&gt;</description>
        </item><item>
            <title>How to speed up groovy scripts</title>
            <link>https://clutcher.dev/post/hybris/snippets/groovy_speed_up/</link>
            <pubDate>Tue, 05 Apr 2016 20:32:56 +0300</pubDate>
            <guid>https://clutcher.dev/post/hybris/snippets/groovy_speed_up/</guid>
            <description>&lt;p&gt;I had a task to optimize user creation and storing. Before changes on each anonymous checkout a new user was creates with ID in format &lt;code&gt;RANDOM_UID|USER_EMAIL&lt;/code&gt;and we had a lot of users who used anonymous checkout more than once. After changes only one user with ID in format &lt;code&gt;USER_EMAIL&lt;/code&gt; for all anonymous checkouts was used. As a part of the task I need to migrate all old users to new format users. First version of moigration script had an execution time took more than 3 days for processing around 7 millions of people.&lt;/p&gt;</description>
        </item></channel>
</rss>
