Skip to content

Instantly share code, notes, and snippets.

View lokesh-lync's full-sized avatar
⚠️
Inactive account. No longer with LYNC

Lokesh / @codetit4n lokesh-lync

⚠️
Inactive account. No longer with LYNC
View GitHub Profile
@0xAnto
0xAnto / aptos-multi-agent-txn.js
Last active May 23, 2025 06:58
multi-agent transactions on the Aptos blockchain.
// Import necessary modules from "aptos" library
const {
TransactionBuilder,
AptosClient,
TransactionBuilderRemoteABI,
AptosAccount,
TxnBuilderTypes,
FaucetClient,
BCS,
} = require("aptos");
@cleanunicorn
cleanunicorn / fisher-yates.sol
Created October 6, 2021 09:55
Fisher Yates Shuffle, aka Knuth Shuffle proof of concept
contract Shuffle {
function shuffle(
uint size,
uint entropy
)
public
pure
returns (
uint[] memory
) {
@kurokobo
kurokobo / docker-compose-installer-for-container-optimized-os-on-gce.md
Last active September 4, 2025 16:49
Simple Installer for Docker Compose on Container-Optimized OS on Google Computing Engine

Simple Installer for Docker Compose on Container-Optimized OS on Google Computing Engine

The easiest way to make Docker Compose available on Container-Optimized OS on Google Compute Engine (GCE) on Google Cloud Platform (GCP).

This is minimal Bash script version of Community Tutorial.

How to use

Simply, download installer.sh, run it, and then reload bash by source ~/.bashrc or re-login.

@chranderson
chranderson / nvmCommands.js
Last active October 20, 2025 20:28
Useful NVM commands
// check version
node -v || node --version
// list locally installed versions of node
nvm ls
// list remove available versions of node
nvm ls-remote
// install specific version of node