<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Batuhan Kök on Medium]]></title>
        <description><![CDATA[Stories by Batuhan Kök on Medium]]></description>
        <link>https://medium.com/@batuhankok?source=rss-7840e044c268------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YvaOPLKP1xUqBkG45TO6fQ.png</url>
            <title>Stories by Batuhan Kök on Medium</title>
            <link>https://medium.com/@batuhankok?source=rss-7840e044c268------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 02:59:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@batuhankok/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Interfaces in Spring Boot — Clean Architecture]]></title>
            <link>https://batuhankok.medium.com/interfaces-in-spring-boot-clean-architecture-88d378b1432c?source=rss-7840e044c268------2</link>
            <guid isPermaLink="false">https://medium.com/p/88d378b1432c</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[clean-architecture]]></category>
            <category><![CDATA[interfaces]]></category>
            <category><![CDATA[sprint-boot]]></category>
            <dc:creator><![CDATA[Batuhan Kök]]></dc:creator>
            <pubDate>Sun, 20 Jul 2025 12:47:14 GMT</pubDate>
            <atom:updated>2025-07-20T12:47:14.104Z</atom:updated>
            <content:encoded><![CDATA[<h3>Interfaces in Spring Boot — Clean Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nq3CJSHuxjYspH8JBH5AKA.png" /></figure><p>I used to skip creating interfaces for my Spring services. Because I thought, there’s only one implementation anyway. But over time, especially in larger projects, I started running into situations where I really <strong>wished</strong> I had them.</p><p>And I’ll be honest: initially, interfaces felt like over-engineering. It took me a while to see that in most cases, they’re not just for abstraction but they’re also for <strong>clarity</strong>.</p><p>This post is mainly aimed at junior developers or anyone getting started with Spring Boot. I’ve made these mistakes myself, and I hope this helps you avoid a few of them.</p><h3>When It First Hit Me</h3><p>There was this moment during a refactor. I needed to swap out a service with a mock for a unit test. What was the problem? — I had no interface.</p><p>Mocking the concrete class was messy and I kinda regretted my early shortcuts.</p><p>Also, we had multiple beans relying on that service, and guess what? Circular dependency hell.</p><h3>Why Interfaces Are Actually Useful</h3><p>So here’s what I learned (the hard way):</p><h4>1. Testability Becomes Easier</h4><p>With interfaces, you don’t need to jump through hoops in your tests.</p><pre>// clean for test<br>@Mock<br>private UserService userService;</pre><pre>// instead of this mess<br>@Mock<br>private UserServiceImpl userServiceImpl;</pre><p>Sure, you also <strong>can</strong> mock concrete classes. But should you? Not always.</p><p>Mocks should focus on behavior, not implementation details. Interfaces make that separation obvious.</p><h4>2. Feels Cleaner</h4><p>Once I started introducing interfaces again, my project started to look and feel more modular. Service consumers don’t need to care about how something works — just <strong>what</strong> it does.</p><p>That small layer of abstraction? Worth it.</p><p>It also helps when onboarding new teammates. When there’s a clear interface contract, they don’t need to dig into every implementation detail just to understand the big picture.</p><h3>With an Interface</h3><p>Here’s what it looks like — clean and simple:</p><pre>public interface UserService {<br>    User getById(Long id);<br>    void create(User user);<br>}</pre><pre>@Service<br>public class UserServiceImpl implements UserService {<br>    @Override<br>    public User getById(Long id) {<br>        // your logic<br>    }<br><br>    @Override<br>    public void create(User user) {<br>        // your logic<br>    }<br>}</pre><p>Then in your controller:</p><pre>@RestController<br>public class UserController {<br><br>    private final UserService userService;<br><br>    public UserController(UserService userService) {<br>        this.userService = userService;<br>    }<br><br>    // other endpoints...<br>}</pre><p>That’s it. Looks cleaner, right?</p><h3>When You Might Not Need One</h3><p>I’m not saying every service needs an interface. Sometimes, the logic is too simple. Or the service is internal, unlikely to be reused.</p><p>In those cases? Sure, skip it.</p><p>But for shared services, or anything you might test, extend, or swap later — interfaces pay off.</p><h3>Final Thoughts</h3><p>At first, I thought interfaces were just boilerplate. But after a few projects, I started to see them differently. About writing code, that’s easier to maintain, test, and reason about later on.</p><p>So yeah, next time you’re about to write @Service, maybe pause for a second and ask, <em>“Should I extract an interface for this?”.</em></p><p>You might thank yourself in six months.</p><p><em>Good luck!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88d378b1432c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automatically Optimizing Imports — WebStorm]]></title>
            <link>https://batuhankok.medium.com/automatically-optimizing-imports-webstorm-e5dac1ba5795?source=rss-7840e044c268------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5dac1ba5795</guid>
            <category><![CDATA[ide]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[webstorm]]></category>
            <category><![CDATA[optimize-imports]]></category>
            <category><![CDATA[on-save]]></category>
            <dc:creator><![CDATA[Batuhan Kök]]></dc:creator>
            <pubDate>Sun, 01 Oct 2023 11:32:27 GMT</pubDate>
            <atom:updated>2023-10-01T11:32:27.532Z</atom:updated>
            <content:encoded><![CDATA[<h3>Automatically Optimizing Imports — WebStorm</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I99KnT-1xxxiwwzot8Pa0Q.png" /></figure><p>IntelliJ — WebStorm offers an “Optimize Imports” feature designed to enhance the organization and readability of your JavaScript and TypeScript files. This functionality serves several purposes:</p><ol><li>Eliminating unused imports.</li><li>Consolidating multiple imports originating from the same source.</li><li>Optionally arranging imports, as well as their constituent members, alphabetically by module name.</li></ol><p>To use the “Optimize Imports” feature, you can use the keyboard shortcuts <em>^⌥O</em> (Mac) / <em>Ctrl+Alt+O</em> (Windows) or access it via the “Find Action” popup.</p><p>Please note that this action exclusively affects the imports within the current file. For additional methods to execute “Optimize Imports,” refer to the section below for further details.</p><h3>Let’s Try</h3><p>This is our example imports section of the file</p><pre>import {BrowserModule} from &#39;@angular/platform-browser&#39;;<br>import {FormsModule} from &#39;@angular/forms&#39;;<br>import {environment} from &#39;../environments/environment&#39;;<br>import {AppComponent} from &#39;./app.component&#39;;<br>import {BrowserModule} from &#39;@angular/platform-browser&#39;;<br>import {NgModule} from &#39;@angular/core&#39;;<br>import {ApplicationInitStatus} from &#39;@angular/core&#39;;</pre><p>After we use the “Optimize Imports” feature, it became the following:</p><pre>import {BrowserModule} from &#39;@angular/platform-browser&#39;;<br>import {FormsModule} from &#39;@angular/forms&#39;;<br>import {AppComponent} from &#39;./app.component&#39;;<br>import {ApplicationInitStatus, NgModule} from &#39;@angular/core&#39;;</pre><p>As a result, it removed unused imports and combined two of them coming from Angular Core library.</p><p>To take an additional step in organizing our imports, we can access the “Preferences/Settings” menu, navigate to “Editor”, then select “Code Style”, and choose either JavaScript or TypeScript. In the “Imports tab”, there is an option to sort imports by module name. Enabling this setting will arrange the imports in alphabetical order based on their module names.</p><p>Within this tab, you will come across two additional settings associated with the Optimize Imports feature: “Merge imports for members from the same module” and “Sort imported members”. We’ve already seen the first one in action. When this checkbox is checked, it combines imported symbols from the same module into a single import statement, separated by commas. These members are then listed in the order they are imported. If you wish to organize them alphabetically, you can select the “Sort imported members” checkbox.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AAoPARkYLewNsmh1c4Gdnw.png" /><figcaption>Settings in IntelliJ Webstorm</figcaption></figure><h3>Optimize Imports on Save</h3><p>You have the option to set up the IDE to automatically optimize imports in modified files as you save your edits. To do this, navigate to “Preferences/Settings”, then access the “Tools” section and choose “Actions on Save”. Here, you can enable the “Optimize imports” checkbox. You also have the flexibility to decide whether this action should be executed when saving any file type or only for specific file types of your choosing.</p><p>You can also run your <strong>TSLint Watcher</strong> on every save action via this window and for more details about TSLint Watcher and making it automatic, please visit <a href="https://batuhankok.medium.com/make-eslint-or-tslint-automatic-in-intellij-ae70d26afe6"><strong>my previous post</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O5MpirB7Nxk6rfKR_tH-CQ.png" /><figcaption>Actions on Save in IntelliJ Webstorm</figcaption></figure><p>I hope that these functionalities can save your time and you’ll have a better code base for every project that you’re working.</p><p><em>Good luck!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5dac1ba5795" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Make ESLint or TSLint Automatic in IntelliJ]]></title>
            <link>https://batuhankok.medium.com/make-eslint-or-tslint-automatic-in-intellij-ae70d26afe6?source=rss-7840e044c268------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae70d26afe6</guid>
            <category><![CDATA[eslint]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[tslint]]></category>
            <category><![CDATA[filewatcher]]></category>
            <dc:creator><![CDATA[Batuhan Kök]]></dc:creator>
            <pubDate>Fri, 07 Apr 2023 09:31:50 GMT</pubDate>
            <atom:updated>2023-04-07T09:31:50.125Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tbvgy1UeDA0uBksTt4YsLw.png" /></figure><p>Static code analysis is an essential part of the development life cycle (SDLC) for every platform. It brings numerous benefits to our lives, such as ensuring code readability, maintaining uniform styling across the team, and preventing unnecessary conflicts.</p><p>Before automating the process, we must understand what ESLint and TSLint are and why we use them.</p><h3>What is ESLint?</h3><p>ESLint is an open-source project that assists in identifying and resolving issues in your JavaScript code. Whether you’re writing JavaScript in a browser or on a server, with or without a framework, ESLint can help improve the quality of your code.</p><p>Additionally, ESLint is integrated into most text editors, and you can execute it as part of your continuous integration pipeline.</p><h3>What is TSLint?</h3><p>TSLint is an extensible static analysis tool that checks <a href="http://www.typescriptlang.org/">TypeScript</a> code for readability, maintainability, and functionality errors. It is widely supported across modern editors &amp; build systems and can be customized with your own lint rules, configurations, and formatters.</p><p>However, TSLint is currently deprecated, and the recommended alternative is to migrate to <strong>Angular ESLint</strong> (even though TSLint is still usable).</p><h3>How Can We Do?</h3><p>It’s really easy and straightforward. You need to follow the instructions below. The example provided is for TSLint, but it can also be used for ESLint. However, you must update the “<strong>Program</strong>” field accordingly.</p><ol><li>Open Intellij Webstorm</li><li>On the menu navigate to <strong>File &gt; Settings</strong></li><li>Find and open <strong>Tools &gt; File Watchers</strong></li><li>Click the <strong>Plus(+)</strong> button</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*pcwA9GL2XdnXegiuRjX5eA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cepe4UXIm6p1ziNyZb-GDw.png" /><figcaption>How to create a new file watcher in Intellij Webstorm</figcaption></figure><p>You can use all information in the screenshot by modifying the <strong>“Program”</strong> fields to use the local path of TSLint. Additionally, if your <strong>“tslint.json”</strong> file is not located in the root folder of the project, you need to set it correctly in the <strong>“Arguments”</strong> field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*wWw8XlPSuVr6TJErU0g9QA.png" /><figcaption>File Watcher Settings in Intellij Webstorm</figcaption></figure><h3>Example TSLint.json</h3><p>I suggest you to use ESLint or migrate to it but if you want to continue to use TSLint, you can find an example tslint.json <a href="https://github.com/theintern/example-angular/blob/master/tslint.json">here</a>.</p><p><em>Good luck!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae70d26afe6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Annual Tax Declaration in Poland (e-PIT)]]></title>
            <link>https://batuhankok.medium.com/annual-tax-declaration-in-poland-e-pit-4188e92a3fed?source=rss-7840e044c268------2</link>
            <guid isPermaLink="false">https://medium.com/p/4188e92a3fed</guid>
            <category><![CDATA[e-pit]]></category>
            <category><![CDATA[tax-settlement]]></category>
            <category><![CDATA[tax-declaration]]></category>
            <category><![CDATA[podatki]]></category>
            <category><![CDATA[poland]]></category>
            <dc:creator><![CDATA[Batuhan Kök]]></dc:creator>
            <pubDate>Tue, 28 Mar 2023 09:32:05 GMT</pubDate>
            <atom:updated>2023-03-28T09:32:05.984Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sVLMtGWQH59gGYTxXrxDKg.png" /></figure><p>Hello dear expats,</p><blockquote>As you may know, I moved to Warsaw in 2022 and I’m trying to get used to some governmental procedures in Poland. Actually, they might seem a little bit complicated, but as far as I experienced, they are not. All you need to do is to spend some time to find the articles or instructions in English. Of course, there are tons of documents in English, but sometimes it might be hard to find.</blockquote><p>Today, to make your lives easy, I’d like to share my experiences about tax declaration and tax refunds in Poland.</p><p>First, you need to learn some words:</p><ul><li><strong>Urząd Skarbowy:</strong> Tax Office in Polish.</li><li><strong>Profil Zaufany:</strong> Trusted Profile</li><li><strong>Podatki:</strong> Means “taxes”</li><li><strong>PIT:</strong> Personal Income Tax (like PIT-37)</li><li><strong>Mikrorachunek Podatkowy:</strong> Tax micro-account</li></ul><h3>Short Information</h3><p>Personal Income Tax is mandatory for all employees (taxpayers) who earn income in Poland, such as receiving remuneration based on an employment contract. Therefore, you must declare your income to the government every year. Don’t worry; it’s straightforward.</p><p>To declare your income, you need to know details such as your salary, tax payments, insurance payments, etc. You can obtain this information by requesting your PIT form (e.g., PIT-37) from your employer. After obtaining it, you can complete your tax settlement.</p><h3>How Can You Done?</h3><p>There are two ways to complete the tax settlement process:</p><ol><li>You can go to a tax office and complete your tax settlement. There are numerous tax offices around, but this will be time-consuming process.</li><li>You can use e-tax office and complete it online and easy.</li></ol><p>Let’s make the process faster with the online tax office…</p><h3>Trusted Profile</h3><p>A Trusted Profile is a way to verify your identity for logging into online governmental services, including <a href="https://www.podatki.gov.pl/pit/twoj-e-pit/">Podatki</a>, which is the e-tax office. The following ways for just creating trusted profile, not tax settlement.</p><p><strong>Online Registration<br></strong>You can create a Trusted Profile by logging into your bank account such as Santander, Bank Polski, Bank Pekao. Then, you need to find “create a trusted profile” button. <a href="https://www.santander.pl/klient-indywidualny/bankowosc-internetowa/santander-internet/profil-zaufany">This link</a> contains everyting about the creation process for Santander Bank customers.</p><p><strong>Physical Registration<br></strong>Alternatively, you can create one by visiting a physical tax office, especially if your name or surname contains <strong>special characters</strong>. Before you go, you need to first register via <a href="https://pz.gov.pl/pz/registerMainPage">its website</a> and make an appointment for visiting the tax office. Here is a list of <a href="https://www.gov.pl/web/kas/adresy-stron-internetowych-ias-kis-kss">tax offices in Poland.</a></p><h3>Login to Podatki</h3><p>If you have already created your <strong>Trusted Profile </strong>or <strong>mojeID;</strong></p><p>Now, you can go to the following link: <a href="https://www.podatki.gov.pl/pit/twoj-e-pit/"><strong>Podatki e-PIT</strong></a></p><p>Then, you’ll see the page below and need to click on the highlighted button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LjwbGE7pKja_iO6qUUZN3w.png" /><figcaption>Podatki — Poland</figcaption></figure><p>The page that opens will ask you to choose your authentication method. You can freely select any option, but we will be using the <strong>Login.gov.pl</strong> option, so click on that button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bXRn4JFq5Jq2uLWC6RBLfw.png" /><figcaption>e-Tax Office — Poland</figcaption></figure><p>After selecting the Login.gov.pl option, you will finally find the <strong>Trusted Profile (Profil Zaufany)</strong> option, and you need to click on it. If you’re able to use the other options, you can do so.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*6WLX6vF1lzR9N4f7QCVZKQ.png" /><figcaption>Login.pl Authorization — Trusted Profile</figcaption></figure><p>Congratulations! You’re now finally in the e-tax office system.</p><h3>Tax Settlement</h3><p>On the homepage, you can find all the features, and you can also change the language of the page by using the select box at the top.</p><p>Now, we can begin to review and complete your <strong>PIT-37</strong> declaration by clicking the button below and navigating to the PIT-37 form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x-jiLipVPBXLnvapdvlzUA.png" /><figcaption>e-Tax Office — Dashboard</figcaption></figure><p>Great news! In general, when you access your <strong>e-PIT</strong>, the tax form is already completed by the tax office automatically. All you need to do is review the form to ensure that it is filled out correctly. Please check everything in the form carefully, because the accuracy of the information is your responsibility. In case of incorrect information declaration, you may face serious <strong>penalties.</strong></p><p>The e-PIT-37 form will look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*lxeNsXM6hq5bKLMTMgOJuA.png" /><figcaption>PIT-37 Example Form — Poland, 2022</figcaption></figure><h3>Overpayment / Underpayment</h3><p>If you see an overpayment amount and it’s shown in green, then that’s good news! You’ll receive your overpayment amount directly into your bank account, which you have provided.</p><p>However, if you have an underpayment amount, then you need to create a <strong>micro payment (mikrorachunek)</strong> account on the same website and pay the amount to the account that you just obtained. For more information about “micro payment” account, please <a href="https://www.podatki.gov.pl/mikrorachunek-podatkowy/"><strong>click here.</strong></a></p><p>If you need any further information, please do not hesitate to contact me.</p><p>Good luck! 🤞</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4188e92a3fed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fix for Java Cannot Find Symbol: QClasses]]></title>
            <link>https://batuhankok.medium.com/fix-for-java-cannot-find-symbol-qclasses-f6ed3a591787?source=rss-7840e044c268------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6ed3a591787</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[generated-sources]]></category>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[qclass]]></category>
            <category><![CDATA[intellij-idea]]></category>
            <dc:creator><![CDATA[Batuhan Kök]]></dc:creator>
            <pubDate>Tue, 29 Nov 2022 19:51:34 GMT</pubDate>
            <atom:updated>2022-11-29T19:51:34.488Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RUfzi92Xa2737L-Jx-8Swg.png" /></figure><p>When you use QueryDSL or something similar, they generate some classes in build process instead of you. With these auto generated codes, some operations migth be easier for you or they can save your time to generate like getter/setter methods everytime that you change the properties of the class.</p><p>However, these generated classes might be a little bit annoying. Even if you try to build or compile the project, you may not have generated classes or dispite you have the codes, sometimes Java cannot find these classes.</p><p>Actually, you can try some methods to fix this, but first, I recommend you to need to check and perform the method that I’ll share below.</p><p>Let’s save your time and mental health with such a trick;</p><ol><li>Open the project</li><li>Build it with Maven or Gradle</li><li>Scroll down to “<em>target</em>” folder</li><li>Right click to “<em>generated-sources &gt; java</em>”</li><li>Select “<em>Generated Sources Root</em>”</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*y6L1rPM07GXyrJAOtP_-tw.png" /><figcaption>IntelliJ IDEA — JetBrains</figcaption></figure><p>And that’s it! It should fix the error and you should be able to see your generated classes.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fj9T65td3Kjqko%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fj9T65td3Kjqko%2Fgiphy.mp4&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fj9T65td3Kjqko%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="217" frameborder="0" scrolling="no"><a href="https://medium.com/media/c774a5c402245d3d76e5d827a91d92d8/href">https://medium.com/media/c774a5c402245d3d76e5d827a91d92d8/href</a></iframe><p>See ya 👋</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6ed3a591787" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Cancel a Pending Ethereum Transaction (MetaMask)]]></title>
            <link>https://batuhankok.medium.com/how-to-cancel-a-pending-ethereum-transaction-metamask-932e8cd492ca?source=rss-7840e044c268------2</link>
            <guid isPermaLink="false">https://medium.com/p/932e8cd492ca</guid>
            <category><![CDATA[pending-transaction]]></category>
            <category><![CDATA[metamask]]></category>
            <category><![CDATA[cancel-transaction]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[stuck-transaction]]></category>
            <dc:creator><![CDATA[Batuhan Kök]]></dc:creator>
            <pubDate>Tue, 08 Feb 2022 19:53:38 GMT</pubDate>
            <atom:updated>2022-02-08T19:53:38.558Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0p42HgQu6bYb3vKPUBDQxw.jpeg" /></figure><p>Ethereum transactions are processed by miners. Depending on the density of the network, the transaction fee to be paid to the miners is constantly changing. There are 3 keywords that are important at this point, gas cost, gas price, and gas limit.</p><p>Gas cost is a value required by the desired operation. This value is determined according to the complexity of the operation to be performed. Gas price is the fee to be paid for one unit of gas cost, and the gas limit is the amount you are willing to pay for this transaction.</p><p>These values can be set by you before the transaction is started. If these values ​​are set to low or the traffic on the network increases before your transaction is complete, your transaction may be stuck. If a transaction gets stuck in your wallet, the Ethereum network will not allow you to initiate a new transaction. Therefore, you can cancel your pending transaction by following the steps below.</p><p><em>Why don’t we use the cancel button? Because I do not recommend it.</em></p><ol><li>Open the popup by clicking on the MetaMask icon.</li><li>Find your pending transaction using the “Activity” tab and click “details”. Note the “nonce” value that comes up.</li></ol><p><em>Note: If there is more than one pending transaction, start with the oldest one first.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Hzn-ZlZLY1dY_WkjdxXNQ.png" /><figcaption>Find your stuck transaction’s nonce</figcaption></figure><p>3. Then go to MetaMask settings and click “advanced”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*3Se7ImLl-qpQVaIpOj_eCQ.png" /><figcaption>Go to your MetaMask advanced settings</figcaption></figure><p>4. Scroll down and enable the “Customize transaction nonce” setting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8xRZ3wAlqa9TW0HpdBmlpg.png" /><figcaption>Make it on to customize the nonce</figcaption></figure><p>5. Return to the main screen and copy your wallet address by clicking on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kwkTLKz9JTUWhyF2QMU3Aw.png" /><figcaption>Copy your wallet address</figcaption></figure><p>6. Now initiate a new transaction to send zero Eth to your own wallet address and enter the nonce value you noted in “step 2” to the “custom nonce field” and confirm the transaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-hMkTbcqGHYVTPsCzpezpA.png" /><figcaption>Confirm solver transaction :)</figcaption></figure><p>When the transaction you confirmed is successful, it will be replaced with your pending transaction and you can now do your transactions as you wish 🎉</p><p><strong>Notes:</strong></p><ul><li>To avoid accidents, make sure to toggle the “Customize transaction nonce” option back to OFF.</li><li>Make sure you are using the same device in which you made the stuck transaction.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=932e8cd492ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GCP’de Kafka Kurulumu]]></title>
            <link>https://medium.com/dogus-tech-digital-solutions/gcpde-kafka-kurulumu-6b44e427f6f9?source=rss-7840e044c268------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b44e427f6f9</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[conduktor]]></category>
            <category><![CDATA[kafka-client]]></category>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[apache-kafka]]></category>
            <dc:creator><![CDATA[Batuhan Kök]]></dc:creator>
            <pubDate>Thu, 13 Jan 2022 09:15:58 GMT</pubDate>
            <atom:updated>2022-01-13T09:15:58.957Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cuLdbFXlSpvcbJG_HM64Lg.png" /></figure><h3><strong>GCP’de Kafka Kurulumu</strong></h3><p>Yakın zamanda bir proje için <strong>Google Cloud Platform</strong>’da koşan bir <strong>Kafka</strong>’ya ihtiyacımız oldu. Bu sebeple kurumlar için izleyebileceğimiz yolları araştırmaya başladık. Yaptığımız araştırmalar sonucunda, kurulum için bir kaç farklı yöntem olduğunu gördük. Bize en uygun olan yöntem ise, en hızlı olan olduğu için kurulum tercihimizi birazdan anlatacağım üçüncü yöntemden yana kullandık.</p><p>Bugün hem diğer yollardan hem de kendi seçtiğimiz yoldan bahsederek, adım adım <strong>GCP</strong> üzerinde Kafka’yı kurup, nasıl erişebileceğimizi anlatacağım.</p><h4><strong>Hangi yollar mevcut?</strong></h4><p>Kafka kurmanın bir çok yolu olması rağmen en efektif olan yolları aşağıda listeledim. İhtiyacınıza göre diğer yolları da tercih edebilirsiniz.</p><p><strong>1. Kubernetes Engine</strong></p><p>Kubernetes Engine üzerine <strong>wurstmeister/kafka</strong> imajını deploy ederek Kafka kullanabiliriz. İlgili imaja ve kurulum dokümanlarına ulaşmak için <a href="https://hub.docker.com/r/wurstmeister/kafka"><strong>bu linki</strong></a> kullanabilirsiniz.</p><p><strong>2. Confluent: Managed Apache Kafka for Google Cloud Platform.</strong></p><p>Bu yolla kolay kullanım arayüzlerine ve bir çok ekstra işleve çok hızlı bir şekilde ulaşılabilse de, kendisi ücretli bir servistir. Detaylı bilgi ve ücretlendirme için <a href="https://www.confluent.io/"><strong>Confluent</strong></a> websitesini ziyaret edebilirsiniz.</p><p>3. <strong>GCP Click to Deploy</strong></p><p>Bizim de tercih ettiğimiz bu yol <strong>GCP Marketplace</strong>’de yer almakta ve bu sayede <strong>Compute Engine</strong> üzerindeki bir VM’e çok hızlı bir şekilde Kafka kurabiliriz.</p><p>Üstelik <strong>Click to Deploy</strong> kullanımı için herhangi bir ücret ödemeyeceksiniz.</p><h4><strong>Apache Kafka Kurulumu</strong></h4><ol><li>Öncelikle GCP console’a kullanıcımız ile giriş yapıyoruz.</li><li><a href="https://console.cloud.google.com/marketplace/details/click-to-deploy-images/kafka"><strong>Buradaki linki</strong></a> kullanarak <strong>Kafka Click to Deploy</strong>’a ulaşıyoruz.</li><li>Launch butonuna tıklıyoruz. (bugün itibari ile yaklaşık en düşük vm ücreti: $24.75/ay)</li><li>Eğer karşımıza “Required APIs” sayfası gelirse, “Enable” butonuna tıklayabilirsiniz.</li><li>Karşımıza VM’in ayarları çıkacak, burada dilediğiniz ayarı yapabilirsiniz. <em>(default olarak da bırakabilirsiniz)</em></li><li>Ardından Deploy butonuna tıklıyoruz ve bekliyoruz.</li></ol><p>Ve Kafka kurulumunu başarıyla tamamlamış olduk.</p><h4>External ve Internal IP’leri Bulalım</h4><p>GCP console üzerinden “Compute Engine &gt; VM Instances” akışını kullanarak mevcut VM’lerin listesine ulaşıyoruz. Biraz önce <strong>One Click Deploy</strong> ile uygulamayı oluştururken VM’e verdiğimiz ismi bu sayfadaki tabloda buluyoruz ve en sağ tarafta bulunan “Internal IP” ve “External IP” sütunundaki IP’leri kopyalıyoruz ve bir yere not ediyoruz.</p><ul><li><strong>External IP:</strong> Bu bizim makinemizin Public IP’si, ileride uzak bağlantı için kullanacağız.</li><li><strong>Internal IP:</strong> Aynı network’de bu makineye ulaşmak istediğimizde kullanacağımız IP. İlerleyen aşamalarda “$BROKER_IP” olarak kullanacağız.</li></ul><h4>Hızlı Bir Test</h4><p>Aşağıdaki adımalara geçmeden önce isterseniz kurduğumuz VM’e SSH ile bağlanarak minik bir test yapabiliriz. Bunun için;</p><ol><li>Öncelikle az önce deploy ettiğimiz Kafka VM Instance’ına tekrar ulaşalım.</li><li>Ardından tablonun en sağında bulunan “SSH” butonuna tıklayıp, makineye bağlanalım.</li><li>Sonrasında aşağıdaki komut satırlarını sırasıyla çalıştıralım ve mesajımızın topic’e yazıldığını görelim.</li></ol><pre><strong>batuhan@kafka-vm:~$</strong> export BROKER_IP=10.164.0.2<br><strong>batuhan@kafka-vm:~$</strong> sudo apt install -y kafkacat<br><strong>batuhan@kafka-vm:~$</strong> echo &#39;Heyyo!&#39; | kafkacat -b $BROKER_IP:9092 -t dt_topic<br><strong>batuhan@kafka-vm:~$</strong> kafkacat -b $BROKER_IP:9092 -t dt_topic -e</pre><pre><em>Heyyo!</em></pre><p><em>Not: Buradaki “BROKER_IP” biraz önceli “Internal IP”’dir.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fsrg19CG0cKMuI%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fsrg19CG0cKMuI%2Fsource.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fsrg19CG0cKMuI%2F200.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="245" frameborder="0" scrolling="no"><a href="https://medium.com/media/adfc33ed553cd14a892660b7c3bbe4fa/href">https://medium.com/media/adfc33ed553cd14a892660b7c3bbe4fa/href</a></iframe><h4><strong>Firewall Rule (Kuralları)</strong></h4><ol><li>“VPC network &gt; Firewall” menüsü altından önce firewall’a erişelim.</li><li>2. Ardından “Create Firewall Rule” butonuna tıklayarak aşağıdaki rule’ları tanımlayabilirsiniz.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*1Bdl-yI8ZsLnUtPjWd2bZg.png" /><figcaption>Firewall Kuralları</figcaption></figure><ul><li><strong>TCP:22</strong> portuna izin vermemizin sebebi, VM’e ssh bağlantısı yapabilmemizi sağlamak.</li><li><strong>TCP:9092</strong> ise Kafka’nın default port’u. Eğer bir producer uygulamamız varsa ve GCP üzerinde <strong>aynı VPC</strong> içerisindeyse aslında <strong>9092</strong> portunu açmanıza gerek yok. Ancak özellikle development ortamı için açılabilir ki local’den bir client aracılığı ile topic’leri ya da gelen message’ları görebilelim.</li><li><strong>80 ve 443</strong> portları ise bidiğiniz gibi HTTP ve HTTPS erişim için.</li></ul><h4><strong>Kafka Ayarları</strong></h4><p>Kafka’ya uzak bağlantı yapabilmek için öncelikle bir kaç ayar yapmamız gerekiyor. Bu sebeple, yine “Compute Engine &gt; VM Instances” akışını takip ediyoruz, kurduğumuz Kafka VM Instance’ının yanında bulunan “SSH” butonuna tıklayarak VM’e ssh bağlantısı yapıyoruz. Daha sonra aşağıdaki komutu çalıştırıyoruz.</p><pre>batuhan@kafka-vm:~$ sudo nano /opt/kafka/config/server.properties</pre><p>Açılan server.properties dosyasındaki “advertised.listeners” satırını bulup, başındaki “#” sembolünü siliyoruz ve aşağıdaki şekilde düzenledikten sonra kaydedip çıkıyoruz.</p><pre>advertised.listeners=PLAINTEXT://123.45.67.89:9092</pre><p>Buradaki <strong>123.45.67.89</strong> IP’si biraz önce “External IP” olarak bahsettiğim IP olmalıdır.</p><p>Ardından Kafka’yı restart etmek için aşağıdaki komutu çalıştırıyoruz.</p><pre>batuhan@kafka-vm:~$ sudo systemctl restart kafka</pre><p>Artık Kafka ayarlarımız da bittiğine göre her şey tamam. “123.45.67.89:9092&quot; üzerinden kurduğumuz Kafka’ya erişebilirsiniz.</p><h4><strong>Kafka Client</strong></h4><p><strong>macOS</strong> kullanıcılarına <a href="https://www.conduktor.io/"><strong>Conduktor</strong></a> uygulamasını rahatlıkla tavsiye ederim. Bir süre önce keşfettim ve oldukça memnunum. Zaten çok fazla seçeneğimiz olduğu da söylenemez 😊</p><p><strong>Windows</strong> için de <a href="https://www.kafkatool.com/"><strong>Kafka Tool</strong></a> adında bir uygulamaya denk geldim fakat Windows cihazım olmadığı için henüz test edemedim.</p><p>Kolay gelsin 👋</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b44e427f6f9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dogus-tech-digital-solutions/gcpde-kafka-kurulumu-6b44e427f6f9">GCP’de Kafka Kurulumu</a> was originally published in <a href="https://medium.com/dogus-tech-digital-solutions">Doğuş Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Customization of BigBlueButton 2.2]]></title>
            <link>https://medium.com/dogus-tech-digital-solutions/customization-of-bigbluebutton-2-2-4086507d5851?source=rss-7840e044c268------2</link>
            <guid isPermaLink="false">https://medium.com/p/4086507d5851</guid>
            <category><![CDATA[customization]]></category>
            <category><![CDATA[greenlight]]></category>
            <category><![CDATA[meetings]]></category>
            <category><![CDATA[bigbluebutton]]></category>
            <dc:creator><![CDATA[Batuhan Kök]]></dc:creator>
            <pubDate>Mon, 18 Oct 2021 21:52:25 GMT</pubDate>
            <atom:updated>2021-10-25T09:11:11.095Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SwFBBEiHul8nut6Pc5OBlg.png" /></figure><p>In my <a href="https://medium.com/dogus-tech-digital-solutions/how-to-install-and-configure-bigbluebutton-2-2-9a439f6633b5">previous post</a>, I explained in detail how to install the BigBlueButton. If you are still having problems with the installation, please re-check the steps in <a href="https://medium.com/dogus-tech-digital-solutions/how-to-install-and-configure-bigbluebutton-2-2-9a439f6633b5">this post</a>.</p><p>In this article, we’re going to customize both BigBlueButton 2.2 and its user interface “Greenlight”. Let’s review its folder structure.</p><h3>File/Folder Structure of Greenlight</h3><p>When you connect the server via SSH, the root path welcomes you.</p><pre><strong>batuhan $ </strong>ssh root@123.123.123.123<br><strong>root@bbb: </strong>root@123.123.123.123&#39;s password:<strong><br>root@bbb: </strong>Welcome to Ubuntu 18.04.6 LTS<strong><br>root@bbb: </strong>~#<br><strong>root@bbb: </strong>~# ls<br>greenlight</pre><p>In the folder of “greenlight”, there are 2 important files. One of them is “docker-compose.yml” and the other one is “.env” file.</p><ul><li>docker-compose.yml : To run the apps via Docker</li><li>.env : Contains some credentials</li></ul><h3>Convert Greenlight to Customization Mode</h3><p>If you want to customize Greenlight, you need to take actions below:</p><pre><strong>root@bbb:</strong> ~# mv greenlight greenlight-old<br><strong>root@bbb:</strong> ~# git clone <a href="https://github.com/bigbluebutton/greenlight.git">https://github.com/bigbluebutton/greenlight.git</a><br><strong>root@bbb:</strong> ~# cp greenlight-old/.env greenlight/.env</pre><p>We moved “greenlight” folder to “greenlight-old” folder. Then, we clone the original repository to our sever and we copy “.env” file from the old to the new “greenlight” folder. Now, we need to update greenlight’s docker-compose file.</p><pre><strong>root@bbb:</strong> ~# cd greenlight<br><strong>root@bbb:</strong> ~/greenlight# nano docker-compose.yml</pre><p>docker-compose.yml opens like this:</p><pre>version: &#39;3&#39;</pre><pre>services:<br>   app:<br>      entrypoint: [bin/start]<br>      image: bigbluebutton/greenlight:v2<br>      container_name: greenlight-v2<br>      env_file: .env<br>      ...<br>   ...<br>...</pre><p>We need to change “image:” line with:</p><pre>image: uzem:release-v2</pre><p>So, the final docker-compose.yml must be like that:</p><pre>version: &#39;3&#39;</pre><pre>services:<br>   app:<br>      entrypoint: [bin/start]<br>      image: uzem:release-v2<br>      container_name: greenlight-v2<br>      env_file: .env<br>      ...<br>   ...<br>...</pre><p>Now, we can build and up Greenlight with this:</p><pre><strong>root@bbb:</strong> ~/greenlight# docker-compose down &amp;&amp; ./scripts/image_build.sh uzem release-v2 &amp;&amp; docker-compose up -d</pre><p>If there is no error, everything is okay, we can proceed to customizations 😊</p><h3>Greenlight Customizations</h3><p>Let’s customize the user interface application of BigBlueButton.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_RBhug9VhkXiDjYbGuNv2A.png" /><figcaption>Site Settings Page of Greenlight</figcaption></figure><p><strong>How to change the logo?</strong><br>Login to Greenlight with your admin credentials and click to “organization &gt; site settings”. You can paste your logo URL to “Branding Image” field.</p><p><strong>How to change colors?</strong><br>Login to Greenlight with your admin credentials and click to “organization &gt; site settings”. You can choose a new color by clicking to “Primary Color”.</p><p><strong>How to “Features” block in the homepage for guests?</strong><br>Connect to the server via a simple FTP client. Go to “/greenlight/app/views/main/components/” and edit “_features.html.erb” file with any code editor.</p><p><strong>How to page title and favicon?</strong><br>Connect to the server via a simple FTP client. Go to “/greenlight/app/views/layouts/” and edit “application.html.erb” file with any code editor.</p><p><strong>How to remove recordings from logged-in users?</strong><br>Connect to the server via a simple FTP client. Go to “/greenlight/app/views/users/” and edit “recordings.html.erb” file with any code editor.</p><h3>BigBlueButton Customizations</h3><p>Let’s edit the BigBlueButton application for editing meeting pages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IujqnjWlUttHkzCaVE40PA.png" /><figcaption>BigBlueButton’s Folders (Transmit)</figcaption></figure><p><strong>How to change the page title of the meeting page?</strong></p><pre><strong>root@bbb:</strong> ~# nano /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml</pre><p><strong>How to change the default welcome message?</strong></p><pre><strong>root@bbb:</strong> ~# nano /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties</pre><p><strong>How to change some other defaults?</strong></p><ul><li><strong>Default favicon:</strong> /var/www/bigbluebutton-default/favicon.ico</li><li><strong>Default presentation:</strong> /var/www/bigbluebutton-default/default.pptx</li><li><strong>Default pdf:</strong> /var/www/bigbluebutton-default/default.pdf</li></ul><h3>Bonus 🎉</h3><ul><li>Restart only BigBlueButton:</li></ul><pre><strong>root@bbb:</strong> ~# bbb-conf — restart</pre><ul><li>Adding new admin:</li></ul><pre><strong>root@bbb:</strong> ~# docker exec greenlight-v2 bundle exec rake user:create[&quot;Batuhan Kök&quot;,&quot;hello@batuhan.me&quot;,&quot;123456&quot;,&quot;admin&quot;]</pre><ul><li>Recordings: <em>10 minutes meeting record ~= 10 mb.</em></li></ul><p>Have a great day 👋</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4086507d5851" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dogus-tech-digital-solutions/customization-of-bigbluebutton-2-2-4086507d5851">Customization of BigBlueButton 2.2</a> was originally published in <a href="https://medium.com/dogus-tech-digital-solutions">Doğuş Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Install and Configure BigBlueButton 2.2]]></title>
            <link>https://medium.com/dogus-tech-digital-solutions/how-to-install-and-configure-bigbluebutton-2-2-9a439f6633b5?source=rss-7840e044c268------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a439f6633b5</guid>
            <category><![CDATA[digitalocean]]></category>
            <category><![CDATA[bigbluebutton]]></category>
            <category><![CDATA[cloudflare]]></category>
            <category><![CDATA[bigbluebutton-install]]></category>
            <category><![CDATA[customization]]></category>
            <dc:creator><![CDATA[Batuhan Kök]]></dc:creator>
            <pubDate>Wed, 13 Oct 2021 14:04:57 GMT</pubDate>
            <atom:updated>2021-10-13T14:21:54.020Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-pADpWak1wukAmm_bee88w.png" /></figure><h3>What is BigBlueButton?</h3><blockquote><a href="https://bigbluebutton.org/"><strong>BigBlueButton</strong></a> is a free software web conferencing system for Linux servers. Its intended use is online learning. BigBlueButton is an affiliate member of the <a href="https://en.wikipedia.org/wiki/Open_Source_Initiative">Open Source Initiative</a>.</blockquote><h3>BigBlueButton Features</h3><p>BigBlueButton offers many different features. Apart from all these features, the best part of the project is that it is completely open-source and <strong>free for commercial use</strong>.</p><ul><li>Real-time sharing of audio, video, screen</li><li>Save and share recordings</li><li>Multiple rooms and sessions at the same time</li><li>Unlimited participation</li><li>Password protected sessions</li><li>Public and private chats</li><li>Many settings for rooms</li><li>Upload of PDF and Microsoft Office documents</li><li>Interactive whiteboard</li><li>Integration with phone systems (using <a href="https://en.wikipedia.org/wiki/FreeSWITCH">FreeSWITCH</a>)</li></ul><h3>How to Install BigBlueButton 2.2</h3><p>I decided to use Digital Ocean to install BigBlueButton on Ubuntu. Before the installation, I assumed that you have a Digital Ocean account, if not, you can register it via <a href="https://m.do.co/c/e5320854994a">this link.</a> (with this link, you will earn $100 for 60 days)</p><ol><li>Create a new Droplet on Digital Ocean</li></ol><ul><li>Choose an image: <strong>Ubuntu 18.04 (LTS) x64</strong></li><li>Choose a plan: 8CPUs / 16GB RAM (<a href="https://docs.bigbluebutton.org/2.2/install.html#minimum-server-requirements">min. server requirements</a>)</li><li>Choose a datacenter region: Frankfurt (the nearest one)</li><li>Authentication: Set a strong password of SSH</li><li>Choose a hostname: <em>bbb.batuhan.me </em>(example)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*02_-fH953fukNCLYJaKsdg.png" /><figcaption>Preview of the Droplet on Digital Ocean</figcaption></figure><p>2. Configure your domain on Cloudflare (<em>optional)</em></p><ul><li>Log in to your Cloudflare account.</li><li>Add a new “A Record” like below:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WJV9zXxqGL2KnPcgxcCGlQ.png" /><figcaption>Adding New Record on Cloudflare</figcaption></figure><p>3. Connect your Droplet via SSH</p><pre><strong>batuhan $</strong> ssh root@123.123.123.123</pre><p>4. Run the command below:</p><pre><strong>batuhan@bbb.batuhan.me $ </strong>wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-230 -s bbb.batuhan.me -e hello@batuhan.me -w -g</pre><p><em>The process above can take about 15–20 mins depends on your server’s resources.</em></p><p><strong>Installation is done!</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FSVBCNZN0PrKS8ziSha%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FSVBCNZN0PrKS8ziSha%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FSVBCNZN0PrKS8ziSha%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/7759b0a11670f67bcafedcc5e3b21f6b/href">https://medium.com/media/7759b0a11670f67bcafedcc5e3b21f6b/href</a></iframe><h3>Accessing User Interface (Greenlight)</h3><p>First, you need to set a new administrator account via SSH. The command below will generate the account automatically.</p><pre><strong>batuhan@bbb.batuhan.me $</strong> docker exec greenlight-v2 bundle exec rake admin:create</pre><p>You can reach Greenlight (user interface of BigBlueButton) via “bbb.batuhan.me/b” and you can log in with the credentials you just created.</p><h3>Helpful Links</h3><ul><li><a href="https://docs.bigbluebutton.org/">Full documentation</a> of BigBlueButton.</li><li>Helpful <a href="https://docs.bigbluebutton.org/greenlight/gl-overview.html">documentation</a> of Greenlight.</li><li><a href="https://github.com/bigbluebutton">Github repositories</a> of the project.</li><li>“How to use” <a href="https://docs.bigbluebutton.org/admin/bbb-conf.html">documentation</a> of bbb-conf.</li></ul><p>Have a great day 👋</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a439f6633b5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dogus-tech-digital-solutions/how-to-install-and-configure-bigbluebutton-2-2-9a439f6633b5">How to Install and Configure BigBlueButton 2.2</a> was originally published in <a href="https://medium.com/dogus-tech-digital-solutions">Doğuş Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IntelliJ — Where is the “New Class” Button?]]></title>
            <link>https://batuhankok.medium.com/intellij-where-is-the-new-class-button-24399bb08450?source=rss-7840e044c268------2</link>
            <guid isPermaLink="false">https://medium.com/p/24399bb08450</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[intellij]]></category>
            <category><![CDATA[ideas]]></category>
            <category><![CDATA[kotlin]]></category>
            <dc:creator><![CDATA[Batuhan Kök]]></dc:creator>
            <pubDate>Tue, 12 Oct 2021 08:22:29 GMT</pubDate>
            <atom:updated>2021-10-12T08:33:53.455Z</atom:updated>
            <content:encoded><![CDATA[<h3>IntelliJ — Where is the “New Class” Button?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K_XcCjT3crp6gtdQOBjM_Q.png" /></figure><p>You have created a new project or opened an existing project…</p><p>You want to create a new Kotlin or Java class…</p><p>You right-click on a package as always…</p><p>However, there is no “New Java Class” or “New Kotlin Class” option…</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FaWPGuTlDqq2yc%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FaWPGuTlDqq2yc%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia4.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExaGRsdWJkOXJxN3hldDQ0NWJidnVpZnl1Z2F0MmVveW9xMWFobWlpOCZlcD12MV9naWZzX2dpZklkJmN0PWc%2FaWPGuTlDqq2yc%2Fgiphy.gif&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="228" frameborder="0" scrolling="no"><a href="https://medium.com/media/7dea8367f81a7c513212d2422bf8f627/href">https://medium.com/media/7dea8367f81a7c513212d2422bf8f627/href</a></iframe><h4>Let’s Fix This</h4><ol><li>Go to root package/folder of your project.</li><li>Right-click on it.</li><li>Select “Mark Directory as” → “Sources Root”</li><li>Now, you can create a new classes as you want.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*L7693CNLoT_0Qjdh1qn3ZA.png" /><figcaption>How to mark directory as “sources root” on IntelliJ</figcaption></figure><p>Have a great day 👋</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24399bb08450" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>