All Projects → nathan-osman → Hang

nathan-osman / Hang

Licence: mit
Extremely simple Linux application that hangs until a signal is received.

Programming Languages

assembly
5116 projects

Projects that are alternatives of or similar to Hang

Eventpp
Event Dispatcher and callback list for C++
Stars: ✭ 474 (+203.85%)
Mutual labels:  signal
Whisperfish
Signal client for Sailfish OS
Stars: ✭ 62 (-60.26%)
Mutual labels:  signal
Edsp
A cross-platform DSP library written in C++ 11/14. This library harnesses the power of C++ templates to implement a complete set of DSP algorithms.
Stars: ✭ 116 (-25.64%)
Mutual labels:  signal
Cs.2click
🔊 A Better Audio Router for a Modular System.
Stars: ✭ 7 (-95.51%)
Mutual labels:  signal
Pulsesensorstarterproject
The Best Way to Get Started with your PulseSensor and Arduino
Stars: ✭ 38 (-75.64%)
Mutual labels:  signal
Signal Windows
Unofficial Signal Private Messenger for Windows
Stars: ✭ 83 (-46.79%)
Mutual labels:  signal
Uspeech
Speech recognition toolkit for the arduino
Stars: ✭ 448 (+187.18%)
Mutual labels:  signal
Nwaves
.NET library for 1D signal processing focused specifically on audio processing
Stars: ✭ 151 (-3.21%)
Mutual labels:  signal
Silence
PROJECT MOVED: https://git.silence.dev/Silence/Silence-Android/ (GitHub is just a mirror.)
Stars: ✭ 1,019 (+553.21%)
Mutual labels:  signal
Windows Kill
Send signal to process by PID in Windows, like POSIX kill
Stars: ✭ 104 (-33.33%)
Mutual labels:  signal
Sinewave
Sine wave library for Arduino. Produces a sine signal and passes the output to a PWM pin.
Stars: ✭ 11 (-92.95%)
Mutual labels:  signal
Unity Signals
Signals for Unity3D
Stars: ✭ 32 (-79.49%)
Mutual labels:  signal
Watomatic
Auto reply app helping you move away from less private messengers like WhatsApp and soon Facebook Messenger
Stars: ✭ 83 (-46.79%)
Mutual labels:  signal
Wide Residual Nets For Seti
Classification of simulated radio signals using Wide Residual Networks for use in the search for extra-terrestrial intelligence
Stars: ✭ 22 (-85.9%)
Mutual labels:  signal
Signal Cli
signal-cli provides an unofficial commandline and dbus interface for signalapp/libsignal-service-java
Stars: ✭ 2,117 (+1257.05%)
Mutual labels:  signal
Signal Back
Decrypt Signal encrypted backups outside the app
Stars: ✭ 468 (+200%)
Mutual labels:  signal
Eventpp
Minimal C++ Event Bus
Stars: ✭ 69 (-55.77%)
Mutual labels:  signal
Stocks
Programs for stock prediction and evaluation
Stars: ✭ 155 (-0.64%)
Mutual labels:  signal
Signals
General purpose modern C++ Signal-Slot providing ease of use, flexibility and extremely high performance aiming to replace traditional interfaces in real-time applications
Stars: ✭ 137 (-12.18%)
Mutual labels:  signal
Ooktools
📡 On-off keying tools for your SD-arrrR
Stars: ✭ 102 (-34.62%)
Mutual labels:  signal

hang

This application does absolutely nothing. Once started, it will hang until a signal is received.

Wait, what?

Despite its seemingly useless behavior, this application does serve an important purpose for me. I am using caddy-docker to monitor containers running in Docker. In order for caddy-docker to route requests to a container, it must remain running. Some containers don't actually do anything and exist solely to configure caddy-docker. However, they must remain running.

That's where this application comes in.

Why assembly?

This application must not link against any libraries, ensuring it has no dependencies. That is easiest to do in assembly. The entirety of the application's functionality is to hang until a signal is received and this can be done easily with syscalls.

Also, where else can you find a Docker container that occupies less than 1 KB on disk?

How do I use this?

Assuming you have GNU Make and Docker installed, simply run:

make

You will have a new binary named hang and it will be really small.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].