Skip to content

Instantly share code, notes, and snippets.

View owenvoke's full-sized avatar

Owen Voke owenvoke

View GitHub Profile
@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 / 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
{

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:

<?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.
*
#!/usr/bin/env bash
# Check that the GitHub token is set
# See: https://github.com/settings/tokens
if [ -z ${GITHUB_TOKEN} ]; then
echo "The 'GITHUB_TOKEN' environment variable must be set."
exit
fi
# Check that all required binaries are installed
#!/usr/bin/env bash
# Usage: ./import-bare-repos-to-gitea {{base_uri}} {{user_id}} {{access_token}} {{import_path}}
if [ -z $1 ] || [ -z $2 ] || [ -z $3 ] || [ -z $4 ]; then
echo "Usage: ./import-bare-repos-to-gitea {{base_uri}} {{user_id}} {{access_token}} {{import_path}}"
exit
fi
# Gitea base URI

Arionum Java Configuration

Solo

  • Type
  • Node URL
  • Public Key
  • Private Key
  • Max Hashers
  • Hasher Mode

Commuting Issues 2018

Date Train Delayed Cancelled Shortformed Alteration
04 Apr, 07:40 CFN-BRI ✔️
10 Apr, 07:40 CFN-BRI ✔️
11 Apr, 07:40 CFN-BRI ✔️
12 Apr, 07:40 CFN-BRI ✔️
16 Apr, 07:40 CFN-BRI ✔️
16 Apr, 08:16 CFN-BRI ✔️

CoinLib Vue Component

Usage

Common Coins

For common coins, simply set the coin property to the short code of the coin (e.g. btc for Bitcoin).

#!/usr/bin/env bash
COIN_NAME='Arionum'
NODE_VERSION='master'
TMP_DIR=$(mktemp -d)
NODE_DIR='/var/www/arionum-node'
NODE_URL="https://github.com/arionum/node/archive/${NODE_VERSION}.tar.gz"
NODE_TGZ="${NODE_VERSION}.tar.gz"
HOST=$(hostname)