Skip to content

Instantly share code, notes, and snippets.

Jesse Leite jesseleite

Block or report user

Report or block jesseleite

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View shtuff-test-strategy.vim
function! ShtuffStrategy(cmd)
call system("shtuff into test " . shellescape("clear;" . a:cmd))
let g:test#custom_strategies = {'shtuff': function('ShtuffStrategy')}
let g:test#strategy = "shtuff"
jesseleite / SelectModifier.php
Created Feb 21, 2019
Statamic v2 array batch addon idea
View SelectModifier.php
namespace Statamic\Addons\ArrayBatch;
use Statamic\Extend\Modifier;
class SelectModifier extends Modifier
* Modify a value
View tooltip.vue
<div class="tooltip-component" @mouseenter="show" @mouseleave="hide">
<div class="tooltip" :class="{ visible: isVisible }">
<span class="tooltip-text">{{ text }}</span>
jesseleite / # php@7.1 - 2018-03-31_21-54-39.txt
Created Apr 2, 2018
php@7.1 on macOS 10.13.3 - Homebrew build logs
View # php@7.1 - 2018-03-31_21-54-39.txt
Homebrew build logs for php@7.1 on macOS 10.13.3
Build date: 2018-03-31 21:54:39
jesseleite / sendString.js
Last active Mar 26, 2018
Digital Ocean console sendString() for pasting
View sendString.js
var sendString = (function(rfb, force, sendDelay) {
sendDelay = sendDelay || 25;
var _q = [];
var _qStart = function() {
var chr = _q.shift();
if (chr) {
setTimeout(_qStart, sendDelay);
View gist:fe4996fee6de1c865b76d9aae0734012
-- The following is a script to bring back VI mode in Sierra.
-- See:
local module = {}
module.debugging = false -- whether to print status updates
local eventtap = require "hs.eventtap"
local event = eventtap.event
local inspect = require "hs.inspect"
View Listeners.Cascade.php
namespace App\DB\Listeners;
class Cascade
* Trigger cascade function on Eloquent Model if defined in softdeletes config.
* @param object $model Eloquent Model
jesseleite /
Created Apr 9, 2016
1G Swap Forge Script/Recipe
if [ -f /swapfile ]; then
echo "Swapfile already exists."
exit 1
fallocate -l 1G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
sh -c 'echo "/swapfile none swap sw 0 0" >> /etc/fstab'
jesseleite /
Last active Mar 12, 2016
RoomRoster Intermediate to Senior Laravel Developer

Intermediate to Senior Laravel Developer

Who we are

RoomRoster is looking for full-time intermediate to senior Laravel developers to work on our product team. With over 20 years experience in sports event management, and a focus on the youth sport tournament market, RoomRoster was founded with one simple objective:

To create a valuable system for tournament directors to help streamline their event while delivering a consistent experience to their participants.

Must be willing to work on-site in London, Ontario, Canada.

jesseleite / AuthorizesRequestsWithoutUser.php
Last active Mar 5, 2016
Authorize without authenticated user.
View AuthorizesRequestsWithoutUser.php
namespace App\Helpers;
use Illuminate\Contracts\Auth\Access\Gate;
use Illuminate\Auth\Access\AuthorizationException;
trait AuthorizesRequestsWithoutUser
You can’t perform that action at this time.