@abeluck's build notes for ipfs-shipyard/gomobile-ipfs
Install golang. I used 1.18 from the fedora repos.
// Jetty version: 12.0.6 | |
public class JettyClient { | |
public static void main(String[] args) throws Exception { | |
SecurityProviders.init(); // initializes the Conscrypt and BouncyCastle security providers | |
SslContextFactory.Client sslContextFactory = new SslContextFactory.Client(); | |
// This disables SSL certificate validation | |
// handy for localhost testing, not so handy in production | |
sslContextFactory.setTrustAll(true); |
@abeluck's build notes for ipfs-shipyard/gomobile-ipfs
Install golang. I used 1.18 from the fedora repos.
#!/bin/bash | |
set -euo pipefail | |
opt=${1:-} | |
usage() { | |
echo "$0 - ssh into a remote gitpod with your gpg-agent forwarded" | |
echo | |
echo "usage: $0 [option]" | |
echo |
#!/bin/bash | |
# Builds emacs from source | |
# Tested on Debian 9 (stretch) | |
set -e | |
emacs_src=$HOME/src/emacs | |
emacs_dest=$HOME/.local | |
emacs_tag=emacs-26.2 |
# creates a silence in alertmanager that starts `now` and lasts for 10 minutes | |
- hosts: localhost | |
gather_facts: yes | |
tasks: | |
- set_fact: | |
start_datetime: "{{ ''| local_time_iso8601 }}" | |
future_datetime: "{{ ''|local_time_iso8601 | add_time_iso8601(minutes=10) }}" | |
- debug: | |
var: future_datetime |
# Generate a signing key for synapse from the command line | |
# | |
# Usage: python3 generate-signing-key.py | |
# | |
# You must have the signedjson package installed: | |
# apt install python3-signedjson | |
# pip3 install signedjson | |
# | |
# Author: Abel Luck <[email protected]> | |
# Created: April 25 2019 |
This only works on debian stretch (stable)
gpg --verify check-apt-update.sh.asc
ansible-playbook upgrade-apt.yml -i <YOURINV>
Thanks to @eighthave for original script.
Ref:
sending 57f56c83-7b4d-4fb4-b631-3f85a1cc787b +55555555555 test | |
GET https://textsecure-service-staging.whispersystems.org/v2/keys/+55555555555/1 | |
GET https://textsecure-service-staging.whispersystems.org/v2/keys/+55555555555/1 200 Success | |
Trying to get session for identifier: +55555555555.1 | |
Saving new identity... | |
Trying to get session for identifier: +55555555555.1 | |
PUT https://textsecure-service-staging.whispersystems.org/v1/messages/+55555555555 | |
PUT https://textsecure-service-staging.whispersystems.org/v1/messages/+55555555555 409 Error | |
{ successfulNumbers: [], | |
errors: |
function SignalProtocolStore(path) { | |
} | |
SignalProtocolStore.prototype = { | |
Direction: { | |
SENDING: 1, | |
RECEIVING: 2, | |
}, | |
// create a random group id that we haven't seen before. |