Skip to content

Instantly share code, notes, and snippets.

@schierbeck
schierbeck / .gitignore
Last active February 27, 2020 10:48 — forked from salcode/.gitignore
Please see https://salferrarello.com/wordpress-gitignore/ for the canonical version of this WordPress .gitignore file. Note: I do not receive notifications for comments here (because GitHub does not send notifications on Gists)
# -----------------------------------------------------------------
# .gitignore for WordPress @salcode
# ver 20180808
#
# From the root of your project run
# curl -O https://gist.githubusercontent.com/salcode/b515f520d3f8207ecd04/raw/.gitignore
# to download this file
#
# By default all files are ignored. You'll need to whitelist
# any mu-plugins, plugins, or themes you want to include in the repo.
@schierbeck
schierbeck / dallas
Created February 23, 2015 15:26
sallad
<?php get_gist(); ?>
@schierbeck
schierbeck / .gitignore
Last active August 29, 2015 14:14 — forked from salcode/.gitignore
# -----------------------------------------------------------------
# .gitignore for WordPress
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20140606
#
# This file is tailored for a WordPress project
# using the default directory structure
#
# This file specifies intentionally untracked files to ignore
@schierbeck
schierbeck / gist:8426799
Created January 14, 2014 22:07
FizzBuzz example
<?php
for($i = 1; $i < 101; $i++) {
if( $i % 3 == 0 ) {
echo 'Fizz';
$fb = true;
}
if( $i % 5 == 0 ) {
echo 'Buzz';