$ zmv -n '(.)(<->)(.[^.]#)' '$1$(($2+1))$3' # would rename x.0001.y to x.2.y. $ zmv -n '(.0#)(<->)(.[^.]#)' '$1$(($2+1))$3'
$ zmv '*' '${(L)f}'
$ autoload zmv
| # For use in Chef: | |
| # Adds a command: git-pull-recursive | |
| file "/usr/local/bin/git-pull-recursive" do | |
| owner "root" | |
| group "root" | |
| mode "0755" | |
| action :create | |
| content 'find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && git pull" \;' | |
| end |
| @if ($paginator->hasPages()) | |
| <div class="flex items-center"> | |
| {{-- Previous Page Link --}} | |
| @if ($paginator->onFirstPage()) | |
| <span class="rounded-l rounded-sm border border-brand-light px-3 py-2 cursor-not-allowed no-underline">«</span> | |
| @else | |
| <a | |
| class="rounded-l rounded-sm border-t border-b border-l border-brand-light px-3 py-2 text-brand-dark hover:bg-brand-light no-underline" | |
| href="{{ $paginator->previousPageUrl() }}" | |
| rel="prev" |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| #!/bin/bash | |
| # | |
| ######################################################################### | |
| #This software code is made available "AS IS" without warranties of any # | |
| #kind. You may copy, display, modify and redistribute the software # | |
| #code either by itself or as incorporated into your code; provided that # | |
| #you do not remove any proprietary notices. Your use of this software # | |
| #code is at your own risk and you waive any claim against Amazon # | |
| #Digital Services, Inc. or its affiliates with respect to your use of # | |
| #this software code. (c) 2006-2007 Amazon Digital Services, Inc. or its # |
| TTL=300 | |
| HOSTED_ZONE_ID= | |
| REVERSE_HOSTED_ZONE_ID= | |
| INSTANCE_ID= | |
| REGION= |
| #!/bin/bash | |
| # Update Dynamic DNS | |
| CURRENTIP="" | |
| IPADDR="" | |
| # Various get IP websites | |
| # WWW_IP=http://www.focb.co.nz/myip.php | |
| WWW_IP=http://icanhazip.com/ |
| if [[ ! -d ~/.zplug ]];then | |
| git clone https://github.com/zplug/zplug ~/.zplug | |
| fi | |
| source ~/.zplug/init.zsh | |
| zplug "plugins/git", from:oh-my-zsh | |
| zplug "plugins/git", from:oh-my-zsh | |
| zplug "plugins/sudo", from:oh-my-zsh | |
| zplug "plugins/command-not-found", from:oh-my-zsh | |
| zplug "zsh-users/zsh-syntax-highlighting" | |
| zplug "zsh-users/zsh-history-substring-search" |
| if [[ ! -d ~/.zplug ]];then | |
| git clone https://github.com/zplug/zplug ~/.zplug | |
| fi | |
| source ~/.zplug/init.zsh | |
| zplug "plugins/git", from:oh-my-zsh | |
| zplug "plugins/git", from:oh-my-zsh | |
| zplug "plugins/sudo", from:oh-my-zsh | |
| zplug "plugins/command-not-found", from:oh-my-zsh | |
| zplug "zsh-users/zsh-syntax-highlighting" | |
| zplug "zsh-users/zsh-history-substring-search" |
$ zmv -n '(.)(<->)(.[^.]#)' '$1$(($2+1))$3' # would rename x.0001.y to x.2.y. $ zmv -n '(.0#)(<->)(.[^.]#)' '$1$(($2+1))$3'
$ zmv '*' '${(L)f}'
$ autoload zmv
| const mix = require('laravel-mix'); | |
| const s3Plugin = require('webpack-s3-plugin'); | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Mix Asset Management | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Mix provides a clean, fluent API for defining some Webpack build steps | |
| | for your Laravel application. By default, we are compiling the Sass |