Skip to content

Instantly share code, notes, and snippets.

View chamrun's full-sized avatar
🤖
Part-time self-improver

Cham chamrun

🤖
Part-time self-improver
View GitHub Profile
cell event = begin_cell()
.store_slice("EventName") ;; more data can be stored here using store functions
.end_cell();
send_raw_message(event, 0);
import {
TonApiClient,
Trace,
TraceID,
TraceIDs,
Transaction,
} from '@ton-api/client'
import { Address, Slice } from '@ton/core'
const CHANGE_NUMBER_NOTIFICATION_EVENT_CODE = 0x5c690c2f
@chamrun
chamrun / custom-woocommerce-shipping.php
Created September 5, 2023 16:20 — forked from goranefbl/custom-woocommerce-shipping.php
Adds a new shipping method that calculates shipping price based on quantity of products
<?php
/*
Plugin Name: Shipping Price per Quantity Plugin
Plugin URI: http://itsgoran.com
Description: Adds a new shipping method that calculates shipping price based on quantity of products - made for Cider.
Version: 1.0.0
Author: Goran Jakovljevic
Author URI: http://itsgoran.com
*/