DEV Community

Iru.
Iru.

Posted on • Updated on

waybackmachine July '19

... because it's always fun to go back in time and remember what you learnt back then ...

the CLI

1) I never thought I could love reverse-i-search more, but fzf makes a good combo

GitHub logo junegunn / fzf

🌸 A command-line fuzzy finder

fzf - a command-line fuzzy finder travis-ci

fzf is a general-purpose command-line fuzzy finder.

It's an interactive Unix filter for command-line that can be used with any list; files, command history, processes, hostnames, bookmarks, git commits etc.

Pros

  • Portable, no dependencies
  • Blazingly fast
  • The most comprehensive feature set
  • Flexible layout
  • Batteries included
    • Vim/Neovim plugin, key bindings and fuzzy auto-completion

Table of Contents

2) nGrok + quick access to any ssh machine with nGrok

If you ever need to expose/access your local services from a public context, quickly and without much configuration hustle (dynamic ip), this is your tool.

ngrok provides a real-time web UI where you can introspect all HTTP traffic running over your tunnels. Replay any request against your tunnel with one click

edit 2019/11/04: there are even more options to nGrok, like


Cheatsheets

Security attacks per layer

Unix performance tools


Code/J2EE

1) Should have known the existence of Future handlers with CountDownLatch... makes code fancier x)

CountDownLatch threads explanation

2) Gracefully shutdown Java Threads with ShutdownHooks

Runtime.getRuntime().addShutdownHook(new Thread(() -> {
server.shutdown();
}));


Watch

  • One Page Product Design by @flipper83 (spanish) Howto bring all your team into the same mindset in order to get to the current goal
    • use visual guides like infographics, diagrams, BIG pictures, with common glossary... and make them as reachable as possible, preferably within the office


Adopt

Due to my nature TOC, I've had my own git commit message convention from a long time, but it's good to know there's something already written about it Conventional Commits - Standard templates for git commit messages


The w00t?

  • The shebang (#!)

Among UNIX shell (user interface) users, a shebang is a term for the "#!" characters that must begin the first line of a script. In musical notation, a "#" is called a sharp and an exclamation point - "!" - is sometimes referred to as a bang. Thus, shebang becomes a shortening of sharp-ban


Monthly hook

Top comments (0)