Skip to content

Instantly share code, notes, and snippets.

View theresaweb's full-sized avatar

Theresa Newman theresaweb

  • NY
View GitHub Profile
@thomascharbit
thomascharbit / acf-sync.php
Created October 1, 2014 18:26
ACF field groups sync for developers
<?php
define( 'ACF_FIELDS_VERSION', '1.0.1');
if ( 'development' == WP_ENV ) {
// save fields to JSON
add_filter('acf/settings/save_json', 'lc_json_save_point');
@jaysonrowe
jaysonrowe / FizzBuzz.js
Created January 11, 2012 01:39
FizzBuzz JavaScript solution
for (var i=1; i <= 20; i++)
{
if (i % 15 == 0)
console.log("FizzBuzz");
else if (i % 3 == 0)
console.log("Fizz");
else if (i % 5 == 0)
console.log("Buzz");
else
console.log(i);