Skip to content

Instantly share code, notes, and snippets.

View Mezzair's full-sized avatar

James Merrix Mezzair

View GitHub Profile
@spaantje
spaantje / App\Exceptions\Handler.php
Last active May 28, 2025 17:06
GuzzleHandlerStack.php
<?php
namespace App\Exceptions;
use Exception;
use Laravel\Telescope\Telescope;
use Laravel\Telescope\IncomingEntry;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\ServerException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
@morganchristiansson
morganchristiansson / extract-123-reg-zonefile.js
Created March 15, 2017 13:30 — forked from biinari/extract-123-reg-zonefile.js
Script to extract the DNS entries from 123-reg advanced dns page
var table = document.getElementsByClassName('advanced_dns')[0];
var rows = table.getElementsByTagName('tr');
var i, len, row;
var hostname, type, priority, ttl, destination;
var output = '';
output += '$TTL 600\n'; // start with default TTL
// skip header and last two rows (add new entry, delete all entries)
for (i = 1, len = rows.length - 2; i < len; i++) {
<?php namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Str;
class MakeAll extends Command
{
/**
* The name and signature of the console command.
*
<?php
namespace App\Services;
use App\Post;
class Slug
{
/**
* @param $title
@alirobe
alirobe / reclaimWindows10.ps1
Last active March 14, 2026 17:05
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
### OR take a look at
### https://github.com/HotCakeX/Harden-Windows-Security