Skip to content

Instantly share code, notes, and snippets.

View stanwmusic's full-sized avatar
🏠
Working from home

Stan Williams stanwmusic

🏠
Working from home
View GitHub Profile
@roryheaney
roryheaney / WordPress-Tweet-List.php
Created February 16, 2016 21:16 — forked from michael-martin/WordPress-Tweet-List.php
Display tweets in WordPress using Twitter API v1.1 - With authentication and a fallback when Twitter is down. Full explanation here: http://www.problogdesign.com/wordpress/authenticate-your-twitter-api-calls-before-march/
<?php
/* REQUIRES: TwitterOAuth
* https://github.com/abraham/twitteroauth/tree/master/twitteroauth
*
* Download and place in a /twitteroauth/ folder in your theme/plugin.
*
*
* Full guide here: http://www.problogdesign.com/wordpress/authenticate-your-twitter-api-calls-before-march/
*
* Uses:
@Nilpo
Nilpo / Using Git to Manage a Live Web Site.md
Last active June 11, 2025 10:12
Using Git to Manage a Live Web Site

Using Git to Manage a Live Web Site

Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

Contents

@bavington
bavington / wp_custom_toolbar_link.php
Last active March 11, 2019 13:31
Adding a custom link to the WordPress Admin/Toolbar complete with icon.
@stanwmusic
stanwmusic / Flexible-Calendar-V1.markdown
Created November 14, 2014 20:39
A Pen by Stan Williams.
@briandoll
briandoll / gist:6980359e85eb9284ea14
Last active May 5, 2025 18:13
Farewell to Joe Strummer by Tom Morello

Joe Strummer, 1952-2002

Farewell to Joe Strummer by Tom Morello

The first time I heard of the Clash was in high school. I was working on the school newspaper, and one day a fellow named Dave Vogel came in with a copy of London Calling that he was showing off to anybody who was willing to listen. I thought the cover of the album was really cool, and asked him "is it heavy metal?" He said "no, but it's really great." I doubted him, but asked if I could borrow it, and I made

@indexzero
indexzero / ISC.md
Created April 13, 2014 21:00
ISC vs. MIT

Copyright (c) 4-digit year, Company or Person's Name

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Source: http://opensource.org/licenses/ISC

@stanwmusic
stanwmusic / CSS-Navigation-Menu.markdown
Created March 24, 2014 12:09
A Pen by Stan Williams.

Background Image Slideshow Menu

This is a slideshow using background images in divs. The advantage is you can use inset box shadows and can place text in the divs as captions.I added links.

A Pen by Stan Williams on CodePen.

License.

@cosmicscr
cosmicscr / bootstrap_3_full_class_list
Last active June 3, 2023 00:07
bootstrap 3 full class list
Here are all the classes from Bootstrap 3 (version 3.1.1).
Method of extraction:
1. Download Bootstrap 3 and rename bootstrap.css as "bootstrap.html"
2. Add the following 24 lines of code to the very bottom of the bootstrap.html file:
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js"></script>
<script>