Skip to content

Instantly share code, notes, and snippets.

@Subsentient
Subsentient / Cargo.toml
Created November 22, 2022 21:48 — forked from JShorthouse/Cargo.toml
rust - macos CPU usage per core
[package]
name = "cpu_usage"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
libc = "0.2.125"
@Subsentient
Subsentient / pointer.c
Created February 3, 2013 09:29
Pointer basics in C.
#include <stdio.h>
/*
Pointers to pointers' pointers. GET YOUR HANDS OFF MY POINTER!!!
A crappy, cheap code snippet by Subsentient.
*/
void main()
{
int num = 7;