Skip to content

Instantly share code, notes, and snippets.

View owenvoke's full-sized avatar

Owen Voke owenvoke

View GitHub Profile
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
/**
* A command that handles IDE helper generation of helper file and PHPStorm metadata against platform environment.
* This command performs these actions in development environment, else it does nothing, but does not crash the project.
*

Keybase proof

I hereby claim:

  • I am owenvoke on github.
  • I am pxgamer (https://keybase.io/pxgamer) on keybase.
  • I have a public key ASB_uVyoJ3hwuigO23NdmTXD4cv7-WKahoOK9O3wSPwg1wo

To claim this, I am signing this object:

@owenvoke
owenvoke / LaravelZeroTinkerwellDriver.php
Created February 28, 2020 09:55
A Tinkerwell driver for Laravel Zero.
<?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
{
@owenvoke
owenvoke / Tall Stack Pest Syntax.md
Last active June 10, 2020 16:24
A patch for updating the TALL stack preset tests to use Pest syntax.

Tall Stack Pest Syntax

This is a patch for updating the Laravel TALL stack preset tests to use the Pest syntax.

Usage

curl https://gist.githubusercontent.com/owenvoke/b9e09290fe55737be8168c9d961a772f/raw/tall-stack-pest-syntax-changes.diff | git apply
@owenvoke
owenvoke / Dockerfile
Created September 30, 2020 12:55
A Dockerfile for Laravel Zero PHAR distribution
# 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
@owenvoke
owenvoke / DragonCommand.php
Created September 30, 2020 15:56
Display the Laravel Dragon ASCII art
<?php
namespace App\Commands;
use Illuminate\Console\Command;
class DragonCommand extends Command
{
/** {@inheritdoc} */
protected $signature = 'dragon';
@owenvoke
owenvoke / bs-meta-parser
Last active August 24, 2021 10:11
A simple script to parse Beat Saber metadata
#!/usr/bin/env php
<?php
/*
|--------------------------------------------------------------------------
| Beat Saber Metadata Parser
|--------------------------------------------------------------------------
|
| This application will parse the metadata from downloaded compressed
| Beat Saber song files.
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/
@owenvoke
owenvoke / Donations.md
Last active October 28, 2021 08:24
List of cryptocurrency addresses for public donations.

Open Source Donation Wallets

Bitcoin
Ethereum
Solana
Bitcoin Cash
Bitcoin Gold
Zcash
Litecoin
Dash