SVG animated version of Roland Lösslein's Pen Hexagon Preloader.
A Pen by Kevin Chappell on CodePen.
| #!/bin/sh | |
| # vid2gif - converts videos to gifs | |
| # Usage: Add vid2gif.sh to your PATH then call like: | |
| # $ vid2gif video.mp4 video.gif | |
| # | |
| # To add to context menu, create command that calls: | |
| # $ vid2gif %F %d/%W.gif | |
| # Get custom width and framerate from user input |
| 'use strict'; | |
| import gulp from 'gulp'; | |
| import gulpPlugins from 'gulp-load-plugins'; | |
| import pkg from './package.json'; | |
| const files = pkg.config.files; | |
| // Rather than manually defined each gulp plugin we need, gulpPlugins defines them for us. | |
| var plugins = gulpPlugins(), |
| [Desktop Entry] | |
| Type=Action | |
| TargetLocation=true | |
| ToolbarLabel[en_US]=Convert to Animated GIF | |
| ToolbarLabel[en]=Convert to Animated GIF | |
| ToolbarLabel[C]=Convert to Animated GIF | |
| Name[en_US]=Convert to Animated GIF | |
| Name[en]=Convert to Animated GIF | |
| Name[C]=Convert to Animated GIF | |
| Profiles=profile-zero; |
| #!/bin/bash | |
| # Author: Kevin Chappell http://kevin-chappell.com | |
| # Description: Push a local vagrant dev site to production | |
| # Version 0.1.2 | |
| echo -e '\e[32m | |
| _ ______ ____ __ | |
| | | / / __ \ / __ \__ _______/ /_ | |
| | | /| / / /_/ / / /_/ / / / / ___/ __ \ | |
| | |/ |/ / ____/ / ____/ /_/ (__ ) / / / |
| #!/bin/bash | |
| # Author: Kevin Chappell http://kevin-chappell.com | |
| # Description: Pull a production site into your local vagrant | |
| # Version: 0.1.2 | |
| echo -e '\e[32m | |
| _ ______ ____ ____ | |
| | | / / __ \ / __ \__ __/ / / | |
| | | /| / / /_/ / / /_/ / / / / / / | |
| | |/ |/ / ____/ / ____/ /_/ / / / |
| server { | |
| listen 80; | |
| listen 443 ssl; | |
| server_name ##DEV_DOMAIN##; | |
| root /srv/www/##V_USERNAME##/htdocs; | |
| include /etc/nginx/nginx-wp-common.conf; | |
| location ~* .(js|css|png|jpg|jpeg|gif|ico)$ { | |
| expires 24h; | |
| log_not_found off; |
| #!/bin/sh | |
| for i in `awk '!/nobody/{print $2 | "sort | uniq" }' /etc/userdomains | sort | uniq`; do | |
| QUARANTINE="/home/${i}/quarantine/" | |
| rm -rf $QUARANTINE &>/dev/null | |
| done |
| #!/bin/sh | |
| for i in `awk '!/nobody/{print $2 | "sort | uniq" }' /etc/userdomains | sort | uniq`; do | |
| SUBJECT="VIRUS SCAN ${i}" | |
| EMAIL="youremail@yourdomain.com" | |
| # Log location | |
| LOG="/var/log/clamav/${i}-scan.log" | |
| # Quarantine location |
SVG animated version of Roland Lösslein's Pen Hexagon Preloader.
A Pen by Kevin Chappell on CodePen.
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } | |
| PS1='${debian_chroot:+($debian_chroot)}\[\033[1;31m\]\u\[\033[1;37m\]@\[\033[1;32m\]\h\[\033[1;37m\]:\[\033[1;36m\]\w \[\033[1;35m\]$(parse_git_branch) \[\033[1;33m\]\$ \[\033[0m\]' |