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
$('#js_project_1').click(function() { | |
if ($('#js_table_1').is(':visible')) { | |
$('#js_table_1').fadeOut('slow') | |
} else { | |
$('#js_table_1').fadeIn('slow') | |
} | |
}); |
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
class NewSignupsBySite(SiteMetricsPanel): | |
filters = {'action': 'signup'} | |
dimension = 'site' | |
verbose_name = 'New Signups by Site' | |
time_based_aggregations = ((cube.Count(), 'Over Time'), ) | |
summary_aggregations = ((cube.Count(), 'Total'), ) | |
comparison_aggregations = ( | |
('video_type_name', cube.Count(), 'By Plan Type'), | |
) | |
site.register(CentralAuthCube, NewSignupsBySite) |
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
function gg() { | |
cd ~/cbsi | |
find . \ | |
-mindepth 1 -maxdepth 2 \ | |
-type d -name .git \ | |
| while read git_dir; do | |
dir=`dirname $git_dir` | |
echo $dir: | |
cd $dir | |
git $* |
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
{ | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"folder_exclude_patterns": | |
[ | |
".svn", | |
".git", | |
".hg", | |
"CVS", | |
"*.pyc", | |
"*.pyo", |
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
{# COMSCORE #} | |
<script> | |
var _comscore = _comscore || []; | |
_comscore.push({ c1: "2", c2: "3005086" }); | |
(function() { | |
var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true; | |
s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js"; | |
el.parentNode.insertBefore(s, el); | |
})(); | |
</script> |
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> | |
var _comscore = _comscore || []; | |
_comscore.push({ c1: "2", c2: "3005086" }); | |
(function() { | |
var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true; | |
s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js"; | |
el.parentNode.insertBefore(s, el); | |
})(); | |
</script> | |
<noscript> |
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
export PATH=/Users/snide/bin:${PATH}:/usr/local/sbin | |
function parse_git_branch { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
export PYTHONDONTWRITEBYTECODE=1 | |
export VIRTUALENV_USE_DISTRIBUTE=1 | |
alias shell="python manage.py shell" |
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
Form layout.... | |
<ol> | |
<li> | |
<label>title</label> | |
<div> | |
<input> | |
<p class="help-block"></p> | |
</div> | |
</li> |
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
{# LIST VIEW OF ALL shows #} | |
{# You can find a full list of variables to use on this page in your CMS. #} | |
{% extends "templates/partials/base.html" %} | |
{% block content %} | |
<div class="show-list"> | |
<div class="container"> | |
{% set shows = get('shows') %} |
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
.video-wrap | |
max-width: 640px | |
margin: auto | |
+clearfix | |
.video | |
position: relative | |
padding-bottom: 56.25% | |
height: 0 | |
.video-wrap iframe | |
position: absolute |
OlderNewer