DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,503 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Things we have learned #2
Feli (she/her) for Studio M - Song

Posted on

Things we have learned #2

Sharing is Caring! For this reason, we would like to release new learnings of our Engineering colleagues at SinnerSchrader on a regular basis. Whether it is regarding a tool, a good read, git command, css pseudo-class, or something completely unrelated. The sky is the limit, it just has to be something we have learned.


Pomodoro Technique πŸ…

The Pomodoro technique is a time management technique where you work in intervals. Those intervals can be set by yourself. One example could be, doing 25 minutes for focusing then 5 minutes for relaxing, repeat this 4 times and then do a break. The relax time does not need to be a break, it could be used for short tasks that do not require your complete focus.
In general this technique can be helpful to stay focused while working from home, and we found out that it can help yourself to prevent overwork, as long as you keep track, how many intervals you already did this day.
You only need a pen, paper and a clock to give it a try. There are also Pomodoro applications on almost every platform to keep track digitally.
More information can be found on Wikipedia or on lifehacker.


Google calendar hack!

If you need to sync calendar availability with somebody (a client or another vendor), you can add a browser bookmark that hides all the appointment texts from your calendar. Now you can make a screenshot of your calendar and share it with others.
Screenshot of Google calendar without meeting names

Add a new bookmark in your browser, and use this as link:

javascript:window.document.styleSheets[0].insertRule('[role=""main""] [role=""gridcell""] * {color:red!important}');
Enter fullscreen mode Exit fullscreen mode

Open your calendar, and click on the bookmark. All texts are gone.


Visual Studio Code search and regex patterns

By default, VS Code uses the ripgrep tool to drive search. ripgrep is a tool written in Rust that uses regex patterns.

ripgrep is a line-oriented search tool that recursively searches your current directory for a regex pattern. By default, ripgrep will respect your .gitignore and automatically skip hidden files/directories and binary files.

...

Sometimes you want to search files that are in your .gitignore, so it is possible to specify additional ignore rules or overrides in a .ignore (application agnostic) or .rgignore (ripgrep specific) file.

More about ripgrep can be found on github


First Docker Tip

Start a docker container and execute a bash inside.

This is great to explore the docker containers and test commands. Afterwards you can add them to your Dockerfile.

docker run -it --rm ruby:2.6.3 /bin/bash

-i, --interactive Keep STDIN open even if not attached
-t, --tty Allocate a pseudo-TTY
--rm Automatically remove the container when it exits
Enter fullscreen mode Exit fullscreen mode

Second Docker Tip

Copy a folder from a docker image without starting a container

docker run $IMAGE_NAME:$TAG tar -c -C /path/to/your/folder foldername | tar xvC 
Enter fullscreen mode Exit fullscreen mode

Best Keyboard Shortcut ever for Jira

Screenshot of Jiras open Detail View

You can press . to open the Quick Operations at Jira - for example:
When you open the detail view of a story/issue at Jira and press the . you’ll open the quick menu where you can create sub-task, change the workflow status, assign the task and a lot more.

Learn more Jira Keyboard Shortcuts


Management tip - One On Ones

Watching the talk about Meetings that don't suck. A Youtube Video which has been released in 2013, it also include a part about One On Ones. One part that was new to us: the question What can I do for you to make your life easier?
Some of our Managers started to ask this question in their One On Ones and were positively surprised, that even if the co-workers answered "nothing, everything is fine" they were very happy to get this question.


MacBook Pro - High kernel_task CPU Usage

Do you have problems with your MacBook with high CPU usage of a process called kernel_task? Then maybe put the charger to the right side of your device. Here's why: https://apple.stackexchange.com/a/363933


Top comments (0)

πŸ— We built a 100% open source community software called Forem.

You can contribute to the codebase or host your own.