I hereby claim:
- I am marz619 on github.
- I am ammaar (https://keybase.io/ammaar) on keybase.
- I have a public key whose fingerprint is 3639 9955 5DB2 0D2E F4E8 E7F3 F2A1 6018 035F 7A86
To claim this, I am signing this object:
| package json | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "io" | |
| ) | |
| // WriteJSON tries to encode `data` in to the provided io.Writer | |
| // |
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| from __future__ import print_function | |
| import time | |
| from multiprocessing import cpu_count | |
| from multiprocessing.pool import ThreadPool | |
| import requests |
| package aoc | |
| import ( | |
| "errors" | |
| "reflect" | |
| ) | |
| // rotate rotates the values of a slice by rotate positions, preserving the | |
| // rotated values by wrapping them around the slice | |
| func rotate(slice interface{}, rotate int) error { |
| #!/bin/bash | |
| # args | |
| prefix=$1 | |
| replace=$2 | |
| redis='redis-cli -s /var/run/redis/redis.sock' | |
| keys=( $(redis-cli -h $host KEYS "$prefix*") ) | |
| for key in "${keys[@]}" |
I hereby claim:
To claim this, I am signing this object: