Skip to content

Instantly share code, notes, and snippets.

View jrichardsz's full-sized avatar

JRichardsz jrichardsz

View GitHub Profile
@jrichardsz
jrichardsz / github sites of world class universities.md
Created March 12, 2024 15:48
github sites of world class universities
@jrichardsz
jrichardsz / go golang snippets.md
Created March 8, 2024 16:07
go golang snippets

docker run -it -v $(pwd):/src golang bash

init

go mod init sql_client

install library

go get github.com/godror/godror

SqlPing.java

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class SqlPing {
@jrichardsz
jrichardsz / android privacy policy.md
Created March 7, 2024 03:52
android privacy policy

Privacy Policy

TheJavatar built the Sound Recorder app as a Free app. This SERVICE is provided by TheJavatar at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at Sound Recorder unless otherwise defined in this Privacy Policy.

@jrichardsz
jrichardsz / c++ sql client
Created March 6, 2024 23:19
c++ sql client
https://soci.sourceforge.net/doc/release/3.2/installation.html
https://soci.sourceforge.net/
https://soci.sourceforge.net/doc/release/3.1/

main.cpp

#include <iostream>

int main(int argc, char** argv) {
  std::cout << "hello" << std::endl;
  return 0; 
}
@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