What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-24 11:55:02
make a discord message embed
//command handlers dont do this if you already have them exports.run = async (client, message, args) => { //define the embed with let, const, or var var EmbedMessage = new Discord.MessageEmbed() .setColor('red') .setImage('You can set a ima... Add solution -
C 2022-02-19 19:25:05
esp32 dhcp server
WiFiServer server(80); static const char *ap_ssid = "ESP32-001"; static const char *ap_pass = "temp_pass"; void setup() { Serial.begin(115200); WiFi.softAP(ap_ssid, ap_pass); Serial.print("Access point running. IP address... Add solution -
Other 2021-11-08 19:36:23
how maltego gathers information
Maltego uses seed servers by sending client data in the XML format over a secure HTTPS connection. Once processed at the server side, the requested results are returned to the Maltego client. Gathering of all publicly available information using search en... Add solution -
C# 2021-11-07 16:36:12
asp net core identity bearer token authentication example
[HttpPost] public async Task<IActionResult> AccessToken([FromForm]string code, [FromForm]string grant_type, [FromForm]string redirect_uri, [FromForm]string client_id, [FromForm]string client_secret) { // Check if code is correct and if client cr... Add solution -
TypeScript 2021-11-04 11:41:09
persistant entities should not used as arguements of "@Requestmapping" methods
import javax.persistence.Entity; @Entity public class Wish { Long productId; Long quantity; Client client; } @Entity public class Client { String clientId; String name; String password; } import org.springframework.stereotype.Controller; im... Add solution -
C 2021-10-13 19:30:03
arduino ethernet shield webserver
#include <Ethernet.h> #include<SPI.h> //CHANGE MAC ADRESS FROM YOUR STICKER ON THE MODULE!!!!!!!!!! byte mac[] = {0011, 002B, 003C, 004D, 005E, 0066}; //Define your mac address //CHANGE MAC ADRESS FROM YOUR STICKER ON THE MODULE!!!!!!!!!! Eth... Add solution -
BASIC 2021-10-04 00:08:02
do sum things after task return vb.net
' Three things to note about writing an Async Function: ' - The function has an Async modifier. ' - Its return type is Task or Task(Of T). (See "Return Types" section.) ' - As a matter of convention, its name ends in "Async". Async ... Add solution