This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.stream.IntStream; | |
| import static java.lang.Character.getName; | |
| import static java.lang.Character.toChars; | |
| interface App { | |
| record Emoji(int codePoint){ | |
| String name(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Bundled plugins for IntelliJ IDEA 2025.3 (253.27864.23): | |
| AngularJS (Angular) | |
| ByteCodeViewer (Bytecode Viewer) | |
| Coverage (Code Coverage for Java) | |
| Docker (Docker) | |
| Git4Idea (Git) | |
| HtmlTools (HTML Tools) | |
| JBoss (WildFly) | |
| JSIntentionPowerPack (JavaScript Intention Power Pack) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file should be in ~/.gradle/gradle.properties | |
| # | |
| # In build.gradle.kt | |
| # tasks { | |
| # ... | |
| # runIde { | |
| # if (project.hasProperty("runIde_ideDir")) { | |
| # ideDir = file("${project.extra["runIde_ideDir"]}") | |
| # } | |
| # } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| runIde_ideDir=/home/sandipchitale/.local/share/JetBrains/Toolbox/apps/intellij-idea-ultimate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void searchActionMap(String text, JTextArea textArea) { | |
| if (text.isEmpty()) { | |
| textArea.setCaretPosition(0); | |
| } else { | |
| int index = textArea.getText().toLowerCase().indexOf(text.toLowerCase(), textArea.getCaretPosition()); | |
| if (index == -1) { | |
| // Try to wrap | |
| index = textArea.getText().toLowerCase().indexOf(text.toLowerCase()); | |
| if (index == -1) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.awt.event.KeyEvent; | |
| import java.util.*; | |
| public class KeyEventCombinationTable { | |
| public static void main(String[] args) { | |
| // Get all VK_ fields | |
| List<String> vkFields = new ArrayList<>(); | |
| // List<String> asciiChars = new ArrayList<>(); | |
| // Collect VK_ fields |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.springframework.data.jpa.repository.Query; | |
| import org.springframework.data.repository.CrudRepository; | |
| import java.util.Optional; | |
| public interface NamesToDiff1Repository extends CrudRepository<NamesToDiff1, Long> { | |
| @Query(value = "SELECT ctid FROM names", nativeQuery = true) | |
| Iterable<Object> findAllRowIds(); | |
| @Query(value = "SELECT * FROM names WHERE ctid = ?::tid", nativeQuery = true) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sample url to load config: | |
| https://start.spring.io/#!type=gradle-project&language=java&bootVersion=3.3.4&baseDir=demo&groupId=com.example&artifactId=demo&name=BABA&description=BUI%20project%20for%20Spring%20Boot&packageName=com.example.demo&packaging=jar&javaVersion=17&dependencies=web | |
| https://start.spring.io/#!type=gradle-project | |
| language=java | |
| bootVersion=3.3.4 | |
| baseDir=demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > netstat -anpt46 | |
| (Not all processes could be identified, non-owned process info | |
| will not be shown, you would have to be root to see it all.) | |
| Active Internet connections (servers and established) | |
| Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name | |
| tcp 0 0 127.0.0.1:3200 0.0.0.0:* LISTEN 7430/java | |
| tcp 0 0 127.0.0.1:52829 0.0.0.0:* LISTEN 2213/./jetbrains-to | |
| tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN - | |
| tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN - | |
| tcp 0 0 0.0.0.0:27500 0.0.0.0:* LISTEN - |
NewerOlder