Skip to content

Instantly share code, notes, and snippets.

View meandavejustice's full-sized avatar

Dave Justice meandavejustice

View GitHub Profile
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlQW/h9MkXwMGGJSiiZPDhuOFT+TH0m99okYIHouO39AWneuQcGg0kchO+qj3FpdDlYwRud3hRhUKH8y8riXPsFjnXs3E337ztyzbaZotx1s9pZaiBhGwUxRknVgQENvmqoNMjfKD7OIl7RqtswP/ZUwOy1Hvr6G4CxlmeCz85ESW5zOpFCZND135RIgcnFhLlyyotutLiyuHQhZdFjvOcbvImsaFoDKD4EnF3m/T+fcecvw8zwr9kJfEFUWyZ4MrH6BfAtbX9T2HT5FebUotVEdstGwleRtTYpNXjWJakXrQEmXqbzTpMfLkjk4gwpk3lpyE5qo5BQS2tZtz+jeaX [email protected]
@meandavejustice
meandavejustice / n00bshit.js
Created December 6, 2012 19:39
.blur is catching .js-search-clear before it gets to $document
$document.on('click', '.js-search-close', function(e) {
e.preventDefault();
$('#navigation-global-search, #datepicker').val(''); // clear form value
Backbone.history.navigate(lastFragmentBeforeSearch || '', {trigger: true});
});
$document.on('click', 'js-search-clear', function(e) {
e.preventDefault();
$('#navigation-global-search').val(''); //clear form value
});
David-Justices-MacBook-Pro:node-v0.8.12 meandave$ ./configure && make
{ 'target_defaults': { 'cflags': [],
'default_configuration': 'Release',
'defines': [],
'include_dirs': [],
'libraries': []},
'variables': { 'clang': 1,
'host_arch': 'x64',
'node_install_npm': 'true',
'node_install_waf': 'true',
{% if not user.is_authenticated %}
<li>
<a href="{% url 'feedback' %}">
Send Us Feedback
</a>
</li>
{% endif %}
@meandavejustice
meandavejustice / gist:3908542
Created October 17, 2012 21:56
only displaying "legend"
<script id="legend" type="text/x-template">
<ul>
<li class='panel-item legend-icon-my'>
Add to my events</li>
<li class='panel-item legend-icon-odds'>
odds of winning</li>
<li class='panel-item legend-flag-hot'>
Hot</li>
<li class='panel-item legend-flag-pick-staff'>