Skip to content

Instantly share code, notes, and snippets.

View edvm's full-sized avatar
:shipit:
FLDSMDFR

Emiliano Dalla Verde Marcozzi edvm

:shipit:
FLDSMDFR
View GitHub Profile
ubuntu@ip-172-31-16-208:/opt/purify$ celery -A celeryapp.celery beat -l debug
celery beat v3.1.18 (Cipater) is starting.
__ - ... __ - _
Configuration ->
. broker -> redis://ip-172-31-18-1.us-west-2.compute.internal:6379/1
. loader -> celery.loaders.app.AppLoader
. scheduler -> celery.beat.PersistentScheduler
. db -> celerybeat-schedule
. logfile -> [stderr]@%DEBUG
. maxinterval -> now (0s)
# unique_together tuple is ordered in how the name should appear
return ' '.join(
map((lambda v: v.title().replace('-', ' ')),
filter(lambda v: v is not None, [params.get(k, None) for k in self.get_unique_together_field_names()]))
)
#!/usr/bin/env python
from contextlib import contextmanager
from hashlib import sha256
import subprocess
import logging
import shlex
import sys
import os
.../0020_auto__chg_field_timeslot_affected_by__chg_field_timeslot_recurring_inf.py | 356 ++++++++++++++++++++
.../0021_auto__add_field_gcalevent_description__add_field_gcalevent_summary__ad.py | 371 ++++++++++++++++++++
mysite/sql_calendar/models.py | 77 +++++----
mysite/sql_calendar/signals.py | 7 +-
mysite/sql_calendar/utils.py | 1 +
mysite/sql_calendar/views.py | 23 ++-
mysite/static/img/a-few-of-our-partners/remorca-fitness.png | Bin 0 -> 2260 bytes
mysite/static/js/fytapi.js | 10 +-
mysite/static/js/main.js | 3 -
mysite/static/js/trainer-schedule.js | 7 +-
if (coupon.group.ctype == SINGLE_USE_ONE_MEMBER_ONLY
and CouponStatus.objects.filter(coupon=coupon).exists()):
log("Member %s tried to redeem a single-use single-member coupon, failed: %s" % (
member.pk, code,
))
return (False, u'Only one promo code may be redeemed per transaction')
[edvm@laptop mysite]$ git status
On branch master
Your branch is ahead of 'origin/master' by 56 commits.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: static/js/bootstrap.js
modified: templates/_new_header.html
commit d27445789c7717859ee184c0c4a2c954c1cc198e
Author: Emiliano Dalla Verde Marcozzi <[email protected]>
Date: Fri Apr 10 10:57:43 2015 -0300
#897 replaced Tribeca Health and Fitness with Remoca Gym horizontal logo at homepage partners
commit 9e82148ba0ff68608c083f6c755079fa8d3d8b45
Author: Emiliano Dalla Verde Marcozzi <[email protected]>
Date: Thu Apr 9 16:44:15 2015 -0300
{
"virtualhost": {
"server_auto": "www",
"name": "frula",
"canonical_name": "edvm.frula",
"port": 80,
"set_wordpress_auth": false,
"set_mobile_redirect": false,
"add_geoip_header": false,
"server_aliases": [
(vims-cli)[edvm@laptop asd]$ vims-cli get http://vims-devel.planisys.net/api/tasks/2375 --token sk_live_8A8TCvuS6IC0lD4p5nJV0DEpBS8R1pTX
content-length 564
server nginx/1.6.2
connection keep-alive
date Thu, 12 Feb 2015 19:17:22 GMT
access-control-allow-origin *
access-control-allow-headers Authorization
content-type application/json
{
"data": {
(vims-cli)[edvm@laptop asd]$ vims-cli get http://vims-devel.planisys.net/api/tasks/2375 --token sk_live_8A8TCvuS6IC0lD4p5nJV0DEpBS8R1pTX
content-length 564
server nginx/1.6.2
connection keep-alive
date Thu, 12 Feb 2015 18:49:11 GMT
access-control-allow-origin *
access-control-allow-headers Authorization
content-type application/json
{
"data": {