This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INCLUDE QUESTION | |
BOOL should_admit | |
PROGRAM email | |
! Simple program to deal with email question management | |
IF QUESTION.ABOUT_EMAIL | |
GOTO USE_PERSONAL_EMAIL | |
USE_PERSONAL_EMAIL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function tablelength(T) | |
local count = 0 | |
for _ in pairs(T) do count = count + 1 end | |
return count | |
end | |
function makeInventoriesHash (containers) | |
inputHash = { | |
-- Inventory by inputs | |
inputs = {}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE wp_options SET option_value = replace(option_value, 'http://localhost/wp', 'VOTRE_URL_DE_PRODUCTION_ICI') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'http://localhost/wp','VOTRE_URL_DE_PRODUCTION_ICI'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://localhost/wp', 'VOTRE_URL_DE_PRODUCTION_ICI'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://localhost/wp','VOTRE_URL_DE_PRODUCTION_ICI'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"endpoint": "/user", | |
"handler": "UserCreateHandler", | |
"inputs": { | |
"body": { | |
"email": { | |
"type": "string", | |
"pipeline": [ | |
{ | |
"type": "check", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as z from 'zod'; | |
// ENTITY ======================================================== | |
const userEntityPresenter = z.object({ | |
id: z.number(), | |
name: z.string(), | |
email: z.string() | |
}); |
OlderNewer