Skip to content

Instantly share code, notes, and snippets.

View Hakky54's full-sized avatar
😈
Do What’s Right Not Easy

Hakan Altındağ Hakky54

😈
Do What’s Right Not Easy
View GitHub Profile
@Hakky54
Hakky54 / Playstation.rdf
Created September 28, 2026 07:38
Playstation 2 controller Infrared codes
TITLE=PlayStation
UP=up
0000 0067 0000 0080 0060 0018 0030 0017 0018 0017 0018 0017 0030 0017 0030 0017 0030 0017 002F 0018 0018 0017 0030 0017 0018 0017 002F 0018 0030 0017 002F 0018 0018 0017 0018 0017 0030 0017 0018 0017 0018 0017 0030 0017 0018 01E2 0060 0018 0030 0017 0018 0017 0018 0017 0030 0017 002F 0018 0030 0017 002F 0018 0018 0017 0030 0017 0018 0017 0030 0017 0030 0017 0030 0017 0018 0017 0018 0017 002F 0018 0018 0017 0018 0017 0030 0017 0018 01E2 0060 0017 0030 0017 0018 0017 0018 0017 0030 0017 0030 0017 002F 0018 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 0030 0017 0030 0017 0018 0017 0018 0017 0030 0017 0018 0017 0018 0017 0030 0017 0018 01E2 0060 0017 0018 0017 0018 0017 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 002F 0018 0018 0017 0030 0017 0018 0017 0030 0017 0030 0017 0018 0017 0030 0017 002F 01E2 0060 0018 0018 0017 0018 0017 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 0018 0017 0030 0017 0030 0017 0018 0017
@Hakky54
Hakky54 / README.md
Created December 7, 2023 12:32 — forked from koshatul/README.md
use Apple Keychain to store GPG Passphrases

gpg-agent setup

Need to setup gpg-agent first, on OSX I use keychain (it also does ssh-agent)

$ brew info keychain
keychain: stable 2.8.5
User-friendly front-end to ssh-agent(1)
https://www.funtoo.org/Keychain
/usr/local/Cellar/keychain/2.8.5 (7 files, 108.5KB) *
@Hakky54
Hakky54 / docker-compose.yml
Last active December 15, 2022 16:35
Zookeeper Kafka Schemaregistry in Docker
---
version: "3.9"
services:
zookeeper:
image: confluentinc/cp-zookeeper:7.2.1
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
kafka:
@Hakky54
Hakky54 / starcounter.js
Last active August 28, 2022 01:55 — forked from yyx990803/starcounter.js
Count your total stars!
var https = require('https'),
user = process.argv[2],
opts = parseOpts(process.argv.slice(3))
request('/users/' + user, function (res) {
if (!res.public_repos) {
console.log(res.message)
return
}
var pages = Math.ceil(res.public_repos / 100),
@Hakky54
Hakky54 / cheat_sheet_http_client_ssl_configuration.md
Last active April 15, 2026 07:02
Cheat Sheet - Http Client SSL TLS Configuration for Java, Kotlin, Scala, Groovy, Clojure with example http requests
@Hakky54
Hakky54 / GoogleAnalyticsTagIdAdded.java
Created May 25, 2021 20:24
Adding Google Analytics script to html files
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
@Hakky54
Hakky54 / BRACES.MD
Last active April 21, 2025 18:46
Braces cheatsheet

braces-clipart-punctuation-6-original

@Hakky54
Hakky54 / curl-with-java-keystore.md
Last active May 11, 2025 15:14
Curl with Java KeyStore

Curl with Java KeyStore

Curl doesn't have support for java keystore file, so therefor the file should be converted to a PEM format. It consists of the following multiple steps:

  1. Convert keystore to p12 file
  2. Convert p12 file to pem file
  3. Run curl command with pem files

One way TLS/SSL/Authentication

Convert keystore to p12 file

@Hakky54
Hakky54 / openssl_commands.md
Last active September 25, 2026 16:33 — forked from p3t3r67x0/openssl_commands.md
OpenSSL Cheat Sheet

OpenSSL Cheat Sheet 🔐

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@Hakky54
Hakky54 / README.md
Created October 14, 2019 04:46 — forked from hofmannsven/README.md
Git Cheatsheet