You have installed GPG, then tried to commit and suddenly you see this error message after it:
error: gpg failed to sign the data
fatal: failed to write commit object
Debug
#!groovy | |
// https://medium.com/rocket-travel-engineering/running-advanced-git-commands-in-a-declarative-multibranch-jenkinsfile-e82b075dbc53 | |
// Jenkins only checks out the branch for performance reasons so to be able to do more advanced git commands we need to | |
// also fetch master (or anything else you need) | |
pipeline { | |
agent any | |
stages { | |
stage ("info") { | |
when { |
a4b.amazonaws.com | |
access-analyzer.amazonaws.com | |
account.amazonaws.com | |
acm-pca.amazonaws.com | |
acm.amazonaws.com | |
airflow-env.amazonaws.com | |
airflow.amazonaws.com | |
alexa-appkit.amazon.com | |
alexa-connectedhome.amazon.com | |
amazonmq.amazonaws.com |
$ uname -r
import tempfile | |
from PIL import Image | |
class PhotoCreateAPIViewTest(TestCase): | |
def setUp(self): | |
super().setUp() | |
self.tmp_file = tempfile.NamedTemporaryFile(suffix='.jpg') | |
image = Image.new('RGB', (100, 100)) |
0 | |
0 1.5 | |
0 0.5 | |
0.2 0.1 | |
0.5 0 | |
0.8 0.1 | |
1 0.5 | |
1 1.5 | |
0.8 1.9 | |
0.5 2 |
I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)
def get_count(q): | |
count_q = q.statement.with_only_columns([func.count()]).order_by(None) | |
count = q.session.execute(count_q).scalar() | |
return count | |
q = session.query(TestModel).filter(...).order_by(...) | |
# Slow: SELECT COUNT(*) FROM (SELECT ... FROM TestModel WHERE ...) ... | |
print q.count() |