What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-27 14:29:01
the api key provided is linked to datacenter 'us5\"
request.post({ url: 'https://usXX.api.mailchimp.com/3.0/lists/xxxxxxx/members', headers: { 'Content-Type': 'application/json', 'Authorization': 'Basic xxxxxxxxxxxxxxxxxxxxxxxxx-usXX' }, form: JSON.stringify({ email_address: req.body.em... Add solution -
SQL 2021-08-27 13:58:01
pdo mysql insert
<?php $pdo = new PDO('mysql:host=localhost;dbname=test', 'username', 'password'); $statement = $pdo->prepare("INSERT INTO users (email, vorname, nachname) VALUES (?, ?, ?)"); $statement->execute(array('[email protected]', 'Klau... Add solution -
Python 2021-08-27 12:55:01
how to encrypt and decrypt strings python
from cryptography.fernet import Fernet def load_key(): """ Load the previously generated key """ return open("secret.key", "rb").read() def decrypt_message(encrypted_message): "&... Add solution -
PHP 2021-08-27 12:54:02
What is a Regular Expression in php
<?php // First Verif your regex code with https://regex101.com/ $str = "Visit W3Schools"; $pattern = "/w3schools/i"; echo preg_match($pattern, $str); // Outputs 1 // test email with REGEX if (!preg_match("/[-0-9a-zA-Z.+_]+@[-0... Add solution -
Html 2021-08-27 12:13:03
how to use ruby in html
<!-- The <ruby> tag is used to display smaller text on top of another element. While it was designed for annotating Asian languages, it can be useful as a quick way of overlaying text. --> <!-- The <ruby> tag is a block contai... Add solution -
Javascript 2021-08-27 11:52:02
javascript reverse geocoding
// Full tutorial: https://www.youtube.com/watch?v=JdJ2VBbYYTQ function reverseGeocode(latitude, longitude) { let apikey = "your API key goes here"; fetch('https://api.opencagedata.com/geocode/v1/json' + '?' + 'key=' + ap... Add solution
Best helpers
Ranking is empty