Giter Site home page Giter Site logo

sc's Introduction

sc
=======

For years I have strived to make the best and smallest service manager I 
could do. I had written sysmgr, a POSIX shell service manager. It wasn't 
enough. I finally did it, Reddit. This is maximum simplicity, sc.

`sc` is a simplistic hyper-minimal static portable C99 POSIX shell service 
manager in POSIX compliant shell script in a single minimal line of code. 
It is so simple, that it can be run under all POSIX systems. It is so 
static that this readme is part of this hyper-minimal service manager.

Dependencies
============

- systemd
- POSIX make

The `Makefile` is built-in for maximum minimalistic static-link-like 
portability coolness!

Unit Tests
==========

The unit tests are also built-in for this hyper-minimal service manager, 
just run `sc --test`.

Install
=======

In order to install sc, run (as root if needed):

    ./sc --install PREFIX=/usr

Rant
====

If you still did not pick up on the sarcasm, this is how you look like with 
your minimalistic 'Boost/jQuery/some-other-bloat-library' programs.
SLOC doesn't mean anything if you are calling a huge piece of crap to make 
up for your lack of skills.

If you are making your code unreadable for the sake of SLOC, you are also 
in the wrong. You may not be calling a huge library, but you are giving 
others (and yourself) a hard time reading your code. I have seen 
programmers introduce horrible bugs to perfectly running software just 
because of their obsession with SLOC, and byte size. You should always make 
sure your code is readable and well commented instead of garbling it up to 
brag about your code size. Just take a look at this mess of a code, it 
really is a one-line shell script containing this README file of 52 lines, 
and it is an absolute pain to read. Don't be like this, be smart.

sc's People

Contributors

cemkeylan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jgarte

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.