Skip to content

Instantly share code, notes, and snippets.

Jake Bathman jakebathman

Block or report user

Report or block jakebathman

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
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 Feb 3, 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 Jan 12, 2020
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)


tzmartin /
Created Jan 13, 2016
iOS Settings URL Scheme List

Settings URL schemes:

Note: < i=OS 5.1 use prefs:. > 5.1 use app-settings:

  • app-settings:root=General&path=About
  • app-settings:root=General&path=ACCESSIBILITY
  • app-settings:root=AIRPLANE_MODE
  • app-settings:root=General&path=AUTOLOCK
  • app-settings:root=General&path=USAGE/CELLULAR_USAGE
  • app-settings:root=Brightness
MattCheetham / siri_homekit_colours.txt
Last active Aug 30, 2019
Siri HomeKit Light Colours
View siri_homekit_colours.txt
// A list of all colours that Siri understands when controlling light bulbs. E.g. "Hey Siri, set the bedroom lights to red"
// Please contribute any that you have come accross
Direct Sunlight
joepie91 /
Last active Feb 26, 2020
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

A Russian translation of this article can be found here, contributed by Timur Demin. There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.

Why not?

You can’t perform that action at this time.