Skip to content

Instantly share code, notes, and snippets.

View jrichardsz's full-sized avatar

JRichardsz jrichardsz

View GitHub Profile
@jrichardsz
jrichardsz / web services contracts - soap wsdl.xml
Created March 4, 2024 15:15
web services contracts and specs
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="SAPControl"
targetNamespace="urn:SAPControl"
xmlns:tns="urn:SAPControl"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SAPControl="urn:SAPControl"
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
@jrichardsz
jrichardsz / permutation combination snippets - javascript.md
Last active March 2, 2024 18:02
permutation combination snippets

https://www.jsplayground.dev/

function checkSimilarity(baseArray, sampleArray) {
  var length=0;
  for(var i=0; i<baseArray.length; i++){
    var subArray = baseArray.slice(0, baseArray.length-i);
    var contains = isContained(sampleArray, subArray);
    if(contains){
      length = baseArray.length -i;
@jrichardsz
jrichardsz / byte inspect editor
Created February 29, 2024 20:38
byte inspect editor
hexed.it

Given a file with the text and replacement

windows, shit
microsoft, poop
c#, threw up
foo, bar

search_replace.js

@jrichardsz
jrichardsz / ui ux error samples.md
Created February 24, 2024 20:56
ui ux error samples

image

start /B "" javaw -jar agent.jar foo bar &

worker_processes  1;
events {
    worker_connections  1024;
}
http {
    include       mime.types;
    default_type  application/octet-stream;
    sendfile        on;
 keepalive_timeout 65;
@jrichardsz
jrichardsz / Binary & Artifact Management - Nexus.md
Last active February 14, 2024 16:10
Binary & Artifact Management , Build