Coder Social home page Coder Social logo

fbd's Introduction

FBD

C Linux Windows

You have a very long quest.. that starts with installing this software !
You will discover secrets.. get the time.. read jokes..

Compile and Run

Compile with GCC:

git clone https://gitHub.com/FBDev64/FBD.git
cd FBD
gcc -o fbd main.c

Compile with CMake:

git clone https://gitHub.com/FBDev64/FBD.git
cd FBD
mkdir build && cd build
cmake ..
make

Precompiled MS Windows executabes can be downloaded from the Releases section.

Headers and Library

I used Airlib to speed up the program coding process. Also, there is joke.h that has the joke vector and function to return the joke.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Distribute, modify and use freely under the terms of the BSD 3-Clause “New” or “Revised” License.

fbd's People

Contributors

fbdev64 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

fbd's Issues

Unexpected characters and not found or executed commands

When I go on shellcheck.net it says to add [ before and after the
argument. (e.g if [ "$VHS" == "exit" ]; then
but when I execute and type rules it says :
fbd.sh: 14: [: exit: unexpected operator
fbd.sh: 19: [: exit: unexpected operator
fbd.sh: 22: [: exit: unexpected operator
fbd.sh: 30: [: exit: unexpected operator
fbd.sh: 33: [: exit: unexpected operator
fbd.sh: 36: [: exit: unexpected operator
fbd.sh: 39: [: exit: unexpected operator
fbd.sh: 42: [: exit: unexpected operator
fbd.sh: 14: [: unexpected operator
fbd.sh: 19: [: unexpected operator
fbd.sh: 22: [: unexpected operator
fbd.sh: 30: [: unexpected operator
fbd.sh: 33: [: unexpected operator
fbd.sh: 36: [: unexpected operator
fbd.sh: 39: [: unexpected operator
fbd.sh: 42: [: unexpected operator
fbd.sh: 14: [: unexpected operator
fbd.sh: 19: [: unexpected operator
fbd.sh: 22: [: unexpected operator
fbd.sh: 30: [: unexpected operator
fbd.sh: 33: [: unexpected operator
fbd.sh: 36: [: unexpected operator
fbd.sh: 39: [: unexpected operator
fbd.sh: 42: [: unexpected operator

PHP Chat

Find a terminal-based, moderable PHP chat that prints out in the server messages sent by users, redireting those to other users. Or NodeJS. Or Rust. Or Go.

SSH Into Arch Linux

I don't have ifconfig and ip addr or ip a sucks. So I'll install and remotely dev FBD using Vim/Vi, because >>Nano>>>>Emacs

Store input in variable - Gum.

I use a package named Gum to beautify my software (terminal app). So, it's a mini-shell where when I type "help" it outputs the list of commands. But, for that, I need to store the user input of the Gum input. See source code below.

#!/bin/sh

# Customize Console
# set-title FBD

echo "Undertale Jokes, that's all. Mainly. You know, as ya want."

while true
  do 

    #Input
    PRT=$(gum input > history.txt --placeholder " Enter Command")

    # Logic
    if PRT=="list"; then
        echo "exit"
        echo "list"
        echo "rules"
    fi
    if PRT=="exit"; then
        exit
    fi
    if PRT=="rules"; then
        echo "There is not much rules but :\n
        1. Be silly and trolly
        2. Don't insult or any things like that
        3. Always have a Sans sticker in your desktop wallpaper
        4. Chew gum while using the software
        5. Every Arch user shoulds ay "I use Arch, BTW" every day on the chat.\n"
    fi

done

For now, when I exec the software, I have the gum input, but ... See a how it actually works :

Undertale Jokes, that's all. Mainly. You know, as ya want.
exit
list
rules

I typed rules

Compile Readers

Compile readers in src/readers :

gcc -o reader reader.c

And repeat operation. After that,modify the fbdbast execute (Shel) those.

Permission denied

Permission denied when executing sh fbd.sh and typing anything in the prompt(gum input)

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.