Skip to content

Instantly share code, notes, and snippets.

View klaude's full-sized avatar
🤔
🤠 🤠 🤠 🤠

Kevin Laude klaude

🤔
🤠 🤠 🤠 🤠
View GitHub Profile
<?php
namespace Kawaii;
abstract class abstractHuggyPillow
{
public function pillowFactory()
{
return new get_called_class();
}
@klaude
klaude / lol.php
Last active August 29, 2015 14:13
<?php
error_reporting(E_ALL);
require __DIR__ . '/vendor/autoload.php';
use League\CLImate\CLImate;
$climate = new CLImate;
$climate->description('test');
<?php
use WHMCS\View\Menu\Item as MenuItem;
add_hook(
'ClientAreaPrimarySidebar',
1,
function(MenuItem $primarySidebar)
{
if ($primarySidebar->hasChild('My Account')) {
<?php
namespace Windows\System32 {
const explorer = 'delete';
}
namespace {
const C = 'lolwut';
const exe = ' system32';
const off = 0;
<?php
/**
* Generate uuids for clients and admins that don't have uuids set.
*
* The WHMCS 6.2.0 update process automatically inserts uuids, but if your
* installation bypasses WHMCS update routines then this will generate uuids for
* the client and admin users that don't have one yet.
*
* Warning! Please back up at least your tblclient and tbladmin tables before

Keybase proof

I hereby claim:

  • I am klaude on github.
  • I am klaude (https://keybase.io/klaude) on keybase.
  • I have a public key ASBzK8gwegjP5ZLPvro2PJyWTyX1WfaV8sHvbSGcgVkbGwo

To claim this, I am signing this object:

@klaude
klaude / stackpath_object_storage.oas2.json
Created February 3, 2020 17:53
Swagger specs for StackPath's object storage API
{
"swagger": "2.0",
"info": {
"title": "Object Storage",
"version": "1.0.0",
"contact": {
"name": "StackPath Support",
"url": "https://support.stackpath.com/"
}
},
@klaude
klaude / stackpath_cdn.oas2.json
Last active February 20, 2020 02:14
Swagger specs for StackPath's CDN and delivery API services
{
"swagger": "2.0",
"info": {
"title": "Content Delivery Network",
"version": "1.0.0",
"contact": {
"name": "StackPath Support",
"url": "https://support.stackpath.com/"
}
},