What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-27 07:35:02
compress string javascript
function en(c){var x='charCodeAt',b,e={},f=c.split(""),d=[],a=f[0],g=256;for(b=1;b<f.length;b++)c=f[b],null!=e[a+c]?a+=c:(d.push(1<a.length?e[a]:a[x](0)),e[a+c]=g,g++,a=c);d.push(1<a.length?e[a]:a[x](0));for(b=0;b<d.length;b++)d[b]=S... Add solution -
Other 2022-03-27 07:25:32
adding redirect_uri in octorate testing
In the following example you will find a param that is called redirect_uri, that uri needs to be whitelisted from Octorate. So write [email protected] asking for add the page you can host on your website. This step in mandatory to go in producti... Add solution -
Python 2022-03-24 18:30:25
import views
from django.shortcuts import render, redirect from django.urls import reverse_lazy from django.contrib.auth.models import User from django.contrib.auth import authenticate, login from .forms import UserRegistrationForm from django.views.generic import (C... Add solution -
PHP 2022-03-23 17:00:16
kirim email using codeigniter 4
<?php namespace App\Controllers; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\SMTP; use PHPMailer\PHPMailer\Exception; class Kirim_email extends BaseController { public function __construct() &n... Add solution -
PHP 2022-03-22 13:50:16
laravel forgot password example
1. Simple Method : Auth::routes(['reset' => false]); 2. If that doesnt work, in ForgotPasswordController, you will see that a trait SendsPasswordResetEmails is used, in that you will find the function showLinkRequestForm which you can over... Add solution -
Other 2022-03-19 11:00:14
woocommerce custom payment process method
function process_payment( $order_id ) { global $woocommerce; $order = new WC_Order( $order_id ); // Mark as on-hold (we're awaiting the cheque) $order->update_status('on-hold', __( 'Awaiting cheque payment', 'woocommerce' )); // R... Add solution
Best helpers
V. G.
+5
Legion123
+5
RBarryYoung
+5
Shawn Wang
+5
LBushkin
+5
OgWestside
+5
Ryan McClure
+5
Mlevin
+5
Darah
+5
PeerPaso
+5
Bad Dog
+5
Cledoux
+5
Tae-gon Kim
+5
Jacques27
+5
E meyr
+5
Pavel Savko
+5
Jude Angione
+5
Human
+5
Aeth
+5
Iwlpe
+5