Popular data structures implemented in immutable React hooks.
- useArray
- useHeap
- useList
- useQueue
- useStack
<?php | |
/** | |
* Plugin Name: Shut I18n Doing It Wrong Messages | |
* Description: Filters _load_textdomain_just_in_time doing it wrong messages in 6.7 | |
* Author: Move Your Digital, Inc. | |
* Author URI: https://moveyourdigital.com | |
* Version: 0.0.1 | |
* | |
* @package SIDIWM | |
*/ |
import PocketBase, { | |
BaseAuthStore, | |
ListResult, | |
LogService, | |
RecordFullListOptions, | |
RecordListOptions, | |
RecordModel, | |
RecordOptions, | |
RecordService, | |
} from 'pocketbase' |
import PocketBaseClient from './pocketbase.ts' | |
type RecordMap = { | |
accounts: RecordAccount | |
categories: RecordCategory | |
pages: RecordPage | |
prices: RecordPrice | |
products: RecordProduct | |
users: RecordUser | |
} |
open Unix | |
type date = { | |
year : int; | |
month : int; | |
day : int; | |
} | |
exception InvalidDate of string |
Configuration for each project using a simple YAML file.
The docker remote
command reads the relative local file docker-remote.yml
to access docker hosts.
Uses SSH under the hood.
Showing remote running containers
docker remote remote-hostname ps
function useFileUpload() { | |
const [total, setTotal] = useState(0) | |
const [file, setFile] = useState<File>() | |
const [paused, setPaused] = useState(false) | |
const [uploaded, setUploaded] = useState(0) | |
const pause = () => setPaused(true) | |
const resume = () => setPaused(false) | |
function upload(file: File) { |
import 'server-only' | |
import serverOnlyContext from './server-only-context' | |
export type Locale = string | |
export const I18nContext = serverOnlyContext<Locale>('en') |
<?php | |
/* | |
Plugin Name: WordPress APCu Object Cache Backend | |
Plugin URI: https://github.com/l3rady/WordPress-APCu-Object-Cache | |
Description: APCu backend for WordPress' Object Cache | |
Version: 1.1 | |
Author: Scott Cariss | |
Author URI: http://scott.cariss.dev | |
*/ |