What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-01 02:05:06
how to open in modal datatable details
Plain text123456789101112131415161718192021 <div class="modal fade" id="DescModal" role="dialog"> <div class="modal-dialog"> &nb... Add solution -
Html 2022-03-01 00:15:03
modal lightning salesforce
<section role="dialog" tabindex="-1" aria-labelledby="modal-heading-01" aria-modal="true" aria-describedby="modal-content-id-1" class="slds-modal slds-fade-in-open"> <div class="s... Add solution -
Javascript 2022-02-28 16:45:07
faker link for json post req
fetch('https://jsonplaceholder.typicode.com/posts', { method: 'POST', body: JSON.stringify({ title: 'foo', body: 'bar', userId: 1, }), headers: { 'Content-type': 'application/json; charset=UTF-8', }, }) .then((response) => r... Add solution -
Javascript 2022-02-28 11:15:03
send token in axios header
import axios from "axios"; const httpClient = axios.create({ baseURL: "http://youradress", // baseURL: process.env.APP_API_BASE_URL, }); httpClient.interceptors.request.use(function (config) { const token = localStora... Add solution -
PHP 2022-02-28 01:45:31
how to add files in child theme in theme editor
/* Theme Name: WPB Child Theme Theme URI: https://www.wpbeginner.com Description: A Twenty Thirteen child theme Author: WPBeginner Author URI: &nbs... Add solution -
Other 2022-02-28 01:15:38
mailchimp api to check a wordpress users subscription status
function get_subscriber_mailchimp_status($user_login, $user) {$api_key = 'mailchimp_api_key';$list_id = 'mailchimp_list_id';$us = 'mailchimp_us'; // eg, 'us5' or 'us7'$args = array( 'headers' => array( 'Authorization' => 'Basic ' . base6... Add solution -
Other 2022-02-27 10:40:20
Self hosted Auto update Custom WP Plugin or Theme - AKA Personal Wordpress Update Repository
define( 'PREFIX_PLUGIN_VERSION', '1.7' ); ################### # Automatic updates ################### /** * Pop-up with details about plugin update visible when there is a new release */ function prefix_plugin_info( $res, $action, $args ) { // do... Add solution -
Other 2022-02-27 05:10:44
Elastic search responses are blocked by cors
http.cors.enabled : true http.cors.allow-origin: "*" http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE http.cors.allow-headers: X-Requested-With,X-Auth-Token,Content-Type,Content-Length http.cors.allow-credentials: true Add solution -
C# 2022-02-27 02:40:10
adding values to mock IHttpContextAccessor unit test .net core
[Fact] public async Task test_GetBookByBookId() { //Arrange //Mock IHttpContextAccessor var mockHttpContextAccessor = new Mock<IHttpContextAccessor>(); var context = new DefaultHttpContext(); var fakeTenantId = "abcd";... Add solution
Best helpers
Erica Price
+5
Scoiattolo
+5
Vigrond
+5
Muazam
+5
Emmet
+5
NeuronQ
+5
A G Davey
+5
Arad
+5
Meital Regev
+5
Entrepreneur
+5
Majte
+5
JoshuaFicy
+5