Put the following directives in your server block. nginx will then redirect URLs with double (or triple or multiple) slashes to the corresponding URL with a single slash.
merge_slashes off;
rewrite ^(.*?)//+(.*?)$ $1/$2 permanent;
Put the following directives in your server block. nginx will then redirect URLs with double (or triple or multiple) slashes to the corresponding URL with a single slash.
merge_slashes off;
rewrite ^(.*?)//+(.*?)$ $1/$2 permanent;
| <template> | |
| <div class="container main"> | |
| <section class="section"> | |
| <article class="message"> | |
| <div class="message-header is-info"> | |
| <p>Register Form</p> | |
| </div> | |
| <div class="message-body"> | |
| <form ref="form" @submit.prevent="onSubmit"> | |
| <b-field |
| import argparse | |
| from pyPdf import PdfFileWriter, PdfFileReader | |
| def create_parsers(): | |
| p = argparse.ArgumentParser( | |
| prog='crop', | |
| description='"%(prog)s" crop pdfs', |
| import pandas as pd | |
| import itertools | |
| import time | |
| import multiprocessing | |
| from typing import Callable, Tuple, Union | |
| def groupby_parallel( | |
| groupby_df: pd.core.groupby.DataFrameGroupBy, | |
| func: Callable[[Tuple[str, pd.DataFrame]], Union[pd.DataFrame, pd.Series]], | |
| num_cpus: int = multiprocessing.cpu_count() - 1, |
| from flask import Flask, render_template | |
| from flask.ext.wtf import Form, widgets, SelectMultipleField | |
| SECRET_KEY = 'development' | |
| app = Flask(__name__) | |
| app.config.from_object(__name__) | |
| class MultiCheckboxField(SelectMultipleField): | |
| widget = widgets.ListWidget(prefix_label=False) |
| # ----------------------------------------------------------------- | |
| # .gitignore for WordPress @salcode | |
| # ver 20180808 | |
| # | |
| # From the root of your project run | |
| # curl -O https://gist.githubusercontent.com/salcode/b515f520d3f8207ecd04/raw/.gitignore | |
| # to download this file | |
| # | |
| # By default all files are ignored. You'll need to whitelist | |
| # any mu-plugins, plugins, or themes you want to include in the repo. |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <title>title</title> | |
| <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"> | |
| <link href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap3-editable/css/bootstrap-editable.css" rel="stylesheet"/> | |
| <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> |
| if (!MySchema.options.toObject) { | |
| PlanSchema.options.toObject = {}; | |
| } | |
| MySchema.options.toObject.transform = function(doc, ret) { | |
| // Set the id from the retrun object value which will be a string. | |
| ret.id = ret._id; | |
| delete ret._id; | |
| delete ret.__v; |
Find all available devices arp -a
Locate Raspberry (b8:27:eb) in Network: Pi Finder