Skip to content

Instantly share code, notes, and snippets.

[root@mktadm1 olympia]# sudo -u mkt_prod DJANGO_SETTINGS_MODULE=settings_local ../venv/bin/python manage.py update_counts_from_file --date 2015-01-12
Traceback (most recent call last):
File "manage.py", line 93, in <module>
execute_from_command_line(sys.argv)
File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20150115220703-b9225b3424/venv/lib/python2.6/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20150115220703-b9225b3424/venv/lib/python2.6/site-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/data/mkt.prod/www/addons.mozilla.org/deploy-olympia-prod-20150115220703-b9225b3424/venv/lib/python2.6/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)
-rw-r--r-- 1 mkt_prod mkt_prod 463K Oct 15 03:10 85852c342591491b9debf7a6987ea057
-rw-r--r-- 1 mkt_prod mkt_prod 358K Oct 15 03:10 2767b2c58b4541e59157558d0427692b
-rw-r--r-- 1 mkt_prod mkt_prod 148K Oct 15 03:10 85a9b40c70964c16b11f6c7d3510671d
-rw-r--r-- 1 mkt_prod mkt_prod 158K Oct 15 03:13 73aa71f69c5548e1b4c94c5913db8f7c
-rw-r--r-- 1 mkt_prod mkt_prod 38K Oct 15 03:14 a0a07ec3d2f34ef19d7d274df3701f66
-rw-r--r-- 1 mkt_prod mkt_prod 27K Oct 15 06:45 db1309f5911b475980ef9654fefc6f55
-rw-r--r-- 1 mkt_prod mkt_prod 13K Oct 15 06:46 96dbb569864b454c99107977ff38914f
-rw-r--r-- 1 mkt_prod mkt_prod 27K Oct 15 06:46 fbfcb36402dd4197bc44ca624ec1b667
-rw-r--r-- 1 mkt_prod mkt_prod 14K Oct 15 06:46 092bf4e464e44f03888258c9892ab24b
-rw-r--r-- 1 mkt_prod mkt_prod 26K Oct 15 06:46 1e3c018b1daf4a32a301d909552b5262
foo
[root@log1 log]# grep mozilla-extensions@kewis.ch maillog
Sep 28 07:27:27 log1 postfix/smtp[25864]: 0C8062400E5: to=<mozilla-extensions@kewis.ch>, relay=smtp.socketlabs.com[142.0.179.10]:25, delay=0.68, delays=0.01/0/0.49/0.18, dsn=2.0.0, status=sent (250 2.0.0 Message received and queued as 710000034067f1.)
Sep 28 18:26:44 log1 postfix/smtp[25568]: 3FC9D240444: to=<mozilla-extensions@kewis.ch>, relay=smtp.socketlabs.com[23.23.219.154]:25, delay=0.7, delays=0.01/0.01/0.52/0.16, dsn=2.0.0, status=sent (250 2.0.0 Message received and queued as d4000000d2d7f3.)
Oct 2 21:17:34 log1 postfix/smtp[16837]: 1CE9C2404FC: to=<mozilla-extensions@kewis.ch>, relay=smtp.socketlabs.com[142.0.179.10]:25, delay=0.69, delays=0.01/0/0.51/0.17, dsn=2.0.0, status=sent (250 2.0.0 Message received and queued as 7200000381e480.)
Oct 2 21:42:36 log1 postfix/smtp[18065]: 081232404FC: to=<mozilla-extensions@kewis.ch>, relay=smtp.socketlabs.com[142.0.180.14]:25, delay=0.73, delays=0.01/0/0.39/0.33, dsn=2.0.0, status=sent (250 2.0.0 Mes

Keybase proof

I hereby claim:

  • I am jasonthomas on github.
  • I am lithiumfox (https://keybase.io/lithiumfox) on keybase.
  • I have a public key whose fingerprint is B7E6 AA2A 6795 0001 BF6E 14E2 C757 8A53 9561 2E47

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am jasonthomas on github.
* I am lithiumfox (https://keybase.io/lithiumfox) on keybase.
* I have a public key whose fingerprint is B7E6 AA2A 6795 0001 BF6E 14E2 C757 8A53 9561 2E47
To claim this, I am signing this object:
[root@mktadm1 0]# ls -ltrh
total 1.3M
-rw-r--r-- 1 mkt_prod mkt_prod 46K Sep 2 17:52 feed_shelf_39.png
-rw-r--r-- 1 mkt_prod mkt_prod 54K Sep 11 20:18 feed_shelf_37.png
-rw-r--r-- 1 mkt_prod mkt_prod 43K Sep 23 16:17 feed_shelf_9.png
-rw-r--r-- 1 mkt_prod mkt_prod 43K Sep 23 16:25 feed_shelf_17.png
-rw-r--r-- 1 mkt_prod mkt_prod 43K Sep 23 16:27 feed_shelf_7.png
-rw-r--r-- 1 mkt_prod mkt_prod 43K Sep 23 16:37 feed_shelf_11.png
-rw-r--r-- 1 mkt_prod mkt_prod 43K Sep 23 17:14 feed_shelf_13.png
-rw-r--r-- 1 mkt_prod mkt_prod 43K Sep 23 17:21 feed_shelf_5.png
@jasonthomas
jasonthomas / circusd.sh
Created June 14, 2013 22:16
circusd init script
#!/bin/bash
#
# circusd This scripts turns circusd on
#
# Author: Jason Thomas <jthomas@mozilla.com>
#
# chkconfig: - 95 04
#
# description: circus is a program that will let you run and watch
# multiple processes and sockets.
@jasonthomas
jasonthomas / gist:5214719
Created March 21, 2013 17:08
s3 reposync
#!/bin/env python
import boto
import hashlib
import os
BUCKET_NAME = 'reponame'
AWS_ACCESS_KEY_ID = ''
AWS_SECRET_ACCESS_KEY = ''
@jasonthomas
jasonthomas / sns.coffee
Last active December 11, 2015 07:48
AWS SNS script for hubot
# Description:
# This script receives messages from AWS SNS topic for cloudwatch
#
# Author:
# jasonthomas
irc = require('irc')
SNSClient = require('aws-snsclient')
module.exports = (robot) ->