What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-16 19:55:36
raspberry pi configuration.nix
{ config, pkgs, lib, ... }: { # This configuration worked on 09-03-2021 nixos-unstable @ commit 102eb68ceec # The image used https://hydra.nixos.org/build/134720986 boot = { kernelPackages = pkgs.linuxPackages_rpi4; tmpOnTmpfs = true; in... Add solution -
Other 2022-03-05 13:56:08
Extract JSON from http page request
//get the previous http response and eval it var resp_ = context.variableManager.getValue("EntryResponse"); if (resp_ == null) { context.fail("Variable 'EntryResponse' not found"); } logger.debug("EntryResponse="+resp... Add solution -
Python 2022-02-06 13:25:02
keras backend matrix multiplication
import keras.backend as K import numpy as np A = np.random.rand(10,500) B = np.random.rand(500,6000) x = K.variable(value=A) y = K.variable(value=B) z = K.dot(x,y) # Here you need to use K.eval() instead of z.eval() because this uses the backend sessio... Add solution -
Other 2021-11-19 09:24:27
how to use sentry with graphql
didEncounterErrors(ctx) { // If we couldn't parse the operation, don't // do anything here if (!ctx.operation) { return; } for (const err of ctx.errors) { // Only report internal server errors, // all errors extending ApolloError sho... Add solution -
Other 2021-11-19 01:08:14
__typename remove graphql
There are three ways of doing this **First way** Update the client parameter like this it will omit the unwanted fields in graphql. <!-- begin snippet: js hide: false console: true babel: false --> <!-- language: lang-js --> apollo.cr... Add solution -
Other 2021-10-20 21:55:06
postman bearer token
// Add to collection pre scripts // Also don’t forget to set auth in endpoint as {{access_token}} let tokenUrl = 'Your url to get token'; let email = 'Your email'; let password = 'Your password'; if (pm.environment.name === 'Your env') { token... Add solution
Best helpers
Gabi Purcaru
+5
L. Samson
+5
Yoyo
+5
Skry
+5
Colocvial
+5
Sarah witte
+5
Leosar
+5
Tobiak777
+5
Tjd
+5