What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-09 10:50:04
/([a-z-0-9-]*) php
RedirectMatch 301 ^/news/([0-9]+)-(.*) /blog RedirectMatch 301 ^/news/([a-z]+)-(.*)/$ /blog/$1 These are regular expressions ("regex" for short). Specifically, Apache uses PCRE (Perl Compatible Regular Expression) syntax (the same as PHP, simi... Add solution -
Other 2021-11-16 22:40:13
Curl Shell Script To Purge Cache From Stackpath CDN
#!/usr/bin/env bash # Usage: # A simple shell script to purge Stackpath cdn cache using API and curl # command line. Tested on Ubuntu/Debian/RHEL/Fedora Linux and FreeBSD/macOS Unix # Syntax: # /path/to/stackpath.purge.sh https://your-domain/url # -----... Add solution -
Other 2021-09-06 05:04:03
rest assured script
The syntax of Rest Assured.io is the most beautiful part, as it is very BDD like and understandable. Given(). (lets you set a background) param("customer_id", "102"). header("z", "w"). when(). (marks the ... Add solution