Skip to content

Instantly share code, notes, and snippets.

@alezzigo
alezzigo / README.txt
Created November 20, 2021 13:58
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.12+commit.27d51765.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@alezzigo
alezzigo / forminator-add-autocomplete-attr.php
Created December 1, 2021 04:01 — forked from wpmudev-sls/forminator-add-autocomplete-attr.php
[Forminator Pro] - Add "autcomplete" attribute to input fields
<?php
/**
* Plugin Name: [Forminator Pro] - Add "autcomplete" attribute to input fields
* Plugin URI: https://premium.wpmudev.org/
* Description: Add "autcomplete" attribute support to selected form and input fields (as of 1.12.1.1)
* Author: Alessandro Kaounas @ WPMUDEV
* Author URI: https://premium.wpmudev.org/
* Task: 0/1135022585412927/1176249490871345
* License: GPLv2 or later
*/
@alezzigo
alezzigo / 544000 TPS - Alipay Crashes ?.md
Created January 5, 2026 03:37
544000 TPS - Alipay Crashes ?

544,000 payments/sec and world TPC-C record - 707 million tpmC

Singles' Day night 11.11 - 23:59:50. In HQ of Ant Group and Alibaba in Hangzhou, hundreds engineers staring at dashboard screens. This is real money, billions USD of Alibaba getting decided in next few minutes.

00:00:00: Festival starts. Like 1 billion ppl press pay button at same time. Traffic jump from 50k to 544k TPS in like 3 seconds. If something break, Alibaba can lose billions. But dashboard still green. Peak is 544,000 transactions per second.

00:01:08:

  • first $1B in 68 seconds