Findborg Apps
Findborg
apps

Running (debugging) a bash script line-by-line

Running (debugging) a bash script line-by-line

Run you bash script line-by-line using this technique.The other day I was running a Bash script. It wasn't working as expected so it needed some debugging.I needed a quick-and-dirty solution.After some googling, I found this answer. It ended up being quite easy and handy.All you have to do is place this line on the top of your script and Bash will prompt you after executing every line. Hitting enter key is enough to execute the next line of your script.It is reported that this works with bash v4.2.8 and v3.2.25.For me, it worked like a charm.Here is the original answer in stackoverflow.Do you have other tips for debugging Bash? I’d like to know.Discover MediumWelcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight.WatchMake Medium yoursFollow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox.ExploreBecome a memberGet unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month.UpgradeOriginal linkOriginal author: Mich Rodz

  0 Hits
  0 Comments

Copyright

© Medium

0 Hits
0 Comments

How to survive in a world of problems

How to survive in a world of problems

Photo by krisna iv on UnsplashThere is one very important thing that businessmen are not taught at an MBA. And, especially, students don’t study it at universities. Meanwhile, learning this is very important for anyone who is responsible for something and faces at least some kind of uncertainty.This thing is called: overcoming anxiety and worry. I have learned for quite a long time to handle the permanent horror of a tsunami that invariably occurs when managing a business. Especially the last year, which was exceptionally hard. I want to share some of the techniques that are helping me. I took something from books (like Carnegie’s “How to Stop Worrying and Start Living”), I got something from experience.It is very good if you add your techniques to the list, as no relief is expected.Often we fear abstractly, just that it will be bad. Our problems are 99.99% very local, they mean nothing even a year later. The technique of rationalization is very simple. Write down the problem that’s troubling. Then write down what your life will look like, if this problem is realized, in a month, a year, five years. You will find that, in general, almost always nothing will be disastrous...

Continue reading
  0 Hits
  0 Comments

Copyright

© Medium

0 Hits
0 Comments

What Costs U.S. Companies $30 Billion a Year and Yet Most Leaders Don’t Address

What Costs U.S. Companies $30 Billion a Year and Yet Most Leaders Don’t Address

Photo by Benjamin Child on UnsplashWe’ve all been there: sitting in a meeting wondering one of two things: 1) What is the purpose of this? and 2) Why am I here?And it’s no wonder why, given the sheer number of meetings that take place at workplaces every day:“One source that summarized a range of studies calculated that 36 to 56 million meetings occur every day in the United States. And yet, in a worldwide survey of 38,000 people, 69% said their meetings weren’t productive.” — Morten Hansen, Great At WorkSteven Rogelberg, an expert on meetings who wrote an entire book on the subject, acknowledges there are many problems with meetings.The biggest problem? It’s the simple fact that most people are never trained on how to host productive meetings.And this is very costly to business. As Rogelberg points out,“Apart from the actual time wasted — estimated to be more than $30 billion a year in the United States alone — there are opportunity costs of employees’ not working on more important, inspiring, or revenue-generating tasks. Reduced engagement has been shown to diminish everything from performance and innovation to service delivery, helping others, and teamwork.”But it doesn’t have to be this way and...

Continue reading
  0 Hits
  0 Comments

Copyright

© Medium

0 Hits
0 Comments

Seven types of rest that are important for productivity.

Seven types of rest that are important for productivity.

For many of us, it seems like it never stops. You know, TIME. Like there aren’t enough hours in the day, constantly asking yourself “where did the day go?” or “I just don’t have the time”.Truth is, we tend to get so stuck in the routine of living our fast-paced lives, trying to survive and please others, that we forget to take time to ourselves. If you don’t take time for yourself, how can you possibly keep up with the fast-paced lifestyle you’ve been living? The energy has to come from somewhere, doesn’t it?Am I the only one who has moved past energy drinks?I'm talking about real, organic — ENERGYAbout a year ago, my life was moving at such a fast pace that I found my self down fifteen pounds because I wouldn’t even take the time to eat — I was that busy. As I think back on it, I'm not sure exactly how I made it through those few years. I worked two jobs and had my own business at the time.I had goals and put all my focus on that for the most part but the other half was “people-pleasing”. Any time someone would call, Id come. All...

Continue reading
  2 Hits
  0 Comments

Copyright

© Medium

2 Hits
0 Comments

What If Goals Don’t Really Work?

What If Goals Don’t Really Work?

The heresy of a goal-less coachPhoto by Austin Chan on UnsplashThis is tricky, this not having goals. Especially for someone who once delighted in goal maps, and planners, and progress charts, and monthly checkpoints. Someone who wrote a 24-page workbook for goal setting. Someone who is a professional coach.I find I have a lot of space to fill, energy to redirect. I am so deeply programed to continually throw my focus forward in time (work goals, writing goals, fitness goals, To Do lists, etc), when I wrestle it back to the present, I don’t know what to do with it.Each morning I wonder, what will I do with this precious day if not fill it with activity toward a worthy goal?What will I tell my boss in today’s Annual Planning Session when I’m proposing a self-development plan based on enjoying my work rather than output metrics?How do I serve coaching clients without a focus on distant outcomes?I mean, I’m a “serious professional” by day. Can I really be taken seriously if I lead with this soft edge?What I Can’t Un-Know NowMaybe you know the answer to these things, but it’s all very new and different to me. Could be a yin/yang...

Continue reading
  0 Hits
  0 Comments

Copyright

© Medium

0 Hits
0 Comments

4 Inspired Feelings For Your Self-Doubt

4 Inspired Feelings For Your Self-Doubt

Encouragement to reclaim your beauty and strengthPhoto by Heather Ford on UnsplashWhen you have uncertainties in your life or life swallows you whole in every area you care about, you can feel self-doubt (and fear can creep in about yourself). This can cloud over your life and productivity.Further below are some ways to inspire your feelings, as you want to feel better.But first, you have to understand how you got to self-doubt…If you received rejection, failure or lack of fulfilling expectations, then you may be feeling self-doubt. Self-doubt can leave you feeling distraught, where you could be looking down at the ground instead of up (and out) where the possibilities are.Especially when you compare yourself to your peers, who you think seem to be doing well. That’s just an illusion. People show you what they want to. And usually it’s what they’ve achieved when they’ve gone through trials that led them there.So, it’s easy to let self-doubt take over, as it’s comforting to protect yourself from hurt, failures, and disappointments.Because…Self-doubt can rob you of joy. You can suffer emotionally through anger or sadness. And you can feel weak.Self-doubt can rob you of fully living or debilitate you in some cases (where...

Continue reading
  0 Hits
  0 Comments

Copyright

© Medium

0 Hits
0 Comments

How To Heal Your Inner Perspective

How To Heal Your Inner Perspective

Maintaining your inner peaceFirst Lets start off with getting out of our own heads by accepting that your’e not alone! Everyone has insecurities and have past trauma and pain that are now affecting their present day.How others see us is not the actual problem, its what we think others see in us that is causing us pain.We all have a habit of judging ourselves as though we are looking into the lens of how we would see ourselves, if we were perfect and project that negative perspectives onto us and shaming ourselves from living with joy, by justifying that this is how to be ‘real’, ‘humble’, ‘cool’, and my favorite word, ‘normal’.Understand that there is no such thing as a good or bad person. There is no such thing, I can do a good deed and five seconds flat, I can slap or insult someone that ‘got in my way’.We are only considered good or bad, based on what we consistently choose to do, that is how we become associated good or bad, and our habits of those choices is what would be known to others as our personality trait. So, You’re not good nor bad. No one is because we...

Continue reading
  0 Hits
  0 Comments

Copyright

© Medium

0 Hits
0 Comments

I Don’t Want to Know How to Make $20k in One Month as a Writer

I Don’t Want to Know How to Make $20k in One Month as a Writer

Image by Khusen Rustamov from PixabayRe-arrange the title of this article any way you like. You can put in some other number that’s higher than the price of one dinner out and replace “as a writer” with “as a freelancer,” “by blogging,” or “on Medium.”The sentiment is everywhere. As a new freelancer, I’ve spent a lot of time doing research about, well, being a new freelancer. All these questions boil down to their simplest essence as “how do I make it?” Making it, necessarily, involves earning some kind of living wage. The living wage of a freelancer — like any self-employed person — is ideally a little higher than someone who has an employer covering some of their costs, whether it’s for insurance, equipment, or anything else. We’re totally on our own, and we have to figure out how to do our taxes, too.So really I end up Googling things like cold email ideas, business licensing requirements, and invoice templates. Reviews of content writing websites (all abysmal), tips for creating a successful Upwork profile (do I want one?), what to put on my LinkedIn (still don’t really know).Every one of these searches turns up results promising to tell me how to...

Continue reading
  0 Hits
  0 Comments

Copyright

© Medium

0 Hits
0 Comments

If it’s not a Hell Yes, it’s a No!

If it’s not a Hell Yes, it’s a No!

The fog in Downtown TulsaSeeing Clearly. Do you ever feel like you are working harder than ever and getting less done. Are you checking things off your to-do list, but watching helplessly as your list keeps growing? I will admit that sometimes I feel like I’m spinning my wheels, and not moving forward. ⁠⠀⁠⠀It’s all a matter of priorities, and learning when to say no. Sometimes we need to say no so that we can say yes to the most important things. The things that will actually move the needle. The things that matter. ⁠⠀⁠⠀From now on if it’s not a hell yes, it’s a no. Only then will we see past the fog and see clearly. ⁠⠀Discover MediumWelcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight.WatchMake Medium yoursFollow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox.ExploreBecome a memberGet unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month.UpgradeOriginal linkOriginal author: Daniel Brunson

  0 Hits
  0 Comments

Copyright

© Medium

0 Hits
0 Comments

My solution to opening the wrong side up on my Macbook Pro 16"

My solution to opening the wrong side up on my Macbook Pro 16"

I used to own a Macbook Air 13" and it was easy to tell which side which side of the laptop to open from because it was the side that was thinner.Image from Anandtech https://www.anandtech.com/show/7180/apple-macbook-air-11-2013-reviewAfter I upgraded to the MacBook Pro 16", I found myself opening the laptop on the wrong side sometimes when I pull it out of the bag.So I tried sticking tape on the right side up. It’s easy to tell visually yet not too much, and more importantly the texture is slightly different from the device, so it’s easy to tell when I’m reaching for it in my bagDiscover MediumWelcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight.WatchMake Medium yoursFollow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox.ExploreBecome a memberGet unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month.UpgradeOriginal linkOriginal author: Yu Yang Chee

  0 Hits
  0 Comments

Copyright

© Medium

0 Hits
0 Comments
Cron Job Starts