Skip to content

Instantly share code, notes, and snippets.

View snide's full-sized avatar
🐢
Steady, constant work always wins.

Dave Snider snide

🐢
Steady, constant work always wins.
View GitHub Profile
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 $*
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)
$('#js_project_1').click(function() {
if ($('#js_table_1').is(':visible')) {
$('#js_table_1').fadeOut('slow')
} else {
$('#js_table_1').fadeIn('slow')
}
});