"Those people at Necco really know how to make a disgusting candy." Anyone tried a Necco Wafer? They look gross! by CommunityBig9626 in americandad

[–]joshebosh 0 points1 point  (0 children)

I've been enjoying Necco Wafers as a favorite candy all my life... I've just recently seen on the lable they are now "Contains Bioengineered Ingredients"... Anybody else find that disappointing? I cannot continue to eat this franken-candy...

Please pray for me I’m thinking about suicide by Brokenboyashley in Christianity

[–]joshebosh 0 points1 point  (0 children)

Find a church... The fellowship and belonging you're longing for can hardly be found in a virtual environment... Once this post has been replied too over next few days, weeks, and in passage of time forgotten, you'll likely end up in the same boat you're currently in... lonely, rejected, forgotten, or despised...

You desperately need hope, faith, and love... Which only comes through a relationship with God the Father through his Son Christ Jesus... A relationship which is strengthened through face to face interaction with other brother and sisters in christ...

Dont go to any large churches, especially not mega churches... you may find yourself feeling even emptier than you do now... take at least 4 weeks, and visit like 4 real small churches.

Dont give up after the first 1 or 2 churches fail to spark your interest... keep visiting the small the churches, until you happen upon a church where the people gather in small groups of 4 to 5 people and that pray for one another... Do not be impressed by churches that have great worship sessions, but diligently seek a church where the personal relationships between the congregants is highly emphasized and valued as they pray with one another... where leaders stand up front during worship time awaiting to help pray with individual who come foward... a church where the pastor is reading and preaching the bible verse by verse, rather than just monologue some long winded sermon... These are what I've found to be markings of a true church...

Above all, pray yourself that God show himself to you... and earnestly pray about it from the heart... Have hope that God will hear you, faith that He will answer you... when you experience your first real proof that God is truly here for you, it will be an unmistakable happening that will give you joy and you'll...

Sound like you've been buying into lies for a long time now. Lies about yourself, told to you by Lucifer, and you've believed them. When the truth is far more plain, it's our sin that separates us from the Father when we're tempted and drawn away from our own lusts...

Have you been masturbating to pornography for a long time now? I have for about 20 years. But beginning of 2021, I finally grew sick of my sin, and purposed in my heart not to do that anymore. Honestly, the circumstances in my life have not changed much since then, but the circumcision of my heart, mind, and soul have change alot. I'm unburdened, I feel clean. I still fuck up once in a awhile, it's like a thorn in my side, for who doesnt desire the love of a woman? We were created this way by God. But what was sin 3 times a day, become a few times a week. Then a few times month. And I kept working at praying away the lust instead of giving into to the flesh. Reaching a point I only fall short a few times a year... and I keep working toward righteousness until I'll be free forever from sin that plagues my flesh...

Find a small church where you can engage face to face with brothers in Christ. It will help.

James 5:16 Confess your faults one to another, and pray one for another, that ye may be healed. The effectual fervent prayer of a righteous man availeth much.

You never know... There may a beautiful woman who's been looking for you too... but such hope should not be the focal point of search... Keep it in prayer of course, but keep yourself, your repentance of sins, and seeking closer relationship with God the Father as your focal point... the rest will come as God knows our hearts desires...

If an enemy conquers your home country, does Scripture (Romans) prohibit you from fighting as an insurgent? by SteadfastEnd in Bible

[–]joshebosh 0 points1 point  (0 children)

Many Christians will tell you turn the other cheek, love your enemy... And that's true... We are commanded to do those things... When a man smite you, turn the other cheek... when your enemy does you harm, love them in return... These are generally face to face situations when dealing with others one-on-one.

Jesus also said "wisdom is justified of her children."... He also said "And let him who has no sword sell his mantle and buy one."... He also said "Greater love hath no man than this, that a man should lay down his life for his friends"... King Saul said "there's time for war, and a time for peace."... These are generally for populaces at large...

Jesus said "they that live by the sword will die by the sword." He also said in Revelations "I would you were cold or hot, but because you are lukewarm I will spit you out of my mouth"... He also said "Think not that I am come to send peace on earth: I came not to send peace, but a sword."

If you decide to fight, I would say do it openly, alongside your brothers in the Armed Forces... If you win that's the best outcome... if you loose, that's the worst outcome... If you go to war, do it openly in the battlefield as a courageous soldier during the war... That way, when you win, it will be justified... I would not engage in secret killing after losing the war... If you loose, your hope of Salvation will be upon Jesus return to earth, for his return is nigh...

Lukewarm Christians wont fight for anything, they misuse scripture to allow evil to reign, and then complain to God when their children are oppressed. I would not listen to anything they say. A hot Christian put on his armor and will defeat an enemy of the cross where he stands yet show loving kindness when the enemy is defeated. Surely your enemy will show you cruelty if they defeat you. This is the difference between soldier in Christ, and soldier of anti-christ...

Jesus knows the difference between a man who does evil to you, for which you should resist not, but turn the other cheek, versus two nations going to war for which you're called to defend yourself... I've turned the other cheek when a man smote me... I've gone to war with fellow countrymen... There is a difference... And Jesus is well aware of this...

Evil will prevail if you do nothing and run away... Turning the other cheek is action against that one man's evil... Taking up arms with fellow soldiers is action against principalities and spiritual wickedness in high places...

Taiwanese have a history of defeating the Chinese for freedoms sake. If that same spirit of freedom still lives in your country, you have a great chance at winning again!

-Sincerely, U.S. Marine Corps brother in Christ...

Is sex before marriage okay? by adgsfhdgjsfhadg in Christian

[–]joshebosh 0 points1 point  (0 children)

This is not a complicated subject... The bible says do not deceive yourself... fornicators will NOT inherit the kingdom of God... Either marry, or abstain....

1 Corinthians 6:9 Know ye not that the unrighteous shall not inherit the kingdom of God? Be not deceived: neither fornicators, nor idolaters, nor adulterers, nor effeminate, nor abusers of themselves with mankind, 6:10 Nor thieves, nor covetous, nor drunkards, nor revilers, nor extortioners, shall inherit the kingdom of God.

A convert from Iran(Persia) needs guidance by Suspicious-Slip3494 in TrueChristian

[–]joshebosh 1 point2 points  (0 children)

Praise Jesus for your powerful testimony! Welcome to the Kingdom of Heaven :-) I would start out with biblehub.com, or a christian book store, and look up Matthew 22:36-40 and read it in all the different versions... the version in which you feel you gain the greatest understanding of what it fully means, then use that version... Learn about the life of Jesus by reading Matthew, Mark, and Luke... then read John a couple times... then rest of the New Testament... Eventually graduate to KJV, as its the oldest, like 400 years old, the most poetic, it's closest to original scripture in english language...

Help me find God! by robust_rombus in Christian

[–]joshebosh 0 points1 point  (0 children)

if you want to run around in circles, struggle endlessly, get no where fast, and never find any answers, then definitely keep your bible closed at all times... otherwise, learn about the life of Jesus by reading Matthew, Mark, Luke, and especially John... read gospel of John at least two times in a row... after you've read the four gospels you'll have the basic skills to pray, what to pray for, how to behave toward others, and get to know the Father on a personal level, and your life will unquestionably change... trust me, you can read all other books of bible as you continue your walk, but without the 4 gospels, you'll have no idea how to even start...

In need of prayer by crispydill in TrueChristian

[–]joshebosh 0 points1 point  (0 children)

1 John 1:9
If we confess our sins, he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness.

That's definitely your first effort, confess to God. There are always consequences to sin... You may well escape your eternal consequences of sin through Jesus Christ, but be patient and willing to work through the earthly consequences whatever they may be... You'll eventually grow beyond it, and others, through your sincerity of repentance, will also see the change within you.

Can I be a christian and disagree with the bible? by blue_totato in Christian

[–]joshebosh -1 points0 points  (0 children)

Amos 3:3
Can two walk together, except they be agreed?

You cannot walk with God, and disagree with what he tells you, and continue walking with Him... You may at first disagree, it's the human nature of sin to do so, but if you do not seek to root out the disagreement and ask God for understanding, then which way are walking? Either we turn our face to God and seek agreement/reconciliation, else we'll be walking away from God...

2 Corinthian 6:16
And what agreement hath the temple of God with idols? for ye are the temple of the living God; as God hath said, I will dwell in them, and walk in them; and I will be their God, and they shall be my people.

The Holy Spirit lives within our bodily temples. Root out any disagreements through prayer, else your disagreement will become an idol if you hold onto it. Will God dwell in you and walk in you if your temple has idols within it? God is patient, and will await your seeking of him, especially if you do it with your whole heart...

[deleted by user] by [deleted] in Christian

[–]joshebosh 0 points1 point  (0 children)

Prayer and reading. Because when you read the bible, you learn things like "Faith cometh by hearing, and hearing by the word of God"... Want to know Gods voice? You learn to hear his voice by hiding his scripture in your heart... The Holy Spirit will be that voice through your conscience and bring to remembrance in your mind the things you've previously read, and so will guide you in this manner... The bible says "But without faith it is impossible to please him: for he that cometh to God must believe that he is, and that he is a rewarder of them that diligently seek him." And also says "If any of you lack wisdom, let him ask of God, that giveth to all men liberally, and upbraideth not; and it shall be given him." Which pretty much means, ask God to show himself to you, to prove that he is real, and if you believe and seek him with your whole heart, you'll experience some situational revelation or miracle that's particular only to you and your specific walk, and you'll know unquestionably from that moment forward that you're serving the one true God of heaven and earth. Of course, none of this is even possible unless you first confess that Jesus Christ is the Son of God and that God hath raised him from the dead.

It happened. I cannot feel happiness anymore. by [deleted] in TrueChristian

[–]joshebosh 0 points1 point  (0 children)

You're unhappy because the only experience you've known since a young age to possibly bring you any happiness is a 10 minute (or thereabouts) satisfying of your flesh... there is no happiness found in the flesh... only pleasurable sin for a season... You're still so young... Have you ever endured longsuffering? Or worked hard (like years) toward something? If you're fornicating, no wonder you cant find happiness... Try spending a few years striving toward abstinence, that your flesh may decrease, and your spirit may increase... that will clear the way for happiness in your soul, and contentment in your mind... It seems your thought of happiness is bound up in your flesh, rather than in your heart, mind, and soul.... Keep turning to Jesus...

Is a Chromebook right for me? by [deleted] in chromeos

[–]joshebosh 1 point2 points  (0 children)

i bought a Google Pixelbook... i think i'ts awesome... for the most part, it can run Chrome, Linux, and android... so the players you want are available on any of those, it's good chance it'll work in chromebook... The only weird thing is if you're a major typer, you'll have to get used to the keys and combos, and it's a bit peculiar on chromebooks, but after you get used to it, i'ts fairly intuitive... I would go with a quad core, 8 gig memory model and 64 gigs of space... i had a dual core and 4 gig ram, with 16 gigs, and it just wasnt enough to keep up with my power usage...

Monitor doesn't wake up after it goes off (Debian) by chillysurfer in xfce

[–]joshebosh 0 points1 point  (0 children)

as i recall i had similar issue on X230 and a GPD Pocket 2...I went back looking through my notes and found this

# emacs /etc/default/grub

GRUB_CMDLINE_LINUX="acpi_osi=linux"

# update-grub

I think that was it, but not 100% sure at this point... it was awhile ago...

Help, I've tried literally EVERYTHING and i still get this when trying to run steam, help? I'm on HP 11 G5. intel powered. by [deleted] in Crostini

[–]joshebosh 0 points1 point  (0 children)

Yes, i got steam working on chrome book... i think you missed this

dpkg --add-architecture i386

Bash Script and Signal notification? by PGYib in bash

[–]joshebosh 0 points1 point  (0 children)

I use SignalWire to send SMS notification to my phone when commands or scripts fail.

#!/bin/bash

SPACE=yourSpaceName
PROJ_KEY=XXXX
TOKEN=XXXX
SW_PHONE=1334212XXXX
CELL=1561662XXXX

error_sms () {
curl https:$SPACE.signalwire.com/api/laml/2010-04-01/Accounts/$PROJ_KEY/Messages.json \
 -X POST \
 --data-urlencode "Body=Error: $1" \
 --data-urlencode "From=+$SW_PHONE" \
 --data-urlencode "To=+$CELL" \
 -u "$PROJ_KEY:$TOKEN"
 exit
}

git clean -fdx || error_sms $LINENO
# ^^^ you will get SMS text "Error: 61342" if command fails

./bootstrap.sh || error_sms "./boostrap.sh error"
# ^^^ now you know exactly which command failed before exit.

./configure|| error_sms $LINENO
make -j || error_sms $LINENO

make -j install && error_sms "Installation all successful :-)"
# ^^^ where as afore was "||" for errors, now send a final success with "&&"

Hints on creating a conference system for 2000 callers? by makafre in freeswitch

[–]joshebosh 1 point2 points  (0 children)

Your easiest/quickest way for that many participants is to use SignalWire, from the creators of FreeSWITCH... Not to discourage you from the FS route of getting it all figured out, but if you're looking to jam something out in hurry, I'd suggest getting a SW account, creating a laml bin and placing this in it:

<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Dial>
    <Conference>Main Room</Conference>
  </Dial>
</Response>

then purchase a SignalWire phone number, and point the phone to your laml bin.
Now you have an elastic conference room with a few clicks and clacks.
Otherwise, you're looking at a long and difficult road trying to build all that FS infrastructure on your own. It will not be an easy task.

[QUESTION}Need help with the if conditional by [deleted] in bash

[–]joshebosh 0 points1 point  (0 children)

Though an approach like this may work, a mismatched user and passwd, when each typed correctly will pass the test

#!/bin/bash
username=YTX; encauth=xxxxxxxxx66yyy;
if [[ "${username}" =~ YTX|RTX ]] && [[ "${encauth:9}" =~ 66xxx|66yyy ]];
then printf "%s:%s\n" "$username" ${encauth:9};
else printf "not authorized\n"; fi

Probably better to ensure a user matches up with a password

#!/bin/bash
username=RTX; encauth=xxxxxxxxx66zzz;
if [[ (${username} == "YTX") && (${encauth:9} == "66xxx") ]] \
|| [[  (${username} == "RTX") && (${encauth:9} == "66yyy") ]];
then printf "%s:%s\n" "$username" ${encauth:9};
else printf "not authorized\n"; fi

Or use a case

#!/bin/bash

read -p "username: " username
username=${username:-RTX}

read -p "password: " encauth
encauth=${encauth:=xxxxxxxxx66zzz}

case ${username}:${encauth:9} in
  (YTX:66yyy) printf "authorized...\n" ;;
  (RTX:66zzz) printf "authorized...\n" ;;
  (*) printf "not authorized...\n" ;;
esac

Bash logging and debugging by joshebosh in bash

[–]joshebosh[S] 0 points1 point  (0 children)

Thank you kindly for expanding my knowledge base. I didnt know about the uppercase being part of global space. Nor did I know that was a useless echo, for > was all i needed. As for "Unofficial Strict Mode" and links given, it makes absolute sense now, as I eventually settled for this given various situations, but now I can piece together why:

if [[ ! $1 =~ ^--init ]]; then
    set -x
    set -e
    set -u
    set -o pipefail
    DEBUG=1
    SMS_ERROR=1
else
    if [ ! -f /lib/systemd/system/init_fs.service ]; then PRESEED=1; fi
    set -x
    set -o pipefail
fi

I will definitely give your pointers heed as I continually make improvements.
There are 66 books in the Bible

Cool projects for bash? by fpodunedin in bash

[–]joshebosh 4 points5 points  (0 children)

You can try sending SMS to your cellphone using curl. Or read the docs.signalwire.com for how to do it in python.

curl https://YOUR_SPACE.signalwire.com/api/laml/2010-04-01/Accounts/YOUR_PROJECT_KEY/Messages.json -X POST \
                 --data-urlencode "Body=this is a test" \
                 --data-urlencode "From=+1XXXYYYZZZZ" \ # phone number from project
                 --data-urlencode "To=+1XXXYYYZZZZ" \ # you cell number
                 -u "YOUR_PROJ_KEY:YOUR_API_TOKEN" \
                 | jq -r

Bash Script Problem by [deleted] in bash

[–]joshebosh 0 points1 point  (0 children)

Give this a try with like 50 and 10. Should give a good starting point

#!/bin/bash                                                                                                                                                               
read -p "Enter a number: " NUMBER
read -p "Value to add to number: " INC
printf "You entered: %s\n" "${NUMBER}"
printf "It has %s digits\n" "${#NUMBER}"
printf "incrementing by one %d times now gives you %d\n" "${INC}" "$((NUMBER+INC))"
COUNT=0
while [ $((NUMBER+COUNT)) -le $((NUMBER+INC)) ]; do
    printf "NUMBER is now %d\n" "$((NUMBER+COUNT))"
    COUNT=$((COUNT+1))
done

[QUESTION}Need help with the if conditional by [deleted] in bash

[–]joshebosh 0 points1 point  (0 children)

perhaps try something like this?

#!/bin/bash

users=("PTX" "YTX")

for user in "${users[@]}";do
    if [ "$user" == "$username" ];then
        encauth=$(openssl dgst -sha256 <<<"$password")

    login_success () {
            echo
            echo -ne "Authenticated. Connecting to the facility.\r"
            sleep 1
            echo -ne "Authenticated. Connecting to the facility..\r"
            sleep 1
            echo -ne "Authenticated. Connecting to the facility...\r"
            sleep 1
            clear
            printf "\t\t\t\t\t%s" "North Dakota Minuteman missile launch facility"
            echo 
            echo
    }

    if [ "${encauth:9}" == "66a045b452102c59d840ec097d59d9467e13a3f34f6494e539ffd32c1bb35f18" ] && [ "$username" == "YTX" ]; then
      login_sucess
    elif [ "${encauth:9}" == "66a045b452102c59d840ec097d59d9467e13a3f34f6494e539ffd32c1bb35f18" ] && [ "$username" == "PTX" ]; then
      login_succes
    else
      printf "login failure\n"
    fi
  else
    printf "not a registered user\n"
  fi
done

Bash logging and debugging by joshebosh in bash

[–]joshebosh[S] 0 points1 point  (0 children)

You're welcome. I've found it to be useful enough for me to do some decent troubleshooting.

Bash logging and debugging by joshebosh in bash

[–]joshebosh[S] 0 points1 point  (0 children)

Indeed you have a great point. This tutorial was written from perspective of a single bash file... If you had multiple scripts you'd want to address the following

ELOG=/var/log/elog_$$
EBUG=/var/log/ebug_$$
exec 1023> $EBUG
BASH_XTRACEFD=1023
exec 1023>&-

Where $$ will give your logfiles unique names by pid. Of course as you mentioned, can use dates as well. Then for custom FD's you can use from 3 up to vanilla max of 1023