I hereby claim:
- I am hacosta on github.
- I am hacosta (https://keybase.io/hacosta) on keybase.
- I have a public key whose fingerprint is 9D7D 294F F3F1 1DFD 0D2C 2874 0A70 A868 A436 11B8
To claim this, I am signing this object:
#!/usr/bin/python2 | |
class Foo: | |
def __init__(self): | |
self.y = 4 | |
@property | |
def x(self): | |
return 2 + 2 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# gch - open the debian/changelog in sensible editor, appending | |
# a line showing the current files that have been modified | |
# | |
# Copyright (C) 2008-2010 Dustin Kirkland <kirkland@ubuntu.com> | |
# | |
# Authors: | |
# Dustin Kirkland <kirkland@ubuntu.com> | |
# |
# Contributor: Kambus | |
# Contributor: Mario Danic <mario.danic> | |
pkgname=bzr-fastimport | |
pkgver=0.13.0 | |
pkgrel=1 | |
pkgdesc="Bazaar Fast Import is a plugin providing fast loading of revision control data into Bazaar." | |
arch=(i686 x86_64) | |
url="https://launchpad.net/${pkgname}" | |
license=('GPLv2' 'MIT') |
# Maintainer: Rohit Manokaran <rohitm000@yahoo.co.in> | |
# Contributor: Pawel "l0ner" Soltys <pwslts@gmail.com> | |
# Contributor: Jan de Groot <jgc@archlinux.org> | |
# Contributor: Link Dupont <link@subpop.net> | |
# Contributor: Calvin Morisson <mutantturkey@gmail.com> | |
pkgname=hal | |
pkgver=0.5.14 | |
pkgrel=16 | |
pkgdesc="Hardware Abstraction Layer" |
#!/usr/bin/python3 | |
import sys | |
import re | |
import argparse | |
import itertools | |
import logging | |
import urllib.request | |
import bs4 | |
import irc.bot | |
import random |
#!/usr/bin/python2 | |
import flask | |
app = flask.Flask(__name__) | |
@app.route('/') | |
def hello_world(): | |
r = flask.Response(status=304) | |
r.headers['foo'] = 'bar' | |
return r |
#include <stdio.h> | |
#include <math.h> | |
int main() | |
{ | |
double x = 0.5; | |
printf("orig\tround\tfloor\tceil\n"); | |
printf("%.2f\t%.2f\t%.2f\t%.2f\n", x, round(x), floor(x), ceil(x)); |
import logging | |
from barbicanclient.common import auth | |
from barbicanclient import client | |
def verify(auth_url, username, api_key, password): | |
if not password or api_key: | |
raise ValueError('Password or api_key must be provided') | |
if password: |
#!/usr/bin/python2 | |
from __future__ import division | |
from datetime import date | |
import re | |
with open('/var/log/pacman.log') as f: | |
first = f.readline() | |
y, m, d = [int(c, 10) for c in first[1:11].split('-')] | |
days = (date.today() - date(y, m, d)).days |