I hereby claim:
- I am acoster on github.
- I am acoster (https://keybase.io/acoster) on keybase.
- I have a public key ASCqvCsPTjhaXQ29gEIOzIpTIhWLXwLGbAyfGDW59Tyvywo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
import pytwitter | |
import time | |
import os | |
import sys | |
import schedule | |
from schedule import every, repeat, run_pending | |
twitter_conn = None |
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "grafana", | |
"uid": "-- Grafana --" | |
}, | |
"enable": true, |
import itertools | |
import operator | |
def calculate_checksum(number): | |
digits = [int(x) for x in number] | |
return 11 - (sum(itertools.imap(operator.mul, digits, [8, 6, 4, 2, 3, 5, 9, 7])) % 11) |
#include <map> | |
#include <string> | |
#include <fstream> | |
#include <iostream> | |
int main(int argc, const char * argv[]) | |
{ | |
std::multimap<std::string, std::string> contents; | |
std::ifstream inFile("filtered_dict"); |
#include <iostream> | |
template<int _N> | |
struct Base | |
{ | |
Base() | |
{ | |
std::cout << _N << std::endl; | |
} | |
}; |
#include <algorithm> | |
#include <iostream> | |
#include <utility> | |
#include <vector> | |
#include <stack> | |
#include <cstring> | |
typedef std::pair<int, int> Position; |
#include <string> | |
#include <algorithm> | |
#include <iostream> | |
#define __A "!zbei" | |
#define __B "zqqbI" | |
#define __C "\"mmjX" | |
#define __D "usjc!" | |
class App |
#!/usr/bin/env python | |
"""Implementation of RFC 4226: HMAC-Based One-Time Password Algorithm (HTOP), | |
and RFC 6238: Time-Based One-Time Password Algorithm (TOTP). | |
""" | |
__author__ = 'acoster' | |
__copyright__ = 'Copyright 2012, Alexandre Coster' | |
import hmac |