- display (list) all open TCP+UDP ports and grep for listening ones
sudo lsof -i -P | grep LISTEN
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME launchd 1 root 11u IPv6 0x26dd73cb700390df 0t0 TCP *:22 (LISTEN) ....
############################################################################################################ ################## ############################# ################## #############################
This Gist collection contains all localstack related examples
################## ############################# ################## ############################# ############################################################################################################
FROM openjdk:12-jdk AS base | |
ENV SDKMAN_DIR=/usr/local/sdkman | |
WORKDIR /myapp | |
RUN set -x \ | |
&& yum update -y \ | |
&& yum install -y ca-certificates curl zip unzip sed binutils which \ | |
&& curl -fsSL https://get.sdkman.io | bash \ |
Newer version available. Please see 5.1.1
How To Add bitcoinjs-lib Version 5.0.5 To A React Native Project
Add/Link the following dependencies:
yarn add [email protected] react-native-randombytes buffer-reverse buffer@5
yarn add --dev rn-nodeify
react-native link react-native-randombytes
- Add the following postinstall to your script in package.json:
"postinstall": "rn-nodeify --install buffer,stream,assert,events,crypto,vm --hack && cd node_modules/bs58 && yarn add [email protected] && cd ../../"
Newer version available. Please see 4.0.3
How To Add bitcoinjs-lib Version 4.0.2 To A React Native Project
Add/Link the following dependencies:
yarn add [email protected] react-native-randombytes buffer-reverse buffer@5
yarn add --dev rn-nodeify
react-native link react-native-randombytes
- Add the following postinstall to your script in package.json:
"postinstall": "rn-nodeify --install buffer,stream,assert,events,crypto,vm --hack && cd node_modules/bs58 && yarn add [email protected] && cd ../../"
Designing Event-Driven Systems book by Ben Stopford contains a lot of useful links to papers, books, documentation and definitions related to event driven design and Kafka. I just extracted them as reference for the future and added some groups to show them better.
You can read the book for free
#!/usr/bin/env python | |
import os | |
import sys | |
import json | |
try: | |
from urllib.request import Request, urlopen # Python 3 | |
except: | |
from urllib2 import Request, urlopen # Python 2 |
Copyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x
https://rfc3161.ai.moda | |
https://rfc3161.ai.moda/adobe | |
https://rfc3161.ai.moda/microsoft | |
https://rfc3161.ai.moda/apple | |
https://rfc3161.ai.moda/any | |
http://rfc3161.ai.moda | |
http://timestamp.digicert.com | |
http://timestamp.globalsign.com/tsa/r6advanced1 | |
http://rfc3161timestamp.globalsign.com/advanced | |
http://timestamp.sectigo.com |
// Originally taken from https://github.com/mgtitimoli/await-mutex | |
class Mutex { | |
constructor() { | |
this._locking = Promise.resolve(); | |
this._locked = false; | |
} | |
isLocked() { | |
return this._locked; |