Skip to content

Instantly share code, notes, and snippets.

View vernetto's full-sized avatar

Pierluigi Vernetto vernetto

View GitHub Profile
def L_model_backward(AL, Y, caches):
grads = {}
L = len(caches) # the number of layers
m = AL.shape[1]
Y = Y.reshape(AL.shape) # after this line, Y is the same shape as AL
#Initizalizing backward propagation
dAL = - (np.divide(Y, AL) - np.divide(1 - Y, 1 - AL))
@cedricwalter
cedricwalter / readme.md
Last active October 29, 2021 08:56
Sonatype NEXUS 2 has a rest API :-) but NEXUS 3 has none/not ready, the following simulate curl/wget call

Fetching artifact programmatically through REST/API fro Nexus2/3

Nexus 2.x had a REST API to download artifacts like below based on some Maven GAV co-ordinates but this no longer works for Nexus 3.x

Nexus 2.x

Nexus 2.x had a REST API to download artifacts based on some Maven GAV co-ordinates

wget "http://local:8081/service/local/artifact/maven/redirect?g=com.mycompany&a=my-app&v=LATEST" --content-disposition

or