Skip to content

Instantly share code, notes, and snippets.

View Jukoo's full-sized avatar
🎩

Jukoo Jukoo

🎩
  • OpenWire Studio .Lab
  • Thies , Senegal
  • 10:23 (UTC -12:00)
View GitHub Profile
@Jukoo
Jukoo / .TechincalExploration.md
Last active July 25, 2025 20:02
Technical exploration – BusyBox and the art of the chameleon binary

Technical exploration – BusyBox and the art of the chameleon binary

After using BusyBox for a long time in several custom Linux projects (BusyBox/Linux), one question kept coming back to me: How can a single executable transform into many others, simply by changing its name?

Let me explain: If you rename the busybox binary to ls, it behaves like the ls command. Rename it to cat? It does cat. Same for echo, mkdir, etc. In /bin, all these tools are actually just symbolic links pointing to a single binary:

@Jukoo
Jukoo / thrdpsx.c
Created February 18, 2025 12:23
Basic use of posix thread (quick cheatsheet)
/* @author Umar Ba <jUmarB@protonmail.com>
* @Description :
* This code summarizes the essential use of the posix thread:
* -> Race Condition
* -> Data hosted by the thread itself
* -> Cleanup handler
* -> Thread attribute
*
* Happy Hacking /Reading ...
* please let me know if you want to see another concept.
@Jukoo
Jukoo / FilesListing_using_nodejs_addon.md
Created April 20, 2024 20:21
Simple File listing using Nodejs Addon (Node C API )
/**  By Umar <Jukoo> */ 

#include <node_api.h>

/**
 * NOTE: GNU/Linux  Compatible only
 */
#ifndef  __linux__
#error "Reserved Only for GNU/Linux OS x86 (glibc)"
@Jukoo
Jukoo / LXD-cheat-sheet.md
Created April 6, 2024 20:24 — forked from berndbausch/LXD-cheat-sheet.md
LXD cheat sheet

Useful LXD commands

Summarized from https://stgraber.org/2016/03/19/lxd-2-0-your-first-lxd-container-312/.

Interestingly, the LXD command line client is named.... lxc!

List available containers

lxc image list ubuntu:        # ubuntu: is officially supported image source
lxc image list images:        # images: is an unsupported source
lxc image alias list images:  # lists user-friendly names
@Jukoo
Jukoo / dlopen_sample.c
Created March 9, 2024 18:53 — forked from tailriver/ dlopen_sample.c
A sample of using dlopen library.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dlfcn.h>
int main(int argc, char** argv)
{
void *handle;
void (*func_print_name)(const char*);
@Jukoo
Jukoo / void_gnome.md
Created February 15, 2024 10:46 — forked from nerdyslacker/void_gnome.md
[Void Linux + GNOME] void linux configuration from scrath with gnome de #linux #void #gnome