I hereby claim:
- I am josegonzalez on github.
- I am savant (https://keybase.io/savant) on keybase.
- I have a public key ASBouJt4s02dheQkrfrsCQNKqsaHzxuhBpjL1RxtoMoEjQo
To claim this, I am signing this object:
<?php | |
/** | |
* APC-based WordPress Database Access Abstraction Object | |
* | |
* Extends the wpdb class in order to cache queries in APC | |
* | |
* Falls back to non-APC database when requesting an admin resource or | |
* the query modifies the database. | |
* | |
* Using something like Memcached might be better as we can namespace |
#!/usr/bin/env python | |
# | |
# Returns once a container no longer has open connections | |
# Only works for containers using internal dns | |
# Sleeps 2 seconds between checks | |
# | |
# Usage: | |
# | |
# # wait until all traffic drains from a container before killing it | |
# docker_sleep $CONTAINER_ID $MAX_WAIT |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import argparse | |
import redis | |
def connect_redis(conn_dict): | |
conn = redis.StrictRedis(host=conn_dict['host'], | |
port=conn_dict['port'], | |
db=conn_dict['db']) | |
return conn |
FROM gitpod/openvscode-server:latest | |
USER root | |
ARG GO_VERSION=1.18.2.linux-amd64 | |
RUN curl -o /tmp/go.tar.gz -sSL https://go.dev/dl/go1.18.2.linux-amd64.tar.gz && \ | |
tar -C /usr/local -xzf /tmp/go.tar.gz && \ | |
rm -rf /tmp/go.tar.gz | |
USER openvscode-server | |
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin |