Skip to content

Instantly share code, notes, and snippets.

lrvick /
Last active Apr 18, 2021
Trolling Github's DMCA repo with their own security flaws.
Treeki / TurnipPrices.cpp
Last active May 4, 2021
AC:NH turnip price calculator
View TurnipPrices.cpp
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// munged from
namespace sead
class Random
cliss / Brewfile
Created Oct 8, 2019
Casey Liss's Brewfile, as of 8 October 2019
View Brewfile
cask_args appdir: "/Applications"
tap "homebrew/cask-fonts"
brew "mas"
mas "1Blocker", id: 1107421413
mas "Day One", id: 1055511498
mas "Deliveries", id: 924726344
mas "Due", id: 524373870
mas "Fantastical", id: 435003921
sbine / .phpcs.xml
Last active Mar 6, 2019 — forked from loganhenson/.phpcs.xml
.phpcs.xml in your home directory (`cd ~`)
View .phpcs.xml
<?xml version="1.0"?>
<ruleset name="Laravel Standards">
The name attribute of the ruleset tag is displayed
when running PHP_CodeSniffer with the -v command line
argument. The description tag below is not displayed anywhere
except in this file, so it can contain information for
developers who may change this file in the future.
<description>The Laravel Coding Standards</description>
adamwathan / 1-add-macros.php
Last active Nov 8, 2020
Multiformat Endpoints in Laravel
View 1-add-macros.php
namespace App\Providers;
use Illuminate\Http\Request;
use Illuminate\Routing\Route;
use Illuminate\Support\ServiceProvider;
use App\Http\Middleware\CaptureRequestExtension;
class AppServiceProvider extends ServiceProvider
davidpiesse / tailwind_md_all_colours.js
Last active Mar 30, 2021
A colour set for Tailwind CSS that include all Material Design Colours, shades, accents and contrast colours
View tailwind_md_all_colours.js
//All colours are generated from Material Design Docs
//Colours have a base, a set of shades (50-900) accent colours
//In addition a companion set of contrast colours are included for colouring text / icons
// Example usage
// class="w-full bg-red-600 text-red-600-constrast"
calebporzio / timer_helpers.php
Last active Aug 18, 2019
A simple helper function and macro for timing php scripts and eloquent queries
View timer_helpers.php
// Helper function.
if (! function_exists('timer')) {
function timer($expression)
$start = microtime(true);
if ($expression instanceof Closure) {
chadmayfield /
Created Jun 2, 2017
Install Hashcat on macOS
git clone
mkdir -p hashcat/deps
git clone hashcat/deps/OpenCL
cd hashcat/ && make
./hashcat --version
./hashcat -b -D 1,2
Decicus /
Last active Jul 12, 2018
Miscellaneous Nightbot commands using variables


!setmulti <streams> where <streams> is just the channel names for the ones you're streaming with, separated by a space between every channel.


!commands add -a=!commands !setmulti edit !multi$(channel)/$(eval const streams = '$(query)'.split(" ");streams.join("/");)

DrewML /
Created May 1, 2016
"Secret" Slack slash commands

"Secret" Slack Slash Commands

Enable Web Inspector


Assign a color (using hex code) to any users name

/color andrew #000000

Change Status (Doesn't seem to work)