Geeky Hacker https://www.geekyhacker.com/ Coding, Tech & Linux Wed, 07 Jan 2026 20:38:30 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 https://i0.wp.com/www.geekyhacker.com/wp-content/uploads/2020/07/cropped-Logo_1200.png?fit=32%2C32&ssl=1 Geeky Hacker https://www.geekyhacker.com/ 32 32 172279663 Turn Raspberry Pi Zero 2 W into USB WiFi dongle https://www.geekyhacker.com/turn-raspberry-pi-zero-2-w-into-usb-wifi-dongle/ Wed, 07 Jan 2026 20:31:20 +0000 https://www.geekyhacker.com/?p=8078 The Raspberry Pi Zero 2 W is a versatile device capable of emulating multiple functionalities, such as a sound card, USB WiFi adapter, or USB storage using USB OTG (On-The-Go) [...]

The post Turn Raspberry Pi Zero 2 W into USB WiFi dongle appeared first on Geeky Hacker.

]]>
8078
What is EnumMap in Java https://www.geekyhacker.com/what-is-enummap-in-java/ Thu, 17 Apr 2025 17:45:44 +0000 https://www.geekyhacker.com/?p=8068 EnumMap is a specialized implementation of the Map data structure in which the keys are enums. It’s particularly useful in scenarios where we want to retrieve a value corresponding to [...]

The post What is EnumMap in Java appeared first on Geeky Hacker.

]]>
8068
Execute commands as the root user on OpenBSD with doas https://www.geekyhacker.com/execute-commands-as-the-root-user-on-openbsd-with-doas/ Sun, 16 Mar 2025 22:38:52 +0000 https://www.geekyhacker.com/?p=8009 In Linux, when a user wants to execute a command as the root user, they use the sudo command. In the OpenBSD world, it is different since the system, by [...]

The post Execute commands as the root user on OpenBSD with doas appeared first on Geeky Hacker.

]]>
8009
Fix CloudWatch log resource policy failed: LimitExceededException https://www.geekyhacker.com/fix-cloudwatch-log-resource-policy-failed-limitexceededexception/ Fri, 06 Dec 2024 16:53:45 +0000 https://www.geekyhacker.com/?p=7559 The LimitExceededException error can occur when running a Terraform script. It indicates that while the Terraform configuration is valid, there’s an issue with CloudWatch. If you run the same Terraform [...]

The post Fix CloudWatch log resource policy failed: LimitExceededException appeared first on Geeky Hacker.

]]>
7559
How to mock @Value field in Spring Boot https://www.geekyhacker.com/how-to-mock-at-value-field-in-spring-boot/ Tue, 03 Sep 2024 18:16:02 +0000 https://www.geekyhacker.com/?p=7545 The @Value annotation injects externalized properties into a Spring Boot application. The field’s value is usually read from the application.properties or application.yml file. While @Value eases the reading of externalized [...]

The post How to mock @Value field in Spring Boot appeared first on Geeky Hacker.

]]>
7545
How to hide an endpoint in Springdoc OpenAPI https://www.geekyhacker.com/how-to-hide-an-endpoint-in-springdoc-openapi/ Sat, 17 Aug 2024 17:41:28 +0000 https://www.geekyhacker.com/?p=7529 Springdoc OpenAPI is the best library for documenting APIs on Spring Boot applications. It is an almost drop and replacement of now the defunct SpringFox Swagger library since they share [...]

The post How to hide an endpoint in Springdoc OpenAPI appeared first on Geeky Hacker.

]]>
7529