What do you want to save?
Add Code snippet
New code examples
-
C# 2021-10-19 18:51:04
oauth2 authentication .net core example
using System.Net.Http; using System.Net.Http.Headers; using System.Security.Claims; using System.Text.Json; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OAuth; usin... Add solution -
Other 2021-10-16 01:01:12
instantiate object after som e time unity
//Javascript requires something different .. // read on IEnumerators if you don't understand. public IEnumerator DoDelay(float seconds, System.Action callback) { yield return new WaitForSeconds(seconds); callback(); } public void MyCallBack() { ... Add solution -
C++ 2021-10-11 13:43:06
default constructor in c++
#include <iostream> class Entity { public: float x, y; void Print() { std::cout << "( " << x << " , " << y << " )" << std::endl; } void Initialize() { x = 0.0f; y = 0.0f;... Add solution -
Shell/Bash 2021-09-25 00:02:03
wget command that retains the directory structure
## Sometimes we want to create the same directories when downloading files using wget. ## To do this is simple! Just use the -x switch to create the same directory structure (if it does not exist). ## For example: wget -x www.somedomain.com/dir1/dir2/dir... Add solution -
C++ 2021-09-24 14:55:03
c++ strcpy_s
//When to use strcpy_s: // Use strcpy_s to copy a const char[] array in read and write memory //How to use strcpy_s: //The location where the array is going to be copied to char* ptrToArray = new char[sizeof(testArray)] //The Array that gets copied To p... Add solution -
Other 2021-09-06 10:19:02
how to use djoser signals
what are django signals? The Django Signals is a strategy to allow decoupled applications to get notified when certain events occur There are two key elements in the signals machinary: the senders and the receivers. As the name suggests, the sender is t... Add solution -
Javascript 2021-09-06 06:23:02
mongoose query with function(req, res, next)
router.post('/travellers', passport.authenticate('jwt', { "session": false }), function(req, res, next) { var pickup_location = req.body.pickup_location; var delivery_location = req.body.delivery_location; var date = req.body.dat... Add solution
Best helpers
Insane
+5
OlegSerov
+5
Paola Garcia
+5
SweetSweet
+5
Amauri
+5
Omar Kooheji
+5
Leshui
+5
JoshuaFicy
+5
TheLimper
+5
Kenneth Duda
+5