This file contains 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
<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'> |
This file contains 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
{% if not user.is_authenticated %} | |
<li> | |
<a href="{% url 'feedback' %}"> | |
Send Us Feedback | |
</a> | |
</li> | |
{% endif %} |
This file contains 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
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', |
This file contains 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
$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 | |
}); |
This file contains 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlQW/h9MkXwMGGJSiiZPDhuOFT+TH0m99okYIHouO39AWneuQcGg0kchO+qj3FpdDlYwRud3hRhUKH8y8riXPsFjnXs3E337ztyzbaZotx1s9pZaiBhGwUxRknVgQENvmqoNMjfKD7OIl7RqtswP/ZUwOy1Hvr6G4CxlmeCz85ESW5zOpFCZND135RIgcnFhLlyyotutLiyuHQhZdFjvOcbvImsaFoDKD4EnF3m/T+fcecvw8zwr9kJfEFUWyZ4MrH6BfAtbX9T2HT5FebUotVEdstGwleRtTYpNXjWJakXrQEmXqbzTpMfLkjk4gwpk3lpyE5qo5BQS2tZtz+jeaX [email protected] |
This file contains 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
npm WARN package.json Please pick one as the 'repository' field |
This file contains 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
(load-theme 'kvn-spacey t) | |
(require 'package) | |
;; Add the original Emacs Lisp Package Archive | |
(add-to-list 'package-archives | |
'("elpa" . "http://tromey.com/elpa/")) | |
(add-to-list 'package-archives | |
'("marmalade" . "http://marmalade-repo.org/packages/")) |
This file contains 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
// placeholder styles | |
.placeholder(@color:inherit, @background: inherit) { | |
::-webkit-input-placeholder { | |
color: @color; | |
background: @background; | |
} | |
:-moz-placeholder { /* Firefox 18- */ | |
color: @color; | |
background: @background; |
This file contains 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
// Bohemian Rhapsody - queen | |
if (realLife || fantasy) { | |
for (i = 0; i < landslide + 1; i++) { | |
if (!reality) { | |
break; | |
} | |
landslide = i + 1; | |
} | |
} |
This file contains 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
// currently sorting my collection with this comparator. | |
// It sets up a relationship so that a Parent Item should be before its sub-items(you can think of these as sub tasks) | |
// 'parent' attribute is just the 'pk' of the parent item. | |
// This is working fantastically but I need to sort at a higher level above this descending from an attribute called | |
// 'created_at'. | |
// the `else` refers to items that are either parents, or items that have no relationship to any others. | |
comparator: function(item) { | |
if (item.isSubItem()) { | |
return [item.get('parent'), item.get('pk')]; |
OlderNewer