Skip to content

Instantly share code, notes, and snippets.

@ultrabug
ultrabug / C client build.log
Last active August 29, 2015 14:19
aerospike-client-python issue47
* Package: dev-libs/libaerospike-3.1.11
* Repository: ultrabug
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux luajit static-libs userland_GNU
* FEATURES: preserve-libs sandbox userpriv usersandbox
* Package: dev-libs/libaerospike-3.1.11
* Repository: ultrabug
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux luajit static-libs userland_GNU
* FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
GIT update -->
# -*- coding: utf-8 -*-
from flask import Flask
from time import sleep
import uwsgi
app = Flask(__name__)
@app.route('/')
@ultrabug
ultrabug / helper.py
Created May 26, 2016 07:11
_Ultrabot helper module
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import random
import re
from sopel.module import priority, rate
# list of all the regexes and their associated responses
regexes = [

Keybase proof

I hereby claim:

  • I am ultrabug on github.
  • I am ultrabug (https://keybase.io/ultrabug) on keybase.
  • I have a public key whose fingerprint is FC67 E34A 9462 2AD7 DB97 945C 46B1 70C0 45A8 AFE5

To claim this, I am signing this object:

@ultrabug
ultrabug / test_kill.ini
Last active April 21, 2020 14:38
uwsgi-2.0.x emperor not killing spooler processes example code and ini
[uwsgi]
plugins = python27
socket = 127.0.0.1:3090
master = true
enable-threads = true
log-syslog = uwsgi.test
disable-logging = true
@ultrabug
ultrabug / i3status.conf
Created February 13, 2015 17:08
i3status.conf
load {
format = "%5min"
}
general {
color_degraded = "#cb4b16"
output_format = "i3bar"
interval = "10"
color_bad = "#dc322f"
colors = "true"
color_good = "#859900"
@ultrabug
ultrabug / py3status.conf
Created July 13, 2019 10:40
My py3status config
# py3status
general {
color_bad = "#dc322f"
color_degraded = "#cb4b16"
color_good = "#859900"
color_separator = "#586e75"
colors = true
interval = 60
markup = "pango"
@ultrabug
ultrabug / dask_scylla_hive.py
Created February 23, 2018 15:11
Blog post: Evaluating ScyllaDB for production 2/2
#!/usr/bin/env python3.5
from time import time
import dask.dataframe as dd
import pandas as pd
from cassandra.cluster import Cluster
from cassandra.concurrent import execute_concurrent
from cassandra.policies import ConstantReconnectionPolicy