Skip to content

Instantly share code, notes, and snippets.

View YogaSakti's full-sized avatar
🎯
Focusing

Yoga Sakti YogaSakti

🎯
Focusing
View GitHub Profile
@YogaSakti
YogaSakti / ten-bucks-plan-comparison.md
Last active December 4, 2026 07:35
OpenCode Go vs Command Code GOAT vs Token Harbor Office Pass — $10/month Plan Comparison

OpenCode Go vs Command Code GOAT vs Token Harbor Office Pass — $10/month Plan Comparison

Checked 4 December 2026 against the individual monthly plans. All prices are USD. The providers can change their model lineups and allowances.

TL;DR

  • OpenCode Go and Command Code GOAT cost $10/month. Token Harbor Office Pass costs $9.99/month.
  • On the 15 models with comparable data on all three plans, Office leads on 11, Go on 2, and GOAT on 2 for included requests per cycle. Go leads on GLM-5.3 and MiMo V2.6 Flash. GOAT leads on GLM-5.3 Flash and DeepSeek V4 Pro at the stated rates.
  • The model suffix matters. At the same workload, GPT-6 Luna gives about 44,872 requests on Office, 25,641 on GOAT and 19,231 on Go. For GLM-5.3 Flash, GOAT's 96,154 leads Office's 67,308 and Go's 57,692.
  • The full comparison includes 28 more two-plan comparisons and 58 rows with fewer than two comparable figures. Official short-window estimates are available underneath
@YogaSakti
YogaSakti / Code.gs
Last active August 2, 2026 15:25
ImportJSON by Yoga Sakti, Brad Jasper and Trevor Lohrbeer - Enhanced Version
/*====================================================================================================================================*
ImportJSON by Yoga Sakti, Brad Jasper and Trevor Lohrbeer - Optimized Version
====================================================================================================================================
Version: 2.1.0
Project Page: https://github.com/bradjasper/ImportJSON
Copyright: (c) 2025-2026 by Yoga Sakti
(c) 2017-2019 by Brad Jasper
(c) 2012-2017 by Trevor Lohrbeer
License: GNU General Public License, version 3 (GPL-3.0)
http://www.opensource.org/licenses/gpl-3.0.html
@YogaSakti
YogaSakti / bscRpcTester.js
Created April 23, 2025 05:59
Binance Smart Chain RPC Tester
const fetch = require('node-fetch');
const rpcNodes = [
'***.***.***.***',
'***.***.***.***',
];
async function getReferenceBlock() {
try {
const res = await fetch('https://bsc-mainnet.public.blastapi.io', {
@YogaSakti
YogaSakti / checker.js
Last active January 4, 2025 16:28
auto check pengu using curl impersonate
/* eslint-disable max-lines-per-function */
/* eslint-disable no-sync */
const solanaWeb3 = require('@solana/web3.js');
const { Connection, Keypair, PublicKey, sendAndConfirmTransaction, LAMPORTS_PER_SOL, SystemProgram, Transaction, VersionedMessage, VersionedTransaction } = solanaWeb3
const { sign } = require('tweetnacl');
const { decodeUTF8 } = require('tweetnacl-util');
const bs58 = require('bs58');
const bip39 = require('bip39');
const { derivePath } = require('ed25519-hd-key')
@YogaSakti
YogaSakti / twitter-v2-stream.js
Created March 17, 2023 15:19
TwitterDev: we are announcing the deprecation of the v1.1 streaming statuses/filter endpoint, with a formal deprecation date of March 9, 2023. This completes the full retirement of v1.1 streaming endpoints (we previously announced the other components in April 2022). We encourage you to begin the migration process to the filtered stream endpoint…
const twitter = require('twitter-api-v2')
(async () => {
const client = new twitter.TwitterApi('YOUR_APP__TOKEN');
// const rules = await client.v2.streamRules();
// delete old rules
// if (rules.data?.length) {
// await client.v2.updateStreamRules({
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.6;
contract Garuda {
address private owner;
constructor () {
owner = msg.sender;
}
receive() external payable {
selfdestruct(payable(owner));
@YogaSakti
YogaSakti / matic-selftx.js
Created November 23, 2022 06:42
activate polygon wallet
/* eslint-disable init-declarations */
/* eslint-disable radix */
/* eslint-disable no-continue */
const AlchemyWeb3 = require('@alch/alchemy-web3');
const delay = require('delay');
const provider = 'https://rpc-mainnet.matic.quiknode.pro'
const web3 = AlchemyWeb3.createAlchemyWeb3(provider);
const Ora = require('ora');
const spinner = new Ora();
@YogaSakti
YogaSakti / api.js
Created October 26, 2022 09:26
curl impersonate + curl generator
const { CurlGenerator } = require('curl-generator')
const shell = require('shelljs');
const baseProgram = `${process.cwd()}/curl_impersonate -sS`
const createCurlCommand = (url, method, authorization, body) => {
const params = { url, method,
headers: {
authority: 'aptos-mainnet-api.bluemove.net',
accept: 'application/json, text/plain, */*',
'accept-language': 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7',
---
version: "2.0"
services:
mongo:
image: mongo:latest
expose:
- port: 27017
to:
- global: true
{
"description": "Just a NFT for testing",
"external_url": "https://github.com/2pai/nft-erc721/blob/main/assets/2pai-japan.png",
"image": "https://github.com/2pai/nft-erc721/raw/main/assets/2pai-japan.png",
"name": "2Pai Japanese Edition"
}