Skip to content

Instantly share code, notes, and snippets.

View 0xmovses's full-sized avatar
👾

Richard Melkonian 0xmovses

👾
View GitHub Profile
@0xmovses
0xmovses / readme.md
Created May 5, 2026 20:43 — forked from jdrew1303/readme.md
Market Order Matching Engine

Introduction

The computer driven markets for instruments like stocks and exchange traded stock options, have transformed finance and the flow of capital. These markets are enabled by order matching engines (and the infrastructure that supports this software). Before computer trading networks and matching engines, stocks where traded on cavernous exchange floors and transaction costs where high. When electronic trading fully matured, floor traders were a fading anachronism and transaction costs had been reduced to pennies a share in many cases. Electronic trading could not exist without advanced network infrastructure, but without the software matching engines no shares would change hands. The computer trading networks, the matching engine software has also created a concentrated nexus of potential failure. Failures in these systems have increased as the frequency and volume on the electronic networks has increased. The position of order matching engines in the trading infrastructure makes these systems o

{
"title": "Mainnet dummy upgrade",
"description": "This is a dummy proposal for testing governance flows, the urls below are meaningless for nw.",
"source_code_url": "https://github.com/aptos-foundation/mainnet-proposals/blob/main/sources/2023-06-05-reenable-signature-checker-v2",
"discussion_url": "https://github.com/aptos-foundation/mainnet-proposals/issues/28"
}
@0xmovses
0xmovses / config-overrides.js
Created May 2, 2022 22:56
webpack 5 overrides
//install react-app-rewired and all the broswerify packages
const webpack = require('webpack');
module.exports = function override(config) {
const fallback = config.resolve.fallback || {};
Object.assign(fallback, {
"crypto": require.resolve("crypto-browserify"),
"stream": require.resolve("stream-browserify"),
"assert": require.resolve("assert"),
"http": require.resolve("stream-http"),
@0xmovses
0xmovses / main.go
Created April 27, 2022 21:45
simple go webhook
package main
import (
"fmt"
"log"
"net/http"
"os"
"github.com/gorilla/websocket"
)
@0xmovses
0xmovses / gist:f452ce5e0d5f43162ac55b45795c5808
Last active January 25, 2022 11:33
S3 event message structure
useful when testing lamdas for s3 buckets
{
"Records":[
{
"eventVersion":"2.2",
"eventSource":"aws:s3",
"awsRegion":"us-west-2",
"eventTime":"The time, in ISO-8601 format, for example, 1970-01-01T00:00:00.000Z, when Amazon S3 finished processing the request",
"eventName":"event-type",
@0xmovses
0xmovses / gist:78f386a15654b451532f8a0a0ff26d50
Last active December 22, 2021 14:17
aws-next.js file upload unsignedpost
//client-side code
const formik = useFormik({
initialValues: {
username: '',
bio: '',
img: ''
},
onSubmit: async (values) => {
let data = new FormData();