Skip to content

Instantly share code, notes, and snippets.

View barbwiredmedia's full-sized avatar

Barbara Talbot barbwiredmedia

View GitHub Profile
@landru247
landru247 / WordPress: get list of terms
Last active August 29, 2015 13:58
WordPress: get list of terms - Puts a list of Terms (taxonomies) in a <ul> and does not add <a> links
<!-- if in a loop -->
<?php
$terms_as_text = strip_tags(get_the_term_list($wp_query->post->ID, 'tmc_works', '', ', ', ''));
echo $terms_as_text;
?>
<!-- or -->
<?php echo '<ul>'; ?>
@logeshpaul
logeshpaul / SimpleWebApp.markdown
Last active August 29, 2015 14:04
Gulp + Sass + Browser Sync

Prerequisites

Before starting, you should have:

A project containing at least an index.html & some scss files. NodeJS installed. GulpJS installed globally 'npm install -g gulp'

Step 1 - Install We need to install 3 tools locally to our project - gulp, gulp-sass & browser-sync. In your terminal/command line, navigate to your project directory and run

@uditveerwani
uditveerwani / package,json
Created August 12, 2014 08:18
Roots task for Gulp (npm modules)
{
"name": "roots",
"version": "7.0.0",
"author": "Ben Word <ben@benword.com>",
"homepage": "http://roots.io",
"repository": {
"type": "git",
"url": "git://github.com/roots/roots.git"
},
"bugs": {
<?php
$file = "img/15.jpeg";
$data = exif_read_data($file); // Returns a Multidimensional array containing image META information
print_r($data);
?>
@elcuervo
elcuervo / gist:937198
Created April 22, 2011 17:42
Scrum Chuck
* Chuck Norris always starts his projects with a Roundhouse-Kickoff.
* Chuck Norris is ScrumMaster and ProductOwner - simultaneously.
* Chuck Norris always wins at Planning Poker.
* Chuck Norris does not estimate, he knows.
* Chuck Norris can do 6-month sprints.
* Chuck Norris does not move story cards, he moves the taskboard.
* When Chuck Norris says "done", believe me, it’s "done".
* Even Chuck Norris is not allowed to be late at the stand-up meeting. Now you tell him.
* Chuck Norris can do a thousand sit-ups during the stand-up meeting.
* Chuck Norris answers just two questions on the stand-up meeting. Chuck Norris does not know obstacles.
@landru247
landru247 / HTML: IE Conditionals
Created April 23, 2013 06:50
HTML: IE Conditionals
<!--[if IE]>
According to the conditional comment this is IE<br />
<![endif]-->
<!--[if IE 6]>
According to the conditional comment this is IE 6<br />
<![endif]-->
<!--[if IE 7]>
According to the conditional comment this is IE 7<br />
<![endif]-->
<!--[if IE 8]>
@landru247
landru247 / WordPress: Contactform 7 - redirect
Created April 30, 2013 18:11
WordPress: Contactform 7 - redirect
on_sent_ok: "location = '/thank-you';"
@landru247
landru247 / Responsive Tables
Created July 12, 2013 23:00
CSS: Responsive tables
<!--
Chris Coyiers responsive table trick... very cool indeed!
http://css-tricks.com/responsive-data-tables/
-->
<table>
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
@landru247
landru247 / CSS: transition - on anchor hover
Created July 23, 2013 18:46
CSS: transition - on anchor hover
a { color: #999; transition: all .2s ease-in-out; -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; }
a:hover { color: #000; }
@landru247
landru247 / Boilerplate: Terms & Conditions
Created July 30, 2013 18:00
Boilerplate: Terms & Conditions - replace place-holder
<p><strong>1. Terms</strong></p>
<p>By accessing this web site, you are agreeing to be bound by these web site Terms and Conditions of Use, all applicable laws and regulations, and agree that you are responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you are prohibited from using or accessing this site. The materials contained in this web site are protected by applicable copyright and trade mark law.</p>
<p><strong>2. Use License</strong></p>
<p>Permission is granted to temporarily download one copy of the materials (information or software) on place-holder web site for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not:modify or copy the materials;use the materials for any commercial purpose, or for any public display (commercial or non-commercial);</p>
<p>attempt to decompile or reverse engineer any software contained on place-holder web site; remove any copyright o