Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096| function cci(principal, rate, frequency, years) { | |
| return principal * Math.pow(1 + rate / frequency, frequency * years); | |
| } | |
| var capital = 550; | |
| var tokenRate = 1.185; | |
| var apr = 2.15; | |
| var compoundFee = 0.45; |
| // regular expression based | |
| function isEmoji(text) { | |
| return (new RegExp(/[\uD800-\uDBFF]/g).test(text) && new RegExp(/[\uDC00-\uDFFF]/g).test(text)); | |
| } | |
| // canvas bases, slow and depend if the system can draw the emoji | |
| function isEmojiCanvas(text) { | |
| const ArrayLikeToString = arg => Array.prototype.toString.call(arg); | |
| const getTextFeature = (text, color) => { | |
| try { |
| # Java | |
| export JAVA_HOME=$(/usr/libexec/java_home) | |
| # NVM / Node | |
| export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | |
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
| # Yarm | |
| export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" |
| CREATE USER 'el_user'@'%' IDENTIFIED BY 'elpass'; | |
| GRANT ALL PRIVILEGES ON el_user_*.* TO 'cleek_dba'@'%'; | |
| GRANT ALL PRIVILEGES ON `el_user_\_%` . * TO 'el_user'@'%'; |
| function getAttr(o, p, d) { | |
| if (!Array.isArray(p)) { p = p.split("."); } | |
| var def = (d === null) ? null : (d || false); | |
| return p.reduce((xs, x) => (xs && xs[x] !== undefined) ? xs[x] : def, o) | |
| } |
| FROM ubuntu:16.04 | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| python-pip \ | |
| python-setuptools \ | |
| libxml2-dev \ | |
| libxslt1-dev \ | |
| zlib1g-dev \ | |
| elasticsearch \ | |
| redis-server \ |
| #! /bin/bash | |
| # $1 user | |
| # $2 from path | |
| # prerequisites: | |
| # create sftp-only group | |
| # sudo groupadd sftp-only | |
| # add sftp-only configurations | |
| # we need to modify the ssh configuration on file /etc/ssh/sshd_config replacing the following line: |
| #! /bin/bash | |
| # $1 user | |
| # $2 from path | |
| # prerequisites: | |
| # create sftp-only group | |
| # sudo groupadd sftp-only | |
| # add sftp-only configurations | |
| # we need to modify the ssh configuration on file /etc/ssh/sshd_config replacing the following line: |
| // for jquery | |
| $( document ).ready(function() { | |
| $(".smoothScroll").on('click', function(e){ | |
| smoothScroll(e); | |
| }) | |
| }); |