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;
| #!/usr/bin/env bash | |
| # | |
| # Certbot Nginx Reload | |
| # | |
| # Let's Encrypt Certbot post hook command for Nginx which checks the updated | |
| # configuration files and reloads the server if everything validates. | |
| # | |
| # Author : Justin Hartman <[email protected]> | |
| # Version : 1.0.1 | |
| # License : MIT <https://opensource.org/licenses/MIT> |
| <# | |
| .SYNOPSIS | |
| Create a GPU-P Guest driver package. | |
| .DESCRIPTION | |
| Gathers the necessary files for a GPU-P enabled Windows guest to run. | |
| .EXAMPLE | |
| New-GPUPDriverPackage -DestinationPath '.' | |
| .EXAMPLE | |
| New-GPUPDriverPackage -Filter 'nvidia' -DestinationPath '.' | |
| .INPUTS |
| template <typename T> | |
| struct UniqueIDGenerator { | |
| std::atomic<T> _id; | |
| std::function<const T(const T&)> _nexter; | |
| template <typename NEXT> | |
| UniqueIDGenerator(const T& init, const NEXT& nexter) { | |
| _id.store(init, std::memory_order::memory_order_release); | |
| _nexter = nexter; | |
| } |
| // https://d3js.org/d3-force/ Version 1.1.0. Copyright 2017 Mike Bostock. | |
| (function (global, factory) { | |
| typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-quadtree'), require('d3-collection'), require('d3-dispatch'), require('d3-timer')) : | |
| typeof define === 'function' && define.amd ? define(['exports', 'd3-quadtree', 'd3-collection', 'd3-dispatch', 'd3-timer'], factory) : | |
| (factory((global.d3 = global.d3 || {}),global.d3,global.d3,global.d3,global.d3)); | |
| }(this, (function (exports,d3Quadtree,d3Collection,d3Dispatch,d3Timer) { 'use strict'; | |
| var constant = function(x) { | |
| return function() { |
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;
git log --graph --oneline --decorate ( git fsck --no-reflog | awk '/dangling commit/ {print $3}' )This will show you all the commits at the tips of your commit graph which are no longer referenced from any branch or tag – every lost commit, including every stash commit you’ve ever created, will be somewhere in that graph.
| #include <string> | |
| #include <iostream> | |
| #include <memory> | |
| /** | |
| * Convert all std::strings to const char* using constexpr if (C++17) | |
| */ | |
| template<typename T> | |
| auto convert(T&& t) { |
| license: mit |
| #include <memory> | |
| #include <cassert> | |
| #include <Windows.h> | |
| struct FileHandle | |
| { | |
| ::HANDLE fileHandle; | |
| //implicit | |
| FileHandle(::HANDLE h) noexcept |
| --- source3/modules/vfs_shadow_copy2.c.orig 2017-04-02 08:19:24 UTC | |
| +++ source3/modules/vfs_shadow_copy2.c | |
| @@ -1533,7 +1533,7 @@ static bool check_access_snapdir(struct | |
| &smb_fname, | |
| false, | |
| SEC_DIR_LIST); | |
| - if (!NT_STATUS_IS_OK(status)) { | |
| + if (NT_STATUS_EQUAL(status, NT_STATUS_ACCESS_DENIED)) { | |
| DEBUG(0,("user does not have list permission " | |
| "on snapdir %s\n", |