Skip to content

Instantly share code, notes, and snippets.

View objectivehtml's full-sized avatar

Justin Kimbrell objectivehtml

  • Woodland Park, CO
View GitHub Profile
This is a Traceroute output for: objectivehtml.com. This message will appear for all MediaTemple domain.
----
Traceroute has started…
traceroute to objectivehtml.com (64.207.176.42), 64 hops max, 72 byte packets
1 10.0.1.1 (10.0.1.1) 4.528 ms 0.677 ms 0.550 ms
2 98.220.176.1 (98.220.176.1) 34.433 ms 29.384 ms 17.829 ms
3 te-3-4-ur01.noblesville.in.indiana.comcast.net (68.85.204.93) 10.729 ms 12.046 ms 9.444 ms
$('a[data-toggle="tab"]').on('shown', function (e) {
google.maps.event.trigger(map_map, 'resize');
var bounds = new google.maps.LatLngBounds();
$.each(map_markers, function(i, marker) {
bounds.extend(marker.getPosition());
});
@objectivehtml
objectivehtml / gist:4540145
Last active December 11, 2015 03:48
$(document).ready(function() { var Gmap = GmapGlobal.object[0]; var fieldName = 'member_location'; if(Gmap.settings.field_name == fieldName) { Gmap.bind('gmapInit', function(Gmap) { }); } });
$(document).ready(function() {
var Gmap = GmapGlobal.object[0];
var fieldName = 'member_location';
if(Gmap.settings.field_name == fieldName) {
Gmap.bind('gmapInit', function(Gmap) {
alert("init");
});
$('form').submit(function(e) {
console.log(GmapGlobal[0].instance.response.markers.total);
e.preventDefault();
});
array(16) {
["items"]=>
array(1) {
[0]=>
array(9) {
["product_id"]=>
string(3) "628"
["row_id"]=>
int(0)
<article class="article">
{if segment_3 != url_title}
<h3><a href="/articles/read/{url_title}">{title}</a></h3>
{if:else}
<h1>{title}</h1>
<!-- IE Fix for HTML5 Tags -->
<!--[if lt IE 8]>
<link rel="stylesheet" href="/assets/css/font-awesome-ie7.css">
<![endif]-->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" href="http://lapeninsula.dev/assets/addons/showtimes/css/showtimes.css" rel="stylesheet" media="screen" />
<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
## assigned_to_member()
This method allows you store a delimited string of member_id's in a channel field that can be used to grab "assigned" entries. An assigned entry conists of any entry authored by the given user, or any entry in which the defined field contains a member_id.
*The string delimeter must be a '|' character.*
### PARAMETERS
from_field : This is the channel field that stores the delimeted member_id's. If the defined member_id is stored in this field, the entry is returned in the results.
@objectivehtml
objectivehtml / gist:4210032
Created December 4, 2012 23:02
Unlimited nested channel entries
{exp:entries:get
channel="events"
}
{title}<br>
{exp:entries:get:1
entry_id="{entry_id}"
channel="events"
prefix="1:"
}