This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:832AA8811CE11E9E]
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:832AA8811CE11E9E]
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "syscall" | |
| "unsafe" | |
| "golang.org/x/sys/windows/registry" |
| package helloservice | |
| //HelloService is the Service with its public API | |
| type HelloService struct { | |
| HelloEndpoint chan *HelloReq //Endpoint on which the service listens | |
| } | |
| //NewHelloService returns a new Service | |
| func NewHelloService() *HelloService { | |
| return &HelloService{ |
| alias gitmost="git log --since=\"120 days ago\" --pretty=format:\"\" --name-only | grep \"[^\s]\" | sort | uniq -c | sort -nr | head -10" |
| // The GSSAPI security mechanism | |
| #include <czmq.h> | |
| #include <zmq.h> | |
| void zsocket_set_gssapi_client(void * zocket) | |
| { | |
| int rc = zmq_setsockopt (zocket, ZMQ_GSSAPI_SERVICE_PRINCIPAL, "host", 4); | |
| assert (rc == 0 || zmq_errno () == ETERM); |
| //----------------------------------------------------------------------------- | |
| // Win32Service.c -- edited for python3 | |
| // cx_freeze Base executable for handling Windows services. | |
| // BEFORE INSTALL: in setup.py you must edit line (170): | |
| // | |
| // if moduleInfo is not None and sys.version_info[:2] < (3, 0): | |
| // to | |
| // if moduleInfo is not None: | |
| //----------------------------------------------------------------------------- |
| CREATE OR REPLACE FUNCTION uuid_macaddr(id uuid) | |
| RETURNS macaddr AS | |
| $BODY$ | |
| select substring(id::text, 25, 12)::macaddr | |
| $BODY$ | |
| LANGUAGE sql IMMUTABLE STRICT | |
| COST 100; | |
| CREATE OR REPLACE FUNCTION uuid_timestamp(id uuid) | |
| RETURNS timestamp with time zone AS |
| #include <assert.h> | |
| #include <gsl/gsl_matrix.h> | |
| #include <gsl/gsl_statistics.h> | |
| #include <gsl/gsl_eigen.h> | |
| #include <gsl/gsl_blas.h> | |
| gsl_matrix* pca(const gsl_matrix* data, unsigned int L) | |
| { | |
| /* | |
| @param data - matrix of data vectors, MxN matrix, each column is a data vector, M - dimension, N - data vector count |