Skip to content

Instantly share code, notes, and snippets.

View ssh352's full-sized avatar

j ssh352

View GitHub Profile
@ssh352
ssh352 / 32.asm
Created March 26, 2023 15:10 — forked from FiloSottile/32.asm
NASM Hello World for x86 and x86_64 Intel Mac OS X (get yourself an updated nasm with brew)
; /usr/local/bin/nasm -f macho 32.asm && ld -macosx_version_min 10.7.0 -o 32 32.o && ./32
global start
section .text
start:
push dword msg.len
push dword msg
push dword 1
mov eax, 4
@ssh352
ssh352 / rust-to-cpp.md
Created November 3, 2023 14:52 — forked from jharmer95/rust-to-cpp.md
Translating Rust keywords, concepts, and idioms to C++

Rust to C++

Language Only

Keywords

as

as has a few different contexts in Rust:

@ssh352
ssh352 / rcpp_vs_rust_zeros.R
Created July 30, 2024 07:43 — forked from Thell/rcpp_vs_rust_zeros.R
Benchmarking returning zero filled rcpp vs rextendr vector and matrix.
# compare rcpp and rust zero matrices performance to test wrap times.
library(microbenchmark)
Rcpp::sourceCpp(
code = '
#include <Rcpp.h>
using namespace Rcpp;
@ssh352
ssh352 / README.md
Created July 18, 2025 07:41 — forked from AndrewAltimit/!README.md
Claude Code and Gemini CLI Integration

Gemini CLI Integration for Claude Code MCP Server

A complete setup guide for integrating Google's Gemini CLI with Claude Code through an MCP (Model Context Protocol) server. This provides automatic second opinion consultation when Claude expresses uncertainty or encounters complex technical decisions.