Skip to content

Instantly share code, notes, and snippets.

@mbeall
mbeall / elizabeth.md
Last active January 4, 2018 17:33
Gift lists for Beall children

Elizabeth's Wish List

Scroll down to see Matt's Wish List or Kara's Wish List. Items listed are in no particular order.

Books

Harry Potter books

  • Harry Potter and the Sorcerer's Stone
  • Harry Potter and the Chamber of Secrets
  • Harry Potter and the Prisoner of Azkaban
  • Harry Potter and the Goblet of Fire
@mbeall
mbeall / git-csscomb-sync
Last active September 23, 2016 21:11
Custom functions
#!/bin/bash
#
# Make sure all git repos are using the latest csscomb rules
# Uses Flint's rules as master
#
for repo in $(cat /usr/local/repos.git)
do
cd $repo
echo $(basename $repo)
@mbeall
mbeall / .bash_aliases
Last active September 23, 2016 21:02
Hidden files
alias rsync-ssh='rsync -az -e ssh'
Set updateSession = CreateObject("Microsoft.Update.Session")
updateSession.ClientApplicationID = "MSDN Sample Script"
Set updateSearcher = updateSession.CreateUpdateSearcher()
WScript.Echo "Searching for updates..." & vbCRLF
Set searchResult = _
updateSearcher.Search("IsInstalled=0 and Type='Software' and IsHidden=0")
@mbeall
mbeall / apache2.conf
Created February 3, 2016 06:37
Golden LAMP configuration (Ubuntu 14.04)
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.4/ for detailed information about
# the directives and /usr/share/doc/apache2/README.Debian about Debian specific
# hints.
#
#
# Summary of how the Apache 2 configuration works in Debian:
# The Apache 2 web server configuration in Debian is quite different to
# upstream's suggested way to configure the web server. This is because Debian's
<?php
/**
* Displays content for a team member profile
*
* @package Steel
* @module Teams
*
*/
?>
<?php
/**
* The template for displaying a list of profiles for a Team.
*
* @package Steel
* @module Teams
*
*/
get_header(); ?>
<?php
/**
* Displays a single profile
*
* @package Steel
* @module Teams
*
*/
get_header(); ?>
@mbeall
mbeall / slides.php
Last active December 31, 2015 11:29
slides.php - Custom Post Type method
<?php
/*
* Create a slideshow made up of images and video
* Uses Bootstrap Carousel plugin
*
* @package Steel
* @module Slides
*
*/
@mbeall
mbeall / customizer.js
Last active December 25, 2015 06:09
Customizer for Flint, with color options: Being postponed
/**
* Theme Customizer enhancements for a better user experience.
*
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
*/
( function( $ ) {
// Site title and description.
wp.customize( 'blogname', function( value ) {
value.bind( function( to ) {