Skip to content

Instantly share code, notes, and snippets.

View neesonqk's full-sized avatar
🎯
Focusing

N.z neesonqk

🎯
Focusing
View GitHub Profile
@neesonqk
neesonqk / Ubuntu-SpringBoot-Jar-Config
Created April 13, 2019 01:51
Run, Stop SpringBoot jar @ background
# START
# hit `enter` after below command
nohup java -jar my.jar > my.out &
# STOP
ps -A |grep java
kill -9 PID
@neesonqk
neesonqk / pom.xml
Created June 21, 2020 13:29 — forked from timmolderez/pom.xml
Adding dependencies to local .jar files in pom.xml
If you'd like to use a .jar file in your project, but it's not available in any Maven repository,
you can get around this by creating your own local repository. This is done as follows:
1 - To configure the local repository, add the following section to your pom.xml (inside the <project> tag):
<repositories>
<repository>
<id>in-project</id>
<name>In Project Repo</name>
<url>file://${project.basedir}/libs</url>
@neesonqk
neesonqk / public_enc_example.sh
Created December 4, 2023 07:12 — forked from thinkerbot/public_enc_example.sh
Public-key encryption example using OpenSSL
#!/bin/bash
#
# Public-Key Encryption and Decryption
# * http://www.openssl.org/
# * http://barelyenough.org/blog/2008/04/fun-with-public-keys/
#
# Mac OS X 10.6.4
# OpenSSL 0.9.8l 5 Nov 2009
# Generate keys