start new:
tmux
start new with session name:
tmux new -s myname
| /** | |
| * function to generate random strings | |
| * @param int $length number of characters in the generated string | |
| * @return string a new string is created with random characters of the desired length | |
| */ | |
| function RandomString($length = 32) { | |
| $randstr; | |
| srand((double) microtime(TRUE) * 1000000); | |
| //our array add all letters and numbers if you wish | |
| $chars = array( |
This should help you get Sendmail installed with basic configuration on Ubuntu.
sudo apt-get install sendmail/etc/hosts file: nano /etc/hosts127.0.0.1 localhost yourhostnamesudo sendmailconfigsudo service apache2 restart| server { | |
| listen 80 default_server; | |
| server_name example.com www.example.com; | |
| access_log /srv/www/example.com/logs/access.log; | |
| error_log /srv/www/example.com/logs/error.log; | |
| root /srv/www/example.com/public; | |
| index index.php index.html; |
| ############################################################################ | |
| # # | |
| # ------- Useful Docker Aliases -------- # | |
| # # | |
| # # Installation : # | |
| # copy/paste these lines into your .bashrc or .zshrc file or just # | |
| # type the following in your current shell to try it out: # | |
| # wget -O - https://gist.githubusercontent.com/jgrodziski/9ed4a17709baad10dbcd4530b60dfcbb/raw/d84ef1741c59e7ab07fb055a70df1830584c6c18/docker-aliases.sh | bash | |
| # # | |
| # # Usage: # |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Floating Navigation</title> | |
| <link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> | |
| <style> | |
| @keyframes slide-nav-down { | |
| 100% { | |
| transform: translateY(0); | |
| } |