A Gist to store my non-production Scoop and Shovel manifests before migrating them to my main bucket.
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
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreiefz3tenlodztyymmn6fvb54yfctq732e4d3ishxqpbxjrzil5ob4 ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
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
#!/usr/bin/env php | |
<?php | |
/* | |
|-------------------------------------------------------------------------- | |
| Beat Saber Metadata Parser | |
|-------------------------------------------------------------------------- | |
| | |
| This application will parse the metadata from downloaded compressed | |
| Beat Saber song files. |
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
{ | |
"basics": { | |
"name": "Owen Voke", | |
"label": "Web Developer", | |
"picture": "https://i.imgur.com/BDMrEXd.jpg", | |
"email": "[email protected]", | |
"website": "https://voke.dev", | |
"summary": "I'm a full stack web developer, primarily working with PHP and JavaScript in the open source community.", | |
"location": { | |
"city": "Bristol", |
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
<?php | |
// From Marcel Pociot's tweet | |
// See: https://twitter.com/marcelpociot/status/1389881758267625473 | |
Str::macro('readDuration', function (... $text) { | |
$totalWords = str_word_count(implode(' ', $text)); | |
$minutesToRead = round($totalWords / 200); | |
return (int) max(1, $minutesToRead); |
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
<?php | |
namespace App\Commands; | |
use Illuminate\Console\Command; | |
class DragonCommand extends Command | |
{ | |
/** {@inheritdoc} */ | |
protected $signature = 'dragon'; |
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
# Set the required PHP version | |
FROM php:7.3-cli | |
# Set the name of your application binary | |
ARG APP_NAME=application | |
# Update global packages for the container | |
RUN apt-get update | |
# Install any required PHP extensions |
This is a patch for updating the Laravel TALL stack preset tests to use the Pest syntax.
curl https://gist.githubusercontent.com/owenvoke/b9e09290fe55737be8168c9d961a772f/raw/tall-stack-pest-syntax-changes.diff | git apply
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
<?php | |
use LaravelZero\Framework\Application; | |
use Tinkerwell\ContextMenu\Label; | |
use Tinkerwell\ContextMenu\Submenu; | |
use Tinkerwell\ContextMenu\SetCode; | |
use Tinkerwell\ContextMenu\OpenURL; | |
class LaravelZeroTinkerwellDriver extends TinkerwellDriver | |
{ |
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
# | |
# Starship Zplug | |
# https://github.com/starship/starship | |
# | |
# Add the following to your ".zshrc": | |
# zplug "pxgamer/9070c3dbd6483d69a4b376f9dbcb9e62", use:starship.zsh, from:gist, as:theme | |
export STARSHIP_VERSION='0.26.4' | |
STARSHIP_LATEST_RELEASE=https://github.com/starship/starship/releases/latest/download/starship-x86_64-unknown-linux-gnu.tar.gz |
NewerOlder