What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-01-22 14:35:46
laravel httaccess for apache
RewriteEngine On RewriteCond %{HTTP:Authorization} ^(.+)$ RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^ ^$1 [N] RewriteCond %{REQUEST_URI} (\.\w+$)... Add solution -
Other 2021-11-21 13:52:15
origin 'http://localhost:4200' has been blocked by CORS policy
let headers = new HttpHeaders({ 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Headers': 'Content-Type', 'Access-Control-Allow-Methods': 'GET,POST,OPTIONS,DELETE,PUT', 'Autho... Add solution -
Other 2021-11-21 06:52:16
send message to azure service bus queue with postman
using System; using System.Globalization; using System.Security.Cryptography; using System.Text; using System.Web; class MainClass { static readonly string queueOrTopicUrl = "TODO"; // Format: "https://<service bus namespac... Add solution -
Other 2021-11-20 11:27:09
routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:332
function downloadZipFromGithub() { var file = fs.createWriteStream(path.join(tmpPath, "archive.zip")); var lengthSoFar = 0; var npmconfDeferred = kew.defer(); npmconf.load(npmconfDeferred.makeNodeResolver()); npmconfDeferred... Add solution -
Other 2021-11-19 23:05:17
bkash payment getway
let paymentID; let createCheckoutUrl = 'https://merchantserver.sandbox.bka.sh/api/checkout/v1.2.0-beta/payment/create'; let executeCheckoutUrl = 'https://merchantserver.sandbox.bka.sh/api/checkout/v1.2.0-beta/payment/execute'; $(document).ready(function... Add solution -
Swift 2021-11-18 04:32:17
register for remote notifications swift
// Import the UserNotifications framework and add the UNUserNotificationCenterDelegate in AppDelegate.swift import UserNotifications // Request user permission func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: ... Add solution -
PHP 2021-11-17 17:23:22
how to pass bearer token in swagger in laravel
'bearer_token' => [ // Unique name of security 'type' => 'apiKey', // Valid values are "basic", "apiKey" or "oauth2". 'description' => 'Enter token in format (Bearer <token>)', 'name' => 'Authorizat... 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
Best helpers
Ranking is empty