All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login

All New Login
's Avatar

matthew

Joined 2 years ago

Recently created
Least recently created
Recently updated
Least recently updated
All gists 12
matthew's Avatar

matthew / starship.toml

0 likes
0 forks
1 files
Last active 2 years ago
My starship.toml configuration
1 # Get editor completions based on the config schema
2 "$schema" = 'https://starship.rs/config-schema.json'
3
4 # format = '$all'
5
6 # The  character is nf-pl-left_hard_divider, UTF8 #e0b0
7 # (The equivalent pointing the other direction is #e0b2)
8
9 # This was the first line of the format previously
10 # [░▒▓](#073642)\
matthew's Avatar

matthew / ConfigProvider.php

0 likes
0 forks
4 files
Last active 4 months ago
An example of attaching a delegator factory to the Mezzio RouteCollectorInterface to automate route registration.
1 <?php
2
3 namespace SomeModule;
4
5 use Laminas\Stdlib\ArrayUtils\MergeRemoveKey;
6 use Mezzio\Router\RouteCollectorInterface;
7
8 class ConfigProvider
9 {
10 public function __invoke(): array
Newer Older

Powered by Opengist ⋅ Load: 45ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文