I hereby claim:
- I am widnyana on github.
- I am pwidnyana (https://keybase.io/pwidnyana) on keybase.
- I have a public key ASD0lunuMfEaHpj6rOBmjSid4yKGQalGUncrdPkjNqN1Tgo
To claim this, I am signing this object:
| # | |
| # tuned configuration | |
| # | |
| [main] | |
| summary=Broadly applicable to Splunk server tuning that provides excellent performance across a variety of common server workloads | |
| [cpu] | |
| governor=performance | |
| energy_perf_bias=performance |
| from celery import Task | |
| from celery.task import task | |
| from my_app.models import FailedTask | |
| from django.db import models | |
| @task(base=LogErrorsTask) | |
| def some task(): | |
| return result | |
| class LogErrorsTask(Task): |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| # | |
| # Orinally made by Lovell Fuller for sharp | |
| # https://github.com/lovell/sharp | |
| # | |
| # Ensures libvips is installed and attempts to install it if not | |
| # Currently supports: | |
| # * Mac OS |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
based on Kyubyong/wordvectors#14 (comment)
Alex Dodge did a little poking around in the fasttext history, and, yes, they had a different file format a year ago.
This is a script that will convert one of the old fasttext files to something the current version can read:
| def force_unicode(s, encoding='utf-8', strings_only=False, errors='strict'): | |
| """ | |
| Similar to smart_text, except that lazy instances are resolved to | |
| strings, rather than kept as lazy objects. | |
| If strings_only is True, don't convert (some) non-string-like objects. | |
| """ | |
| # Handle the common case first, saves 30-40% when s is an instance of | |
| # six.text_type. This function gets called often in that setting. |
| """ | |
| a simple stop loss/start gain bot | |
| adjust STOP_PRICE/START_PRICE and STOP_VOLUME/START_VOLUME to your needs. | |
| to reset orders during runtime, press (s) for a new stop order and (g) for a new start gain | |
| The file can be reloaded after editing without restarting goxtool by simply pressing the (l) key. | |
| """ | |
| # Using the global statement | |
| # pylint: disable=W0603 | |
| # No exception type(s) specified | |
| # pylint: disable=W0702 |
| RSA 2017 DevOOPS: Attacks And Defenses For DevOps Toolchains Talk Links SessionID: HTA-W02 | |
| https://www.slideshare.net/chrisgates/devoops-attacks-and-defenses-for-devops-toolchains | |
| Past talks: | |
| http://www.slideshare.net/KenJohnson61/aws-surival-guide | |
| [Ken Johnson earlier talk on AWS security, dedicated to using these services (cloudwatch/config/cloudtrail)] | |
| https://www.youtube.com/watch?v=g-wy9NdATtA&feature=youtu.be |
| #!/bin/bash | |
| #: stolen from: https://github.com/sayajin101/Galera-Cluster-Percona-Backup | |
| ############################################################################################## | |
| # Please install the following packages & repositories first # | |
| # rpm -Uhv http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm # | |
| # qpress.x86_64 rsync.x86_64 percona-xtrabackup.x86_64 # | |
| ############################################################################################## | |
| [ $(which qpress > /dev/null 2>&1; echo ${?}) -ne 0 ] && { echo -e "\nqpress is required...exiting"; exit 1; }; |