Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
1) ERROR: test_course_about_in_cart (courseware.tests.test_views.ViewsTestCase)
Traceback (most recent call last):
/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mock.py line 1618 in _inner
return f(*args, **kw)
lms/djangoapps/courseware/tests/test_views.py line 113 in test_course_about_in_cart
response = views.course_about(request, course.id.to_deprecated_string())
/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/decorators.py line 91 in _wrapped_view
response = view_func(request, *args, **kwargs)
common/djangoapps/util/cache.py line 65 in wrapper
Name,Sites,Physical,Logical,SI2000,TotalSize,UsedSize,TotalSize,UsedSize,Total,Running,Waiting
WLCG,165,200403,778656,2145704065,250622283, 73%,191489016, 76%,827210, 92%, 2538%
EGI,238,161817,721642,2007965072,163250485, 70%,94402579, 58%,585231, 67%, 5332%
EMI,3,37428,43794,82015304,39299981, 74%,97828937, 91%,189472, 389%, 1182%
OSG,4,4398,23784,47572160,29804243, 87%,0, 0%,60130, 213%, 15%
GRIDPP,20,8711,65409,166799717,29457638, 72%,13510124, 89%,200012, 285%, 6%
D-Grid,9,43746,358782,828645952,26952949, 72%,46825810, 40%,88227, 23%, 7055%
EGEE,36,6524,41968,112549926,24226554, 67%,6517500, 70%,14301, 28%, 15555%
NDGF,4,59772,61724,193691984,11027574, 65%,5464000, 19%,1626, 2%, 0%
BIGGRID,12,2176,12816,39150160,8145205, 64%,2220000, 0%,18317, 117%, 2444%
@rlucioni
rlucioni / gist:027de0be999d4581f21c
Created January 26, 2015 18:19
bok-choy stacktrace
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/bin/nosetests", line 9, in <module>
load_entry_point('nose==1.3.3', 'console_scripts', 'nosetests')()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/nose/core.py", line 121, in __init__
**extra_args)
File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
self.parseArgs(argv)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/nose/core.py", line 179, in parseArgs
self.createTests()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/nose/core.py", line 193, in createTests
@rlucioni
rlucioni / senate-vote-graph.py
Last active August 10, 2022 08:59
Senate Vote Scraper and Graph Builder
import json
from itertools import combinations
import requests
import networkx as nx
def get_senate_vote(vote):
# Year can be replaced to fetch votes from different years (e.g., 2013). 1989 is used
# as an example.

Keybase proof

I hereby claim:

  • I am rlucioni on github.
  • I am rlucioni (https://keybase.io/rlucioni) on keybase.
  • I have a public key whose fingerprint is 9844 4816 1311 F3D6 6A1D C969 3B9B 4E90 46C1 3CEF

To claim this, I am signing this object:

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Leak</title>
</head>
<body>
<button id="allocate">Allocate</button>
<button id="release">Release</button>