Skip to content

Instantly share code, notes, and snippets.

View jaredlockhart's full-sized avatar

Jared Lockhart jaredlockhart

View GitHub Profile
Warning: Failed prop type: Invalid prop `help` supplied to `FormItem`.
in FormItem (created by FormItem)
in FormItem (created by Wrapper)
in Wrapper (created by PreferenceExperimentFields)
in div (created by Col)
in Col (created by PreferenceExperimentFields)
in div (created by Row)
in Row (created by PreferenceExperimentFields)
in PreferenceExperimentFields (created by Wrapper)
in Wrapper (created by RecipeForm)
{
"id": 251,
"last_updated": "2017-09-18T18:31:32.681399Z",
"name": "Pref Flip - Activity Stream Nighly Personalization (Bug 1400890)",
"enabled": true,
"is_approved": true,
"revision_id": "811de96ba2cba7d848e4cd5de94ac62f012f7fd789a4f3c3882f88d2096f374e",
"action": "preference-experiment",
"arguments": {
"branches": [
{
"api_key_pref":"extensions.pocket.oAuthConsumerKey",
"hidden":false,
"learn_more_endpoint":"https://getpocket.cdn.mozilla.net/firefox_learnmore?src=ff_newtab",
"provider_header":"pocket_feedback_header",
"provider_description":"pocket_description",
"provider_icon":"pocket",
"provider_name":"Pocket",
"read_more_endpoint":"https://getpocket.cdn.mozilla.net/explore/trending?src=ff_new_tab",
"stories_endpoint":"https://getpocket.cdn.mozilla.net/v3/firefox/global-recs?version=2&consumer_key=$apiKey&locale_lang=en-US",
{"extra_filter_expression":["Could not parse expression: ##TODO - CONVERT TO JEXL\n ##Browser: 70% of Firefox 57.0 Beta\n ##Additional: Locales: c, bulgarian, nl_be, mhr_ru, li_nl, sr_cs.iso88592@latn, ar_sd, nhn_mx, mg_mg"]}
{
"id": 221,
"last_updated": "2017-08-21T19:07:15.021328Z",
"name": "Preference Experiment: Activity Stream in Beta (Bug 1369150)",
"enabled": true,
"is_approved": true,
"revision_id": "0a0d3222d181a60dcdd9dd46ab22af4b5fac3e57fcd07425aa02b3475c186f7f",
"action": "preference-experiment",
"arguments": {
"branches": [
# How do we indent long lines
# Example one
# Too long
fields = ('slug', 'name', 'description', 'start_date', 'end_date')
# If you're just over 80 characters, you can do this, it's the simplest
# form of satisfying the 80 character max
fields = (
'slug', 'name', 'description', 'start_date', 'end_date')
nginx_1 | 172.18.0.1 - - [03/May/2017:21:39:43 +0000] "GET /static/admin/css/fonts.css HTTP/1.1" 304 0 "http://localhost/static/admin/css/base.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0" "-"
nginx_1 | 172.18.0.1 - - [03/May/2017:21:39:43 +0000] "GET /static/imgs/favicon_128_white.png HTTP/1.1" 304 0 "http://localhost/login/?next=/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0" "-"
app_1 | {"Timestamp": 1493847583966140416, "Type": "django.server", "Logger": "experimenter", "Hostname": "4a56f196bfda", "EnvVersion": "2.0", "Severity": 6, "Pid": 293, "Fields": {"request": "<socket.socket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.19.0.3', 7001), raddr=('172.19.0.4', 52728)>", "server_time": "03/May/2017 21:39:43", "status_code": 304, "message": "\"GET /static/admin/css/fonts.css HTTP/1.0\" 304 0"}}
app_1 | {"Timestamp": 1493847583966870784, "Type": "django.server", "Logger": "ex
141 # Logging
142 LOGGING = {
143 'version': 1,
144 'disable_existing_loggers': True,
145 'formatters': {
146 'mozlog': {
147 '()': 'dockerflow.logging.JsonLogFormatter',
148 'logger_name': 'experimenter'
149 }
150 },
nginx_1 | 172.18.0.1 - - [03/May/2017:21:28:43 +0000] "GET /login/?next=/ HTTP/1.1" 200 1873 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0" "-"
nginx_1 | 172.18.0.1 - - [03/May/2017:21:28:43 +0000] "GET /static/css/adminextra.css HTTP/1.1" 304 0 "http://localhost/login/?next=/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0" "-"
app_1 | [03/May/2017 21:28:43] "GET /static/css/adminextra.css HTTP/1.0" 304 0
nginx_1 | 172.18.0.1 - - [03/May/2017:21:28:43 +0000] "GET /static/admin/css/base.css HTTP/1.1" 304 0 "http://localhost/login/?next=/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0" "-"
app_1 | [03/May/2017 21:28:43] "GET /static/admin/css/base.css HTTP/1.0" 304 0
nginx_1 | 172.18.0.1 - - [03/May/2017:21:28:43 +0000] "GET /static/admin/css/login.css HTTP/1.1" 304 0 "http://localhost/login/?next=/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0" "
docker-compose run app bash
Starting experimenter_data_1
bash: cannot set terminal process group (-1): Not a tty
bash: no job control in this shell
bash-4.3$ ls -alh
total 20
drwxrwxr-x 1 1000 1000 138 May 2 20:41 .
drwxr-xr-x 1 root root 170 May 2 20:45 ..
-rw-rw-r-- 1 1000 1000 640 May 2 20:32 Dockerfile
drwxrwxr-x 1 1000 1000 46 May 2 20:32 bin