Skip to content

Instantly share code, notes, and snippets.

[2019-01-22 23:17:18,709] [ERROR] Internal Server Error: /cms/pages/46/
Traceback (most recent call last):
File "/Users/mavisou/.local/share/virtualenvs/foundation.mozilla.org-ZwSOQXLB/lib/python3.6/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/Users/mavisou/.local/share/virtualenvs/foundation.mozilla.org-ZwSOQXLB/lib/python3.6/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/Users/mavisou/.local/share/virtualenvs/foundation.mozilla.org-ZwSOQXLB/lib/python3.6/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py", line 52, in inner
return func(*args, **kwds)
(venv) mavisou:~/Development/foundation.mozilla.org/network-api[issue-950-fellowships-homepage*]$ flake8 --conf=network-api/tox.ini
./networkapi/fellows/views.py:6:50: E201 whitespace after '{'
./networkapi/fellows/views.py:6:73: E202 whitespace before '}'
./venv/bin/activate_this.py:24:1: E402 module level import not at top of file
./venv/bin/pildriver.py:516:28: F821 undefined name 'raw_input'
./venv/bin/pilprint.py:22:1: E402 module level import not at top of file
./venv/bin/pilprint.py:23:1: E402 module level import not at top of file
./venv/bin/player.py:10:5: F403 'from tkinter import *' used; unable to detect undefined names
./venv/bin/player.py:12:5: F403 'from Tkinter import *' used; unable to detect undefined names
./venv/bin/rst2html5.py:24:18: E261 at least two spaces before inline comment

Keybase proof

I hereby claim:

  • I am mmmavis on github.
  • I am mavis (https://keybase.io/mavis) on keybase.
  • I have a public key whose fingerprint is 7476 1D79 26E9 B89F 4D7F D7C1 48D8 CC12 F1F5 2398

To claim this, I am signing this object:

mavisou:~/Development/bedrock-third[master*]$ npm list
bedrock@0.1.0 /Users/mavisou/Development/bedrock-third
├── cssmin@0.4.3
├─┬ eslint@2.13.1
│ ├─┬ chalk@1.1.3
│ │ ├── ansi-styles@2.2.1
│ │ ├── escape-string-regexp@1.0.5
│ │ ├── has-ansi@2.0.0
│ │ ├── strip-ansi@3.0.1
│ │ └── supports-color@2.0.0
var NewsletterSignupForm = require('../../components/newsletter-signup/SignupForm.jsx');
var validateSignupForm = require('../../components/newsletter-signup/validateSignupForm.js');
var validator = require('validator');
var stubContext = require('./stub-context.jsx');
var Util = require('../util.js');
var GOOD_EMAIL_EXAMPLES = [
"hello@example.com",
"hello123@example.com",
@mmmavis
mmmavis / MakefileCalypso.bash
Created February 25, 2016 23:12
MakefileCalypso
# get Makefile directory name: http://stackoverflow.com/a/5982798/376773
THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)
empty:=
space:=$(empty) $(empty)
THIS_DIR:= $(subst $(space),\$(space),$(THIS_DIR))
ifeq ($(OS),Windows_NT)
SEPARATOR := ;
else
@mmmavis
mmmavis / temp-foxlight.css
Created February 22, 2016 20:57
temp foxlight.css
/*!
* Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%; }
@mmmavis
mmmavis / SampleTicketTemplate.txt
Created October 22, 2015 01:21
Sample ticket template for mozfest-program
### Google Spreadsheet Row Number
123
### Facilitator
name: mavis
twitter: @ohmmmavis
organization: Mozilla Foundation
name: pomax
twitter: @TheRealPomax
organization: Mozilla Foundation
@mmmavis
mmmavis / 20151021-01.18.07AM.csv
Last active October 21, 2015 08:41
Experimental Github Ticket Parser. Result after imported .csv into Google Spreadsheet: https://docs.google.com/spreadsheets/d/1goMIhAXZ2tZILaSVS36avDmv3z2epJbEXKyhAvkXgbs/pubhtml
We can make this file beautiful and searchable if this error is corrected: Any value after quoted field isn't allowed in line 1.
"githubIssueNumber" "name" "space" "pathways" "description" "facilitator" "oldSpreasheetRowNumber"
600 "Rent (or Adopt) A Unicorn" "Journalism" ["Data and Impact"] "" "Eva Constantaras" ""
599 "[Pathway] Tools and Analysis" "Journalism" [] "" "" ""
598 "[Pathway] Healthy Events and Networks" "Journalism" [] "" "" ""
594 "20 new ways of sharing: learning co-creation through community engagements" null ["Global Village Garage"] "" "" ""
593 "Slow ethnography as a tool for co-creation" null ["Global Village Garage"] "" "" ""
592 "Connecting old games with the BBC Micro:Bit" "The Global Village" ["Global Village Garage","Global Village Living Room"] "" "" ""
591 "Eye contact experiments" "The Global Village" ["Global Village Athena Library"] "" "" ""
590 "We Begin By Listening" null ["[MLN] Voices of Diverse Leaders"] "" "" ""
589 "[Pathway] Citizen Science" "Open Science" ["[Pathway] Citizen Science"] "" "" ""
@mmmavis
mmmavis / forEach-fail.jsx
Created March 10, 2015 23:45
forEach fail
render: function() {
return(
<div className="row">
this.ICON_LINKS.forEach(function(link){
<div className="col-sm-4 col-md-4 col-lg-4">
<IconLink info={link} />
</div>
});
</div>
);