DEV Community

Cover image for Tired of opening manually the same programs every morning ?

Tired of opening manually the same programs every morning ?

Ismael Garcia on September 15, 2021

Tired of opening manually the same programs every morning ? Or every time that you switch projects, running the same command over and over...
Collapse
 
oysterd3 profile image
Oyster Lee

Do people still shut down their computers at the end of the day? People I know, they just put it to sleep, faster.

Collapse
 
thefluxapex profile image
Ian Pride • Edited

I shut down everything no matter what. And I unplug any appliance that isn't a clock or doesn't cool food.

Collapse
 
leamsigc profile image
Ismael Garcia

I switch to windows at the end of my work day so i can play apex legend for 30min or 1hr, just because, is my way to handle the stress.

Collapse
 
moutafatin1 profile image
moutafatin1 • Edited

there is no risk for the computer, to let it sleep every day?

Collapse
 
leamsigc profile image
Ismael Garcia

I don't think 🤔 that putting it on to sleep mode have a problem probably the difference could be in the electricity usage

Collapse
 
milindsoorya profile image
milindsoorya

As a windows user, I shutdown my pc everyday.

Collapse
 
leamsigc profile image
Ismael Garcia

Me too but just because I don't lke it to consume electricity while not doing anything.

Thread Thread
 
milindsoorya profile image
milindsoorya

For me, it is beacuse of fear of loosing battery capacity. I plan on switching to mac soon, then I will live dangerously 😄

Collapse
 
zaimazhar profile image
zaimazhar

I use Brave browser with saved session and tabs. My calendar, emails, git repositories are all in the browser. I could simply close Brave with all the tabs running and open Brave the next day with the same tabs popping up. 😉

Collapse
 
leamsigc profile image
Ismael Garcia

That sounds nice. Probably this is more towards to someone that switch project in between the day and you need to run more than one command to get the project up and running.
Here is an example
when I'm working on a specific day
I need to do the following.

  • CD to the folder of the project
  • git pull all the branches for the other services like the backend for some sort of business.
  • rebuild the jar files
  • open a new tmux -panel -run a couple of Docker commands to get systems up
  • open vscode
Collapse
 
nombrekeff profile image
Keff

I don't mind actually, I just open the programs I need that day. Sometimes I only need one, sometimes I need 5. I hate having opened programs that I'm not using (and browser tabs), so I only open what I need in any given moment.

But I see the appeal of this!

Collapse
 
leamsigc profile image
Ismael Garcia

For me, this is helpful because I'm lazy and don't like to do of typing manually.

I prefer just run a command and let it do its thing while I'm making a coffee.

Like switching from project to project

I prefer just to run tmuxp load $project

  • open tmux panel for each service
  • open vscode
  • run yarn command to get the front end up
  • run yarn command to get the node server up

  • pull all the changes from the team members.

Collapse
 
beginnerdeveloper profile image
Beginner Developer

You can Pin tabs...

Collapse
 
leamsigc profile image
Ismael Garcia

Pin tabs is a good solution if you only want to open the browser.

For me is not only the browser.

  • Time tracking app
  • Chat App
  • Terminal with 6 panel each panel running and specific command

  • Vscode with the current project that I need

Collapse
 
beginnerdeveloper profile image
Beginner Developer

ohhh, Okay 😬😅

Collapse
 
phantas0s profile image
Matthieu Cneude

I use tmuxp everyday for years. My whole dev environment is around the shell, so I've config files for each of my project (side projects or professional ones).

Love this tool <3

Collapse
 
arberbr profile image
Arber Braja

My computer turns off once in a week probably or whenever there is an update that needs restart. But thank you for this article anyway. Now I know that I can automate this process too.

Collapse
 
leamsigc profile image
Ismael Garcia

Is any particular reason that you keep it on all the time?