This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* | |
* jQuery :missing Plugin | |
* http://darcyclarke.me/articles/development/find-elements-that-dont-contain-a-string/ | |
* | |
* Copyright 2016, Darcy Clarke | |
* Do what you want license | |
* | |
*/ | |
jQuery.expr[':'].missing = function(elem, index, match) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Animate Floats jQuery Plugin | |
* http://darcyclarke.me/articles/development/animate-float-positions-in-jquery-1-5/ | |
* | |
* Copyright 2016, Darcy Clarke | |
* Do what you want license | |
*/ | |
(function(window, $){ | |
var $plugin = $.sub(); | |
$plugin.fn.animate = function(props, speed, cb){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/***********************************************/ | |
/* Get a Youtube or Vimeo video's Thumbnail from a URL | |
/* http://darcyclarke.me/articles/development/get-image-for-youtube-or-vimeo-videos-from-url/ | |
/* | |
/* Copyright 2016, Darcy Clarke | |
/* Do what you want license | |
/***********************************************/ | |
function video_image($url){ | |
$image_url = parse_url($url); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* | |
* Library Agnostic Pubsub | |
* http://darcyclarke.me/articles/development/library-agnostic-pubsub-publish-subscribe/ | |
* | |
* Copyright 2016, Darcy Clarke | |
* Do what you want license... | |
* | |
*/ | |
(function(window){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/***********************************************/ | |
/* PHP Strip Function | |
/* http://darcyclarke.me/articles/development/strip-out-text-between-two-tags-in-a-string-php/ | |
/* | |
/* Copyright 2016, Darcy Clarke | |
/* Do what you want license | |
/***********************************************/ | |
function strip($startTag,$endTag,$text,$pos=0){ | |
if(!is_integer($pos)){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* | |
* Get Clean window & DOM Objects | |
* http://darcyclarke.me/articles/development/getting-a-clean-document-or-window-object-in-javascript/ | |
* | |
* Copyright 2016, Darcy Clarke | |
* Do what you want license | |
* | |
*/ | |
(function(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -------------------------------------- | |
# Setup | |
# -------------------------------------- | |
server = false | |
fs = require( 'fs' ) | |
path = require( 'path' ) | |
_ = require( 'underscore' ) | |
wrench = require( 'wrench' ) |
NewerOlder