Skip to content

Instantly share code, notes, and snippets.

@x0nu11byt3
x0nu11byt3 / elf_format_cheatsheet.md
Created February 27, 2021 05:26
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@martinferianc
martinferianc / tutorial.ipynb
Last active October 29, 2024 12:07
Quantisation example in PyTorch
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zbraniecki
zbraniecki / README.md
Last active November 7, 2024 03:55
Rust <--> C/C++ FFI for newbies

As Gecko is moving toward more Rust code, the cases where Rust and C code interoperate will become more common.

This document is an attempt to ease the learning curve for engineers facing it for the first time. It assumes no prior experience with cross-language C interfaces (called FFI).

It also assumes that Rust code is already built into Gecko. If you need help with that, read Introducing Rust code in Firefox.

What can you transfer across the fence

@najlepsiwebdesigner
najlepsiwebdesigner / tx2-device-tree-notes.md
Last active July 8, 2024 23:07
This file documents my efforts to implement linux device tree modifications required to enable USB on custom carrier board

DTB file to edit

this is the correct file In many tutorials elinux,devtalk devtalk on the internet, this file is modified: tegra186-quill-p3310-1000-c03-00-base.dtb

Current official documentation mentions file: tegra186-quill-power-tree-p3310-1000-a00-00.dtb

check currently used configuration from tx2:

@gyglim
gyglim / tensorboard_logging.py
Last active August 23, 2023 21:29
Logging to tensorboard without tensorflow operations. Uses manually generated summaries instead of summary ops
"""Simple example on how to log scalars and images to tensorboard without tensor ops.
License: BSD License 2.0
"""
__author__ = "Michael Gygli"
import tensorflow as tf
from StringIO import StringIO
import matplotlib.pyplot as plt
import numpy as np