I hereby claim:
- I am vkurup on github.
- I am vkurup (https://keybase.io/vkurup) on keybase.
- I have a public key whose fingerprint is 01AC F6AB EA98 0D16 5777 C37D DA8E 3DB4 6683 2BC1
To claim this, I am signing this object:
--- | |
# Config file to override default-config.yml from [email protected]:geerlingguy/mac-dev-playbook.git | |
configure_dotfiles: false | |
configure_terminal: false | |
configure_osx: false | |
homebrew_installed_packages: | |
- aspell | |
- autoconf | |
- awscli |
TASK [tequila-django : upload github key] ****************************************************************************************************************************************************************** | |
task path: /home/vkurup/dev/epicallieshq/deployment/roles/tequila-django/tasks/main.yml:74 | |
changed: [staging] => { | |
"changed": true, | |
"checksum": "838396e7a90480edfd99021278843b6b2ee9d0cf", | |
"dest": "/home/epicallieshq/.ssh/github", | |
"diff": [], | |
"failed": false, | |
"gid": 1014, | |
"group": "epicallieshq", |
TASK [tequila-django : upload github key] ****************************************************************************************************************************************************************** | |
task path: /home/vkurup/dev/epicallieshq/deployment/roles/tequila-django/tasks/main.yml:74 | |
ok: [staging] => { | |
"changed": false, | |
"checksum": "838396e7a90480edfd99021278843b6b2ee9d0cf", | |
"diff": { | |
"after": { | |
"path": "/home/epicallieshq/.ssh/github" | |
}, | |
"before": { |
(tcx)vinod@cartman:~/dev/python-tcxparser(master) $ python | |
Python 2.7.10 (default, Oct 14 2015, 16:09:02) | |
[GCC 5.2.1 20151010] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import tcxparser | |
>>> tcx = tcxparser.TCXParser('test.tcx') | |
>>> tcx.root | |
<Element {http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}TrainingCenterDatabase at 0x7f97eb2689e0> | |
>>> namespace = 'http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2' | |
>>> tcx.root.findall('.//ns:Extensions', namespaces={'ns': namespace}) |
import urllib | |
import boto3 | |
import requests | |
print('Loading function') | |
s3 = boto3.client('s3') | |
# someday i will need to learn how to use AWS | |
s3_resource = boto3.resource('s3') |
from django.core.management.base import BaseCommand | |
from django.db.models import get_models, get_app, fields | |
from django.db.models.fields import related | |
class Command(BaseCommand): | |
help = """Generate factory-boy factories for the given app""" | |
def handle(self, *args, **options): | |
assert len(args) == 1, 'Must specify app name as first and only argument' |
I hereby claim:
To claim this, I am signing this object:
@transaction.atomic | |
def get_pending_messages(): | |
"""Return a list of messages to be sent out and mark them as 'sent' in the db.""" | |
msg_qs = SMSSyncMessage.objects.select_for_update().filter(backend_name=self.name, | |
date_sent=None) | |
messages = [dict(message=m.text, to=m.identity) | |
for m in msg_qs] | |
if msg_qs: | |
msg_qs.update(date_sent=now()) |
vinod@cartman:~/dev/vkcljs $ git clone git://github.com/clojure/clojurescript.git | |
Cloning into 'clojurescript'... | |
remote: Reusing existing pack: 15002, done. | |
remote: Counting objects: 42, done. | |
remote: Compressing objects: 100% (38/38), done. | |
remote: Total 15044 (delta 13), reused 2 (delta 0) | |
Receiving objects: 100% (15044/15044), 3.56 MiB | 1.49 MiB/s, done. | |
Resolving deltas: 100% (6516/6516), done. | |
Checking connectivity... done. | |
vinod@cartman:~/dev/vkcljs $ cd clojurescript/ |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
PS1="\u@\h:\w\$(parse_git_branch) $ " |