Skip to content

Instantly share code, notes, and snippets.

@iplanetcn
iplanetcn / libs.versions.toml
Created April 3, 2025 01:47 — forked from Velord/libs.versions.toml
Explore the Jetpack libraries via Version Catalog
[versions]
# API
minApi = "26"
targetApi = "35"
# Build
buildTools = "30.0.3"
gradle = "8.5.1"
jvmTarget = "17"
jetifier = "1.0.0-beta10"
# DI
#!/bin/bash
# Check if NDK path is provided
if [ $# -ne 1 ]; then
echo "Usage: $0 /path/to/android-ndk"
exit 1
fi
NDK_PATH=$1
SFML_DIR=~/SourceCode/SFML
set -o nounset # Treat unset variables as an error
#!/bin/bash -
#===============================================================================
#
# FILE: build-openssl.sh
#
# USAGE: ./build-openssl.sh
#
# DESCRIPTION:
#
@iplanetcn
iplanetcn / CDView.swift
Created March 24, 2025 13:17 — forked from dkun7944/CDView.swift
SwiftUI + Swift.Shader CD
//
// CDView.swift
// CD
//
// Created by Daniel Kuntz on 7/3/23.
//
import SwiftUI
struct ShapeWithHole: Shape {
@iplanetcn
iplanetcn / build-openssl.sh
Last active December 20, 2024 09:41 — forked from ospfranco/build-openssl.sh
Cross-compile OpenSSL 3.X for Android
set -o nounset # Treat unset variables as an error
#!/bin/bash -
#===============================================================================
#
# FILE: build-openssl.sh
#
# USAGE: ./build-openssl.sh
#
# DESCRIPTION:
#
@iplanetcn
iplanetcn / xcode-utils.md
Created September 6, 2023 02:26 — forked from leviathan/xcode-utils.md
xcrun cheat sheet

Environment Info

xcode-select --print-path
xcodebuild -version
swift --version
swift build --version
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables | grep version   // Check Xcode Command-Line-Tools Version
@iplanetcn
iplanetcn / AdbCommands
Created August 16, 2023 06:33 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@iplanetcn
iplanetcn / rule.ini
Last active July 19, 2023 03:15 — forked from yippp/rule.ini
My rule for clash
[custom]
;不要随意改变关键字,否则会导致出错
;acl4SSR规则-在线更新版
;去广告:支持
;自动测速:支持
;微软分流:支持
;苹果分流:支持
;增强中国IP段:不支持
;增强国外GFW:不支持
; ___ _ __ ___ __ ___
; / __|_ _ __ _| |_____ / /| __|/ \_ )
; \__ \ ' \/ _` | / / -_) _ \__ \ () / /
; |___/_||_\__,_|_\_\___\___/___/\__/___|
; An annotated version of the snake example from Nick Morgan's 6502 assembly tutorial
; on http://skilldrick.github.io/easy6502/ that I created as an exercise for myself
; to learn a little bit about assembly. I **think** I understood everything, but I may
; also be completely wrong :-)
@iplanetcn
iplanetcn / .zshrc
Created May 25, 2023 12:02 — forked from nvzqz/.zshrc
.zshrc for OS X
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
# ZSH_THEME="gianu"
# ZSH_THEME="minimal"
# ZSH_THEME="dst"