Open ssl.conf in a text editor.
Edit the domain(s) listed under the [alt_names] section so that they match the local domain name you want to use for your project, e.g.
DNS.1 = my-project.dev
Additional FQDNs can be added if required:
| #!/bin/bash | |
| currentBranch=$(git rev-parse --abbrev-ref HEAD) | |
| git for-each-ref refs/heads/ "--format=%(refname:short)" | while read branch; do mergeBase=$(git merge-base $currentBranch $branch) && [[ $(git cherry $currentBranch $(git commit-tree $(git rev-parse $branch^{tree}) -p $mergeBase -m _)) == "-"* ]] && echo "$branch"; done |
| create table a(id integer); | |
| create table b(a_id integer, c_id integer); | |
| create table c(id integer); | |
| insert into a(id) values(1); | |
| insert into a(id) values(2); | |
| insert into a(id) values(3); | |
| insert into c(id) values(1); | |
| insert into c(id) values(2); |
| # vim:ft=zsh ts=2 sw=2 sts=2 | |
| # | |
| # agnoster's Theme - https://gist.github.com/3712874 | |
| # A Powerline-inspired theme for ZSH | |
| # | |
| # # README | |
| # | |
| # In order for this theme to render correctly, you will need a | |
| # [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
| # Make sure you have a recent version: the code points that Powerline |
| server { | |
| listen 80; | |
| server_name proxy8080.localhost; | |
| location ~ / { | |
| return 301 https://$host$1$request_uri; | |
| } | |
| } | |
| server { | |
| listen 443 ssl; |
| tar -cvpzf backup.tar.gz \ | |
| --exclude=/backup.tar.gz \ | |
| --exclude=/proc \ | |
| --exclude=/tmp \ | |
| --exclude=/mnt \ | |
| --exclude=/dev \ | |
| --exclude=/sys \ | |
| --exclude=/run \ | |
| --exclude=/media \ | |
| --exclude=/var \ |
| 0 2 * * 3 root timeshift --create --tags D --scripted |
| # ZSH Theme - Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png | |
| local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
| if [[ $UID -eq 0 ]]; then | |
| local user_host='%{$terminfo[bold]$fg[red]%}%n@%m%{$reset_color%}' | |
| local user_symbol='#' | |
| else | |
| local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}' | |
| local user_symbol='$' |
| ########################### | |
| # xbindkeys configuration # | |
| ########################### | |
| # play | |
| #"xte 'keydown XF86AudioPlay' 'keyup XF86AudioPlay'" | |
| # m:0x0 + b:7 (mouse) | |
| # prev song | |
| "xte 'key XF86AudioPrev'" |
| #!/usr/bin/env bash | |
| if [ $EUID -ne 0 ]; then | |
| echo "You must be root: \"sudo ngxdis\"" | |
| exit 1 | |
| fi | |
| # -z str: Returns True if the length of str is equal to zero. | |
| if [ -z "$1" ]; then | |
| echo "Please choose a site." |