I hereby claim:
- I am arawako on github.
- I am arawako (https://keybase.io/arawako) on keybase.
- I have a public key whose fingerprint is 4F02 6F57 121E BDD2 55B3 9A3A C274 7770 7970 AE27
To claim this, I am signing this object:
Como insertar un namespace en el headers por ejemplo | |
<SOAP-ENV:Envelope xmlns:"http://webservice/"> | |
La funcion setHeaders inserta xml en la etiqueta <SOAP-ENV:Header> y requiero es anexar un namespace en el envelope |
#!/usr/bin/env python | |
import pika, logging, socket, yaml, marshal | |
from time import sleep | |
ACCEPTED_KEYS = ['message', 'sla_service', 'site', 'host', 'service'] | |
def send_telegram(data, config): | |
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
sock.connect(('localhost', 2391)) | |
if data['sla_service']: |
## Prepare the system | |
touch /etc/apt/sources.list.d/backports.list | |
echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list.d/backports.list | |
apt update && apt -y upgrade && apt install -y build-essential git checkinstall | |
# Clone the Source | |
git clone https://github.com/openssl/openssl.git | |
# Compile, test and install manually | |
cd openssl |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
origin=/etc | |
tmp=$(mktemp -d) | |
cp -a $origin/. $tmp | |
cd $tmp | |
linestoremove=$(sed -n '/# BEGIN section managed by ansible/,/# END section managed by ansible/p' .gitignore | sed -e '/# BEGIN section managed by ansible/d' -e '/# END section managed by ansible/d' -e 's_^/__' | xargs) | |
filter=$(git filter-branch -f --index-filter 2>&1 1>/dev/null "git rm -r --cached --ignore-unmatch $linestoremove" --prune-empty -- --all) | |
if [[ $filter != "" ]] | |
then | |
exit -1 |
public class suma { | |
public static void main(String[] arg) { | |
sum( 10, 20, 50); | |
} | |
public static void sum(int a, int b, int c) { | |
int resultado; | |
resultado = a + b + c; | |
System.out.println(resultado); | |
} | |
} |