I hereby claim:
- I am justdevzero on github.
- I am justdevzero (https://keybase.io/justdevzero) on keybase.
- I have a public key ASB3d8cMZSWC9B7soiKu7YEY9HjJryGycomM2_TVy45pnQo
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# What to Write | |
# | |
# <info at danielripoll.es> | |
# Daniel Ripoll | |
# http://www.danielripoll.es | |
# http://ociolinux.blogspot.com/ | |
# Licensed under GPL3+ |
#!/bin/sh | |
# Copyright (c) 2012, Daniel Ripoll | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are | |
# met: | |
# | |
# * Redistributions of source code must retain the above copyright |
<?php | |
class OpenStruct extends ArrayObject | |
{ | |
public function __construct($input = array()) | |
{ | |
parent::__construct($input, static::ARRAY_AS_PROPS); | |
} | |
public function offsetSet($key, $value) | |
{ |
nombre | name | nom | iso2 | iso3 | phone_code | |
---|---|---|---|---|---|---|
Afganistán | Afghanistan | Afghanistan | AF | AFG | 93 | |
Albania | Albania | Albanie | AL | ALB | 355 | |
Alemania | Germany | Allemagne | DE | DEU | 49 | |
Algeria | Algeria | Algérie | DZ | DZA | 213 | |
Andorra | Andorra | Andorra | AD | AND | 376 | |
Angola | Angola | Angola | AO | AGO | 244 | |
Anguila | Anguilla | Anguilla | AI | AIA | 1 264 | |
Antártida | Antarctica | L'Antarctique | AQ | ATA | 672 | |
Antigua y Barbuda | Antigua and Barbuda | Antigua et Barbuda | AG | ATG | 1 268 |
code | postal_code | name | phone_code | iso2 | |
---|---|---|---|---|---|
VI | 01 | Álava | 945 | ES | |
AB | 02 | Albacete | 967 | ES | |
A | 03 | Alacant | 950 | ES | |
AL | 04 | Almería | 920 | ES | |
AV | 05 | Ávila | 924 | ES | |
BA | 06 | Badajoz | 924 | ES | |
PM | 07 | Illes Balears | 971 | ES | |
B | 08 | Barcelona | 93 | ES | |
BU | 09 | Burgos | 947 | ES |
I hereby claim:
To claim this, I am signing this object:
#!/home/dripoll/.env/redminer/bin/python | |
# coding: utf8 | |
from os import environ, path | |
from requests import get, post | |
from hashlib import md5 | |
from requests.auth import HTTPBasicAuth | |
from json import loads | |
from sys import stderr |
#!/bin/bash | |
# based on http://www.snip2code.com/Snippet/165926/Check-for-ipdb-breakpoints-git-hook | |
pdb_check=$(git diff-index -U --color=always --cached -G '[ ;]i?pdb' HEAD) | |
if [ ${#pdb_check} -gt 0 ] | |
then | |
echo "COMMIT REJECTED: commit contains code with break points in python. Please remove before commiting." | |
echo $pdb_check | |
exit 1 | |
else |
import json | |
from os import getenv | |
try: | |
GITHUB_CONTEXT = json.loads(getenv('GITHUB_CONTEXT', b'{}').decode()) | |
except BaseException: | |
GITHUB_CONTEXT = json.loads(getenv('GITHUB_CONTEXT', '{}')) | |
EVENT = GITHUB_CONTEXT.get('event', {}) |