Skip to content

Instantly share code, notes, and snippets.

View matt-bernhardt's full-sized avatar
💭
Learning Rails...

Matthew Bernhardt matt-bernhardt

💭
Learning Rails...
View GitHub Profile
@roborourke
roborourke / pantheon-wp-multisite.php
Last active October 27, 2022 21:46
Get subfolder multisite wordpress to work on getpantheon.com hosting
<?php
// hack to make pantheon work with subdirectory multisite
add_action( 'wpmu_new_blog', function( $blog_id, $user_id, $domain, $path, $site_id, $meta ) {
if ( defined( 'SUBDOMAIN_INSTALL' ) && ! SUBDOMAIN_INSTALL ) {
$abspath = untrailingslashit( ABSPATH );
$subpath = $abspath . untrailingslashit( $subpath );
if ( ! is_dir( $path ) )
### Dynamic Networks
This visualization plots people and projects around the MIT Libraries, with the ability to highlight specific project teams.
@JPrevost
JPrevost / javascript_frameworks.md
Created January 29, 2016 14:27
DLAD Challenge 1

DLAD Challenge 1

battle of the javascript frameworks

Purpose:

  • To create a simple application using a javascript framework, even if it makes no sense to use one for the purpose of the demo app
@kyletaylored
kyletaylored / .gitignore
Created March 4, 2022 16:08
Add Node build capabilities to composer.json
# Ignore asset build path in theme
# --------------------------------
/web/themes/custom/radix_subtheme/build/