I hereby claim:
- I am bazi on github.
- I am azilet (https://keybase.io/azilet) on keybase.
- I have a public key whose fingerprint is 791F 1BDC 9C50 54D2 CED1 5D72 2515 193D E2DB 58B4
To claim this, I am signing this object:
Hello Gist World! |
package controllers.helper; | |
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.OutputStream; | |
import java.util.Base64; | |
import java.util.UUID; |
I hereby claim:
To claim this, I am signing this object:
Generate key pair, pass phrase will be asked
openssl genrsa -aes128 -out jetty.key
Generate a certificate for the key generated above (you should know the pass phrase for the key).
You will be asked to enter some info about you/your org to build a Distinguished Name (DN).
The only mandatory response to provide is the fully qualified host name of the server at the "Common Name".
Note that i used -days 365
option to make certificate valid for one year, change as needed
# to disable default key bindings, here Alt+F7(move window) and Alt+F8(resize window) | |
gsettings set org.gnome.desktop.wm.keybindings begin-resize [] | |
gsettings set org.gnome.desktop.wm.keybindings begin-move [] | |
# to revert | |
gsettings reset org.gnome.desktop.wm.keybindings begin-move | |
gsettings reset org.gnome.desktop.wm.keybindings begin-resize |
# some more ls aliases | |
alias ll='ls -lGF' | |
alias la='ls -AG' | |
# commented out in preference to using GREP_OPTIONS | |
#alias grep='grep --color=auto' | |
#alias fgrep='fgrep --color=auto' | |
#alias egrep='egrep --color=auto' | |
target/ | |
logs/ | |
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | |
hs_err_pid* | |
# jetbrains related ignores | |
.idea/ |
" settings for vim | |
" 2016-20xx, Azilet | |
" | |
" set tab width and replace it with spaces | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set nu | |
set ruler " not set on macos |