Fee calculation

Trading fees are always charged in the asset you receive. For example, if you buy ETH/USDT, the fee is paid in ETH. If you sell ETH/USDT, the fee is paid in USDT. For example: You place an order to buy 10 ETH for 3,452.55 USDT each: Trading fee = 10 ETH Devamı…

Define Let’s Encrypt SSL to Tomcat

cd /etc/letsencrypt/live/exampledomain.comlsopenssl pkcs12 -export -out bundle.pfx -inkey privkey.pem -in cert.pem lsmv bundle.pfx /opt/tomcat/bundle.pfx ll /opt/tomcat/bundle.pfx ll /opt/tomcat/cd /opt/tomcat/confnano server.xml<Connector protocol=”org.apache.coyote.http11.Http11NioProtocol” port=”8443″ maxThreads=”2048″ scheme=”https” secure=”true” acceptCount=”2048″ SSLEnabled=”true” clientAuth=”false” keystoreType=”PKCS12″ keystoreFile=”/opt/tomcat/bundle.pfx” keystorePass=”YOURPASSWORD” sslProtocol=”TLS” />chown tomcat:tomcat /opt/tomcat/bundle.pfx systemctl restart tomcat

Change terminal tab title

nano ~/.bashrc # enter this function footer of the .bashrc file # Update gnome terminal title function termtitle() { if [[ -z “$ORIG” ]]; then ORIG=$PS1 fi TITLE=”\[\e]2;$*\a\]” PS1=${ORIG}${TITLE} PROMPT_COMMAND=’echo -ne “\033]0;\007″‘ } # save and quit from nano # source ~/.bashrc # termtitle example title