Skip to content

Instantly share code, notes, and snippets.

View Animeshz's full-sized avatar
👋

Animesh Sahu Animeshz

👋
View GitHub Profile
@JonathonReinhart
JonathonReinhart / SConstruct
Last active October 30, 2024 03:53
mkdir -p implemented in C
env = Environment(
CCFLAGS = ['-Wall', '-Werror'],
)
env.Program('mkdir_p_test', ['mkdir_p.c', 'test.c'])
@Kimundi
Kimundi / java_rust_generic.md
Last active July 27, 2024 22:18
A light comparison between Rust and Java generics and type system features.

Introduction

If you are familiar with Java's generics, and are coming to Rust, you might be lead to assume that its generics are working the same way.

However, due to the different type systems, and different implementation details, there are quite a few differences between generic code in both languages.

This document tries to give a short summary about those differences:

Core functionality

Java

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 24, 2025 05:05
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname