brew install redis
Set up launchctl to auto start redis
$ ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
/usr/local/opt/redis/ is a symlink to /usr/local/Cellar/redis/x.y.z (e.g., 2.8.7)
| <section class="tw-relative tw-bg-red-50 tw-h-[900px] tw-p-5 tw-py-0 tw-pr-0"> | |
| <div class="tw-bg-yellow-200 tw-h-[1200px]">asdf </div> | |
| <!-- Cart Component --> | |
| <div class="tw-fixed tw-flex tw-flex-col tw-top-0 tw-right-0 md:tw-w-[75%] tw-bg-white tw-py-2 tw-h-screen"> | |
| <!-- Title --> | |
| <div class="tw-flex-shrink tw-bg-white tw-flex tw-py-2 tw-border-b tw-px-4"> | |
| <span class="tw-flex-1 tw-font-semibold tw-text-lg">Your Cart</span> |
| <section class="tw-w-screen tw-h-screen tw-bg-green-100 md:tw-bg-gray-100 tw-p-5"> | |
| <!-- Component Checkout Item Group List --> | |
| <div class="tw-bg-white tw-py-4 tw-mb-6"> | |
| <!-- Item Group Content --> | |
| <div class="tw-flex-row md:tw-flex tw-px-4"> | |
| <!-- Col 1 --> | |
| <div class="tw-flex-auto md:tw-w-[60%] tw-mb-6 md:tw-mb-0 md:tw-mr-3 md:tw-pr-3 md:tw-border-r"> | |
| <!-- Profile --> | |
| <div class="tw-flex tw-mb-4"> |
| <section class="md:tw-bg-red-100 tw-bg-gray-100 tw-w-screen tw-h-screen tw-p-5"> | |
| <!-- Product Group Component --> | |
| <div class="tw-bg-white tw-py-4 tw-px-2 tw-mb-6"> | |
| <!-- Header --> | |
| <div class="tw-flex tw-border-b tw-py-2 tw-mb-4"> | |
| <div class="tw-flex-1"> | |
| <label> |
| {"lastUpload":"2021-03-04T06:26:49.998Z","extensionVersion":"v3.4.3"} |
| ## http://domain.com and http://www.domain.com redirect to https://www.domain.com | |
| server { | |
| listen 80 default_server; | |
| listen [::]:80 default_server ipv6only=on; | |
| server_name domain.com www.domain.com; | |
| include /etc/nginx/snippets/letsencrypt.conf; | |
| location / { | |
| return 301 https://www.domain.com$request_uri; |
| /** | |
| * You have this: | |
| * <a href="http://localhost/data/delete/1" data-method="delete" data-confirm="Are you sure?">Delete</a> | |
| * | |
| * When above link clicked, below will rendered & triggered: | |
| * <form method="POST" action="http://localhost/data/delete/1"> | |
| * <input type="text" name="_token" value="{the-laravel-token}"> | |
| * <input type="text" name="_method" value="delete"> | |
| * </form> | |
| * |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| # create this under the Nginx configuration directory: | |
| sudo mkdir /etc/nginx/ssl | |
| # Now that we have a location to place our files, | |
| # we can create the SSL key and certificate files in one motion by typing: | |
| sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt | |
| # The only thing we would need to do to get SSL working on this same server block, | |
| # while still allowing regular HTTP connections, is add a these lines: |
| /*! | |
| * Grunt | |
| * $ npm install grunt-contrib-uglify grunt-autoprefixer grunt-contrib-cssmin grunt-contrib-imagemin grunt-contrib-sass grunt-contrib-watch grunt-contrib-concat grunt-contrib-clean grunt-contrib-jshint grunt-notify --save-dev | |
| */ | |
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| // Sass |