Skip to content

Instantly share code, notes, and snippets.

Avatar

Gary Hussey garyhussey

View GitHub Profile
View clients.getCost > result
{
"leadData": {
"callCount": 71,
"costPerLead": 4.85,
"dailyAverageCallCount": 4.73,
"dailyAverageJobAppCount": 16.47,
"dailyTotalAverageCount": 21.2,
"jobAppCount": 247,
"totalCount": 318
},
@garyhussey
garyhussey / HTML
Last active Aug 29, 2015
jQuery Plugin for Infinite carousel
View HTML
<div class="our-partners home">
<div class="row-fluid mobile-pad">
<div class="span12">
<h1></h1>
<p></p>
</div>
</div>
<div class="mini-carousel clearfix icarousel">
<div class="carousel-window port" style="overflow: hidden;">
@garyhussey
garyhussey / gist:3b0a5778d49bc784f4a7
Last active Aug 29, 2015
Renalus Infinate Carousel Slider
View gist:3b0a5778d49bc784f4a7
<div class="our-partners home">
<div class="row-fluid mobile-pad">
<div class="span12">
<h1></h1>
<p></p>
</div>
</div>
<div class="mini-carousel clearfix icarousel">
<div class="carousel-window port" style="overflow: hidden;">
View gist:30c52d9daafba5f3750d
<div class="row lightgray-bg clients">
<div class="text-center">
<h3>clients</h3>
</div>
<div id="clients">
<i class="fa fa-angle-left fa-5x"></i>
<i class="fa fa-angle-right fa-5x"></i>
<div class="icon-wrap">
<ul id="clientlist">
<li><span class="lucent-icon"></span></li>
View gist:319baae1071a42370951
$(document).ready(function(){
function iconSlider() {
$('.fa-angle-right').click(function(){
var $clientlistWidth = $("body").find('.icon-wrap').width();
if ($clientlistWidth == 250 && parseInt($('#clientlist').css('right'), 10) < 2500) {
$('#clientlist').animate({'right': "+=250px" });
console.log("list is 250px wide and right is less than 2500px");
View gist:14613d8a8e75801f2c5f
var elixir = require('laravel-elixir');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Less
| file for our application, as well as publishing vendor resources.
View gist:d3a17e5ae4083d928a7e
<html>
<head>
<!-- @reload -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>L2: Learn - Lead | John Maxwell</title>
@garyhussey
garyhussey / laravel.states.select.php
Last active Jul 27, 2020
Laravel States Form::select Element
View laravel.states.select.php
<?php
Form::select('state',array(
'AL'=>'Alabama',
'AK'=>'Alaska',
'AZ'=>'Arizona',
'AR'=>'Arkansas',
'CA'=>'California',
'CO'=>'Colorado',
'CT'=>'Connecticut',
You can’t perform that action at this time.