Skip to content

Instantly share code, notes, and snippets.

View bezierer's full-sized avatar
☎️
Designing the fastest interviews on the planet https://www.qualifi.hr

Cameron Campbell bezierer

☎️
Designing the fastest interviews on the planet https://www.qualifi.hr
View GitHub Profile
@bezierer
bezierer / Hyper settings
Created April 15, 2020 18:47
My settings for the Hyper terminal
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@bezierer
bezierer / canadian-abr
Last active July 30, 2019 18:41
Canadian Province Abbreviations
AB
BC
MB
NB
NL
NS
NT
NU
ON
PE
@bezierer
bezierer / gravity-forms-no-store.md
Last active July 25, 2019 18:34
Stop Gravity Forms from storing entries in the database.
/*
  Stop Gravity Forms from storing entries in the database.
  Replace '2' with your form ID.
*/
add_action( 'gform_after_submission_2', 'site_name_remove_form_entry' );
function site_name_remove_form_entry( $entry ) {
    GFAPI::delete_entry( $entry['id'] );
}
AK
AL
AZ
AR
CA
CO
CT
DC
DE
FL
{
// 3rd Party Extensions Settings.
"phpcs.standard": "WebDevStudios",
// Theme setup.
"workbench.colorTheme": "Shades of Purple",
"workbench.iconTheme": "eq-material-theme-icons",
"workbench.settings.editor": "json",
// Fonts.
"editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
.header-button {
margin: 30px auto;
display: block;
position: relative;
color: #fff;
text-decoration: none;
font-size: 19px;
background-color: #6dbd93;
text-align: center;
padding: 30px;
@bezierer
bezierer / php-code-inspection.md
Last active October 28, 2017 16:40
How to install PHP code inspection tools using homebrew-php and how to integrate with JetBrain's IntelliJ or PhpStorm

Inspection Tools with homebrew-php and WordPress Coding Standards

Prerequisites

  • Homebrew is installed

Step 1: Installing homebrew-php

  1. brew tap homebrew/dupes
  2. brew tap josegonzalez/homebrew-php
  3. brew install PHP70 (or other version of your choice)
echo '<pre>';
print_r( get_the_ID() );
echo '</pre>';
echo '<pre>';
print_r(get_field( 'blog_hero' ));
echo '</pre>';
die;