Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Pablo Dominguez Villacañas PabloVillacanhas

🏠
Working from home
  • Santiago de Compostela
View GitHub Profile
@PabloVillacanhas
PabloVillacanhas / kubedump.sh
Last active Apr 3, 2020 — forked from negz/kubedump.sh
Dump Kubernetes cluster resources as YAML
View kubedump.sh
#!/usr/bin/env bash
set -e
CONTEXT="$1"
if [[ -z ${CONTEXT} ]]; then
echo "Usage: $0 KUBE-CONTEXT"
exit 1
fi
View dev_java_mockito_advanced.java
@Mock
SomeInjectedRepository someRepository
@InjectMocks
SomeService sut;
@Captor
@Test
void argumentsMatching() {