<meta property="og:title" content="title" />
<meta property="og:description" content="desc" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://url.com/" />
<meta property="og:image" content="http://url.com/image.jpg" />
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * This script is meant to be executed via crontab. | |
| * It should help you easily set li3 commands as cron jobs. | |
| * | |
| * You should put this in the root of your application. | |
| * However, you don't need to, but you would then need to | |
| * pass a --path= option with the path to your app. | |
| * This is because the li3 console command must be called | |
| * from a specific location. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # For PHP5 and /etc/php5/php.ini you would setup like so: | |
| # sendmail_path = "/path/to/sendmailsink.sh" | |
| LOGFILE="/var/log/sendmailsink" | |
| NOW=`date +%Y-%m-%d\ @\ %H:%M:%S` | |
| echo "$NOW || $0 $*" >> $LOGFILE | |
| echo >> $LOGFILE |
Creates a resulting server.crt certificate and server.key private key.
$ openssl genrsa -des3 -out server.key.tmp 1024- Note: Enter a dummy pass pharse (e.g.
1234) and remember it
- Note: Enter a dummy pass pharse (e.g.
$ openssl rsa -in server.key.tmp -out server.key- Enter dummy pass pharse from previous step
- Generate certificate request file (CSR)
$ openssl req -new -key server.key -out server.csr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| # | |
| # | |
| # Run with the following command: | |
| # | |
| # | |
| # wget -q -O - https://gist.github.com/jasonmorganson/4733446/raw/user.sh | sh | |
| # wget -q -O - http://user.morganson.net | sh | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:13.04 | |
| MAINTAINER Johnny Broadway "johnny@johnnybroadway.com" | |
| RUN apt-get update | |
| RUN apt-get install -y wget git vim postfix nginx sqlite | |
| RUN apt-get install -y mysql-server mysql-client | |
| RUN apt-get install -y php5-cli php5-common php5-mysql php5-sqlite php5-curl php5-fpm | |
| RUN wget -O /etc/nginx/sites-available/default https://gist.github.com/jbroadway/6369183/raw/682a1ed8078cc39f59c3624f460b128addff95db/nginx-default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # __ | |
| # _____ ____ _/ |_ ____ ____ _______ | |
| # / \ _/ __ \ \ __\_/ __ \ / _ \ \_ __ \ | |
| # | Y Y \\ ___/ | | \ ___/ ( <_> ) | | \/ | |
| # |__|_| / \___ > |__| \___ > \____/ |__| | |
| # \/ \/ \/ | |
| # | |
| # .___ | |
| # __| _/ __ __ _____ ______ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| zplug "plugins/git", from:oh-my-zsh, if:"(( $+commands[git] ))" | |
| zplug "plugins/tmux", from:oh-my-zsh, if:"(( $+commands[tmux] ))" | |
| zplug "plugins/docker", from:oh-my-zsh | |
| zplug "plugins/docker-compose", from:oh-my-zsh | |
| zplug "plugins/command-not-found", from:oh-my-zsh | |
| zplug "plugins/common-aliases", from:oh-my-zsh | |
| zplug "plugins/compleat", from:oh-my-zsh | |
| zplug "plugins/git-extras", from:oh-my-zsh |
OlderNewer