I hereby claim:
- I am timfeirg on github.
- I am timfeirg (https://keybase.io/timfeirg) on keybase.
- I have a public key ASC1DDtmQwwr6tlAaRIYRNTO9bJUpy156TwKlU69uhryVwo
To claim this, I am signing this object:
apiVersion: 1 | |
groups: | |
- folder: ceph-alerts | |
interval: 10s | |
name: cluster health | |
orgId: 1 | |
rules: | |
- annotations: | |
description: The cluster state has been HEALTH_ERROR for more than 5 minutes. | |
Please check 'ceph health detail' for more information. |
#!/bin/sh | |
set -e | |
target_directory=${1-.} | |
export IFS=' | |
' | |
for target in $(ag -o '((class|def)\s+(\w+))'); do | |
target_name=$(echo $target | ag -o '\w+$') |
#!/bin/env bash | |
IFS=' | |
' | |
long_ago=`date +%Y-%m-%d --date='2 weeks ago'` | |
for image in $(docker images --format '{{.CreatedAt}}|{{.Repository}}:{{.Tag}}') | |
do | |
created=`echo ${image%|*} | grep -oP "^[^\s]+"` | |
tag=${image#*|} | |
if [ -z "$created" ] || [ -z "$tag" ]; then |
I hereby claim:
To claim this, I am signing this object:
import json | |
from datetime import datetime | |
from decimal import Decimal | |
from flask import Response | |
from functools import wraps | |
from google.protobuf.internal import api_implementation | |
if api_implementation.Type() == 'cpp': | |
from google.protobuf.pyext.cpp_message import GeneratedProtocolMessageType |
from datetime import datetime | |
import happybase | |
import pymysql | |
from impala.dbapi import connect as hive_connect | |
from impala.util import as_pandas | |
from pymysql.cursors import DictCursor | |
from retrying import retry | |
from thriftpy.transport import TTransportException |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
File: sendcloud | |
Author: timfeirg | |
Email: [email protected] | |
Github: https://github.com/timfeirg/ | |
Description: sendcloud python wrapper | |
""" |
""" | |
scrapyd commandline interface, for my own project use | |
""" | |
import argparse | |
import requests | |
import json | |
import os |