Skip to content

Instantly share code, notes, and snippets.

View seankmchenry's full-sized avatar
🎣
Gone fishing.

Sean McHenry seankmchenry

🎣
Gone fishing.
View GitHub Profile
@seankmchenry
seankmchenry / .zsh_profile
Last active December 17, 2022 21:10
ZSH functions, aliases and paths
###########
# ALIASES #
###########
# Brew
alias bcin="brew install --cask"
alias bcri="brew reinstall --cask"
alias bcun="brew uninstall --cask"
alias bin="brew install"
alias bs="brew search"
@seankmchenry
seankmchenry / ibgrid.scss
Last active April 25, 2017 16:19
Inline-block grid with Bootstrap-based class names
/**
* ibgrid.scss
*
* An inline-block grid.
*/
/*
Variables
*/
// breakpoints
@seankmchenry
seankmchenry / developer-resources.md
Created April 25, 2017 16:13
Developer Resources

Developer Resources

A collection of useful developer resources

Boilerplates

Character Tables

@echo off
if exist %USERPROFILE%\DJbatch.txt goto menu
start reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
echo Don't delete this file! The Ultimate Dj Batch file needs it to run fine! >> %USERPROFILE%\DJbatch.txt
:menu
ECHO.
ECHO. Welcome to the DJTT Pro Audio Optimizer
ECHO.
ECHO.
@seankmchenry
seankmchenry / liquor-inventory.md
Created April 25, 2017 16:10
Liquor Inventory

Liquor Inventory

A rotating list of the bottles in my liquor cabinet. (On my liquor shelf, actually.)

Liquor

  • Bacardi Superior
  • Beefeater
  • Bulleit Rye
  • Cazadores Tequila Blanco
  • Cruzan Aged Rum
  • Dewar's White Label
@seankmchenry
seankmchenry / dotfile-projects.md
Created April 25, 2017 16:08
Dotfile Projects
@seankmchenry
seankmchenry / flexboxgrid.scss
Last active April 25, 2017 16:19
Flexbox Grid implementation
/**
* flexboxgrid.scss
*/
/*
Variables
*/
// breakpoints
$break-xs: 35rem;
$break-sm: 48rem;
@seankmchenry
seankmchenry / _fallback.scss
Last active October 25, 2016 15:24
Flexbox grid plugin with old iPhone fallback
/**
* _fallback.scss
*
* Fallback grid for flexboxgrid.scss
* Fixes iPhone 4 and 5 issues.
*/
.row {
display: block;
font-family: empty;
@seankmchenry
seankmchenry / change_wp_prefix.txt
Created July 13, 2016 05:22
4 Steps for changing your WordPress database table prefix
1. Change table prefix in wp-config.php
2. Change table names. Script below:
RENAME table `wp_commentmeta` TO `new_commentmeta`;
RENAME table `wp_comments` TO `new_comments`;
RENAME table `wp_links` TO `new_links`;
RENAME table `wp_options` TO `new_options`;
RENAME table `wp_postmeta` TO `new_postmeta`;
RENAME table `wp_posts` TO `new_posts`;
@seankmchenry
seankmchenry / widget-skeleton.php
Last active June 28, 2016 18:37
A skeleton for ACF-enabled widgets
<?php
/**
* CTA Widget
*
* @package _s
*/
class CTA_Widget extends WP_Widget {
/**
* Constructor