Skip to content

Instantly share code, notes, and snippets.

View SkyyInfinity's full-sized avatar
🏠
Working from home

Dylan HAUTECOEUR SkyyInfinity

🏠
Working from home
  • Studio Seth
  • France
  • 13:04 (UTC +02:00)
  • X @SkyInfinity27
View GitHub Profile
@SkyyInfinity
SkyyInfinity / KyService.ts
Last active April 9, 2024 11:11
React TS + Ky (HTTP client) classes example
/**
* Ky classes example
*
* @file KyService.ts
* @template Vite (React, TS)
* @packages ky
*/
import ky, { KyInstance } from "ky";
@SkyyInfinity
SkyyInfinity / gist:39fb56b43a2fd33e0666a12150a26bb8
Created February 17, 2021 16:50 — forked from ivandoric/gist:e4e46294c4d35eac0ec8
wordpress: create custom reset password page
<?php //Add all of this tu custom page template ?>
<?php
global $wpdb;
$error = '';
$success = '';
// check if we're in reset form
if( isset( $_POST['action'] ) && 'reset' == $_POST['action'] )
{