Skip to content

Instantly share code, notes, and snippets.

View ligulfzhou's full-sized avatar
🎯
Focusing

ligulfzhou ligulfzhou

🎯
Focusing
View GitHub Profile
@ligulfzhou
ligulfzhou / keybase.md
Created August 9, 2025 01:01
keybase.md

Keybase proof

I hereby claim:

  • I am ligulfzhou on github.
  • I am ligulfzhou (https://keybase.io/ligulfzhou) on keybase.
  • I have a public key whose fingerprint is 44AD E4AF 9392 CA5A BEF0 EB36 D8AB B855 7680 F0F5

To claim this, I am signing this object:

@ligulfzhou
ligulfzhou / bluemove_swap.rs
Created January 5, 2025 12:06
swap on bluemove
use anyhow::bail;
use fastcrypto::hash::HashFunction;
use move_core_types::identifier::Identifier;
use move_core_types::language_storage::TypeTag;
use shared_crypto::intent::{Intent, IntentMessage};
use std::str::FromStr;
use sui_sdk::types::base_types::{ObjectID, SequenceNumber};
use sui_sdk::types::transaction::{Argument, ProgrammableTransaction};
use sui_sdk::{
rpc_types::{Coin, SuiTransactionBlockResponseOptions},
@ligulfzhou
ligulfzhou / merge_coin.rs
Created October 21, 2024 12:02
sui rust-sdk merge coins
use fastcrypto::hash::HashFunction;
use shared_crypto::intent::{Intent, IntentMessage};
use sui_sdk::{
rpc_types::{Coin, SuiTransactionBlockResponseOptions},
types::{
base_types::SuiAddress,
crypto::{get_key_pair_from_rng, DefaultHash, Signer, SuiKeyPair},
programmable_transaction_builder::ProgrammableTransactionBuilder,
quorum_driver_types::ExecuteTransactionRequestType,
transaction::{Command, Transaction, TransactionData, ObjectArg},

Linking my account ligulfzhou on GitHub with my address 0x2a0cfde00155b19a7cf625c1c68d905e55adcf7b on EVM in mycryptoprofile.io, and the challenge code is: 7917090619f18f1c59f8f8e39eca49ca. #LitentryVerifyMyAddress

Keybase proof

I hereby claim:

  • I am ligulfzhou on github.
  • I am ligulfzhou (https://keybase.io/ligulfzhou) on keybase.
  • I have a public key ASB_XrYieKTKX46taROye_gS1lArgvire9CaJeuwx0teUQo

To claim this, I am signing this object:

@ligulfzhou
ligulfzhou / gist:3d14927d2f6653699063e7550f56cd26
Created January 12, 2019 12:51 — forked from allex/gist:11203573
Ubuntu 安装中文字体

环境 (Environment)

版本:Ubuntu 14.04 LTS 默认语言:English(United States)

安装 (Setup)

Debian 和 Ubuntu 下对中文支持比较好的字体有: fonts-droid、ttf-wqy-zenhei 和 ttf-wqy-microhei 等,除了文泉驿系列字体外,比较流行的免费中文字体还有文鼎提供的楷体和上海宋,包名分别是: fonts-arphic-ukai 和 fonts-arphic-uming。

@ligulfzhou
ligulfzhou / HOWTODMG.md
Created November 23, 2016 09:23 — forked from jadeatucker/HOWTODMG.md
How to create a "DMG Installer" for Mac OS X

Creating a "DMG installer" for OS X

A DMG Installer is convenient way to provide end-users a simple way to install an application bundle. They are basically a folder with a shortcut to the Applications directory but they can be customized with icons, backgrounds, and layout properties. A DMG file (.dmg) is a Mac OS X Disk Image file and it is used to package files or folders providing compression, encryption, and read-only to the package.

##Creating the DMG file #Disk Utility