RSSAmplifier

Blog

Dragoș Străinu's blog

I am Dragoș (Dragosh), a Front-end Software Engineer, Hackathoner, OSS enthusiast.

strdr4605.comRSS feed ↗30 posts

Latest posts

Dynamic Tmux Window Naming with Claude Code

How to automatically rename tmux windows based on your current task when working with Claude Code.

Clean Paste in Neovim: Paste Text Without Newlines and Leading Whitespace

How to paste code in Neovim without unwanted newlines and leading whitespace.

How to set up Lexical editor in React Native

We will look at how to build a rich text editor in React Native using lexical editor, with the help of react-native-webview.

MacOS: notify when the terminal command is finished

I created a small bash function to notify me when a long-running terminal command finishes

Stop doing git checkout master branch

My workflow when starting a new task for the project with git. How I checkout on a new branch based on origin/master branch.

Typescript errors into vim quickfix

How to populate errors from running tsc in vim/neovim quickfix. Get typescript compiler errors inside vim.

How I keep my iPhone battery at optimal level

How I maintain the iPhone battery between 35% and 70% using iPhone shortcuts

How to gradually add an eslint rule

Sometimes you decide to add a new eslint plugin or rule to your javascript project. To not do 2000+ files change you may try to gradually change files with lint-staged.

How I found a bug in 2000 files

A story how I found a bug in a change of 2000 files using bash, git commits and git bisect. Another title for this post cound be How to creat a commit per file that was changed.

NodeJS: How to test the npm package before releasing

How to test and release an npm package when it is still a Work In Progress. How to create prereleases of a NodeJS package following semver.org convention.

Keep your JavaScript repository clean

How we can clean up the repository root directory from config files like .eslintrc.js, tsconfig.json, jest.config.js and others.

Optional pre-commit checks with husky

How to make your husky pre-commit optional for each check

NPM: How to document your package.json scripts

Let's see different ways you can document your npm scripts using README, comments in package.json, or using npx why package.

You need to use Git worktree

A basic guide on why and how to use Git worktree feature.

Use Caps Lock to trigger iTerm2 terminal

A guide to remap Caps Lock to open the iTerm2 Mac terminal from anywhere in the system.

Git: hide specific branch when doing git log --all

How to hide a specific branch when looking into git log history.

Nudge Github PR reviewers with Slack API

How to create a simple script that will nudge Github Pull Request reviewers on Slack using Slack API and userscripts.

Git: temporary change commit author

A small function that you can add to your shell config file that will change the GIT_COMMITTER_NAME, GIT_COMMITTER_EMAIL and git commit author

Meteor: a better way to use meteor npm command

Did you forget to add meteor command before npm? Try adding a bash script that will make sure you always run it correctly.

Commitlint: custom commit message with emojis

A guide to customize the commitlint to your need and use it as convention in your git repository. Customize commitlint header format to use emojis.

No tits in git

Why merge commits make git history unreadable and how git rebase keeps it clean.

JSMD Meetup #12: Dragoș Străinu / You Don't Know *.user.js

9 Ways to Win a Hackathon... Without Coming in First Place

To win first place at a hackathon, you need to combine multiple components... and that's not always possible. Here's how to make the most of your next hackathon without coming in 'first place'.

Kanban/Sprint board isn't working for you? Try this!

An alternative to kanban board. Using Google Docs as a planning tool.

How I use Git

My daily use of Git. What Git commands I usually use. Tips and tricks that I use every day.

Building a command-line time tracker

This is my attempt to create a simple time tracker from the command line

What I learned from 35 Hackathons

What I learned from 35 hackathons, why you should participate at hackathons, how to gain experience without a full-time job.

My biggest Pull Request

Lessons learned from my biggest Pull Request. What to do when the Pull Request is too big?!

Project over money, team over project

What motivates me when I am looking for a new job in software engineering.

My first open-source project

How I created mockingcase, a beginner-friendly npm package that converts strings to mOcKiNgCaSe, and what I learned about open-source contribution.