Skip to content

Instantly share code, notes, and snippets.

View pierrerocket's full-sized avatar

Pierre Balian pierrerocket

  • Rocket55
  • Minneapolis USA
View GitHub Profile
@pierrerocket
pierrerocket / new_gist_file_0
Created February 1, 2017 21:48
this calls the flex templates in my page.php file
<!--start of flex-->
<?php
if ( have_rows( 'flexible_content' ) ) :
while ( have_rows( 'flexible_content' ) ) : the_row();
if ( 'info_left_quicklinks_right' === get_row_layout() ) :
get_template_part( 'flex-parts/flex', 'caption-w-buttons' );
@pierrerocket
pierrerocket / 0_reuse_code.js
Last active December 21, 2016 18:12
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@pierrerocket
pierrerocket / terminal-log
Last active January 21, 2017 23:16
This is my terminal log from that weird problem I had with Vagrant.
Last login: Mon Dec 19 23:03:45 on ttys000
✔ ~
23:04 $ pwd
/Users/XXXXXXXX
✔ ~
23:04 $ ls
Applications Library VirtualBox VMs
Creative Cloud Files Movies bin
Desktop Music vagrant-local
Documents Pictures wpcs