Skip to content

Instantly share code, notes, and snippets.

View alwaysblank's full-sized avatar
🥪

Ben alwaysblank

🥪
View GitHub Profile
@alwaysblank
alwaysblank / d2wl.txt
Created June 21, 2024 21:06
Destiny 2 Personal Wishlist
// Yarovit MG4
dimwishlist:item=3959549446&perks=1482024992,1968497646,1195158366,124408337
@alwaysblank
alwaysblank / how-i-work-template.md
Last active January 26, 2024 22:30 — forked from jazzsequence/how-i-work-template.md
Template for How I Like to Work posts

How I work

Hi! I'm Ben and I'm a Web Engineer at Human Made.

Hopefully this document will give you some idea of how I work, which may be interesting and relevant to you if, for instance, we work together (or will soon be working together).

When I work

I live in Oregon, in the United States, and specifically I'm in the timezone you might see refered to as:

  • Pacific Time
  • Pacific Standard Time (PST) (GMT-8)
  • Pacific Daylight Time (PDT) (GMT-7)
@alwaysblank
alwaysblank / cloudinary-rewrite.php
Created January 31, 2020 16:48
Quick and dirty "conversion" to serving images via cloudinary's auto-upload.
// Put this wherever you like; it just needs to run early enough to hook
// into these filters.
function encode_commas($string)
{
return str_replace(',', '%2C', $string);
}
/**
* Put Cloudinary URL generation in one place.
@alwaysblank
alwaysblank / controller.php
Created January 24, 2018 19:53
Avoid gravity_form()
<?php
namespace App\Controllers;
use Sober\Controller\Controller;
use Sober\Controller\Module\Tree;
use Murmur\WP\ACF;
use App\Util;
class TemplateContact extends Controller implements Tree
@alwaysblank
alwaysblank / terrible-wordpress-menu.php
Last active January 5, 2018 02:05
A proof-of-concept for a simple recursive WordPress menu.
<?php
/**
* Generates a very simple menu.
*
* @param integer $menuID The ID of the WordPress menu you want.
* @return string A <ul> containing the menu.
*/
function simpleMenu(int $menuID)
{
$rawItems = wp_get_nav_menu_items($menuID);
@alwaysblank
alwaysblank / keybase.md
Last active February 8, 2021 02:31
keybase verification

Keybase proof

I hereby claim:

  • I am alwaysblank on github.
  • I am alwaysblank (https://keybase.io/alwaysblank) on keybase.
  • I have a public key ASAj55iqUB2wQQmtkaeY9Q-h-6F-W83CUyJoO6KcJxJlxQo

To claim this, I am signing this object: