Skip to content

Instantly share code, notes, and snippets.

View hnpanther's full-sized avatar

Hadi hnpanther

View GitHub Profile
@hnpanther
hnpanther / nfc_reader.html
Created February 12, 2025 11:17
nfc-reader-android-chrome
<!DOCTYPE html>
<html lang="en">
<head>
<title>test nfc</title>
<body>
<h1>
test nfc tag
@hnpanther
hnpanther / nginx.conf
Created January 28, 2024 08:28
Nginx as a reverse proxy
#...
http {
#...
server {
listen 80;
server_name localhost;
@hnpanther
hnpanther / server.xml
Created January 23, 2024 05:02
SSL on Tomcat
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true">
<SSLHostConfig>
<Certificate certificateKeystoreFile="path-to-file/mycertificate.cert"
type="RSA"
certificateKeystorePassword="<<password>>" />
</SSLHostConfig>
</Connector>
@hnpanther
hnpanther / logstash.conf
Created January 16, 2024 13:40
Simple Logstash configuration for spring boot application logs
# Simple Logstash configuration for spring boot application logs
input {
file {
path => "D:/files/logs/app_log.log"
start_position => "beginning"
codec => multiline {
pattern => "^%{TIMESTAMP_ISO8601}"
negate => true
what => "previous"