A summary of the information flow dated February 24, 2021

SSH tunnel

原文 : SSH Tunneling and Restricted Servers

SSH: secure shell

SSH tunnels literally route local network traffic to remote hosts over SSH.

Local SSH port forwarding

Local SSH port forwarding enables you to connect from your machine to a remote server. For example, if you are behind a firewall that restricts access to applications, or blocked by an outgoing firewall that prevents you from reaching applications running on port 3000 on your server, local SSH port forwarding can be done ahead of schedule.

SSH -l 80 gw.example.comCopy the code

Remote SSH port forwarding

Remote SSH port forwarding works the opposite of local SSH port forwarding, which allows you to connect from a remote machine to a local machine. In normal cases, SSH does not allow remote port forwarding. You can enable it in the GatewayPorts directive in the SSHD configuration file etc/ssh/sshd_config on the remote host.

ssh -f -N [email protected] -R 5000:localhost:3000
Copy the code

Dynamic SSH port forwarding

Dynamic SSH port forwarding, unlike the first two, allows various TCP communications with a series of ports, local and remote only allowing communication with a single port. The dynamic version lets your device act as a SOCKS proxy server that listens on port 1080.

To start the SOCKS proxy on port 1080, use this command.

ssh -f -N -D 1080 [email protected]
Copy the code

7 Mistakes that 90% of Programmers make

原文 : Avoid these 7 mistakes which 90% of the programmers do [4 min read]

Two things I found inspiring:

  • Instead of constantly reviewing your code, you just pile it up

  • Coding in Isolation

Soft skills of programmers

英 文 : 9 Soft Skills That Made Me a Successful Developer (so Far) That You Can Steal

Reminds me of an impressive comment on V2EX:

One of the biggest misconceptions programmers have about the IT industry is that technology is everything in IT, when in fact technology is only necessary for IT… One of the.

On Goal Achievement

  • Decide on a specific goal
  • Identify the strategies needed to achieve this goal
  • Break goals down into smaller goals
  • Break down small goals into milestones and set deadlines
  • Write these milestones down on a piece of paper for yourself to see each day
  • Celebrate every little achievement
  • Tell yourself that you will do your best to achieve your goal

“Every action you take is a vote for the type of person you wish to become.

About trust

Being able to consistently and deliberately deliver work is a valuable skill because it makes you a person you can trust.

  • Whether work can be delivered without delay
  • Can you manage your time well
  • Focus on what’s most important, instead of focusing on what’s least important

“But if all they did was kill time, time would end up killing them.” — Michael Grant, “Gone”

On adapting to change

Develop the mindset that you can learn anything thrown at you, and spread that belief through your actions. By doing so, you will find that you are seen as a person with great potential.

About the communication

  • Don’t be afraid to ask questions
  • Share your accomplishments and tell your colleagues what you’ve been doing
  • Record/explain your tasks so others can hand them off
  • Be generous with explaining things to colleagues that they don’t understand

In essence, treat communication as if you were on a sports team preparing to go play at national championships. Communication is vital to success. Don’t be a loner. Don’t hold knowledge hostage.

In essence, treat communication as if you were on your sports team preparing to play in the national championship game. Communication is crucial to success. Don’t be a loner. Don’t hold knowledge hostage.

About learning

  • Always be enthusiastic about learning, always be open, always be humble.

  • Based on feedback from others, change your current way of doing things to a more efficient way.

  • Read books on any subject and find ways to relate them to your major.

  • Take the time to learn a new skill or subject so you can work with a fresh perspective,



Feel these suggestions are very practical, irrelevant writing can also be used for reference.

  • Rest easy with your book title | don’t care about whether the title repetition. Because titles don’t have copyright.

  • Keep your goals to yourself | don’t share your goals. Because telling someone creates the illusion of achievement in your brain.

  • Finish your will be faster – | even if the state is not good, also try to do more every day. Set up the deadline.

  • Consider your characters’ quirks | set for character quirks. It shows personality and makes people remember it.

    quirks “make them stand out in some way from the crowd. Those quirks can be physical (e.g., spiky blue hair or brightly-colored scarves) or tied to their personality or their strengths and weaknesses.

On empathy

  • Don’t assume that everyone knows what you know.

  • Take the time to try to really understand your customers and users so that you can create user-friendly components and applications that fully cater to their desires and needs. They will be impressed with your work.

I think I have seen a programmer for several decades emphasize the concept of Curse of Knowledge when talking about his experience. It may be that the more advanced the technology is, the more likely it is to ignore the Knowledge gap and cause bad experience in communication. So think in terms of the other person’s role.

Think outside the box

Think Outside of the Box

Creative thinking is about making metaphorical connections between different things and finding an understanding through a series of different questions.

To think creatively is to find metaphorical ties between different things and to discover an understanding through a barrage of different questions.

Einstein once said that if he had to solve a problem in an hour, he would spend 55 minutes defining the problem and asking the right question, leaving 5 minutes for the actual solution.

Albert Einstein once said that if he had to solve a problem in a matter of an hour, he would spend 55 minutes defining the problem and asking the right questions and spend the remaining five minutes actually solving the problem.

Steve jobs also said that the most creative people are those who have had the most experience and are able to relate that experience to their work. Creativity is connecting things. When you ask creative people how they do something, they feel a little guilty because they don’t really do it, they just see something. After a while, they seemed to understand. That’s because they can connect the dots between their experiences and synthesize something new.” “– Steve Jobs

Steve Jobs also said that the most creative people are the ones that have experienced the most and are able to tie those Experiences back to what they do. “Creativity is just connecting things. When you ask creative people how they did Something, they feel a little guilty because they didn’t really do it, They just saw something. It seemed obvious to them after a while. That’s because they were able to connect experiences They’ve had and synthesize new things. “– Steve Jobs


  • Your ability to cope with failure says a lot.

    One of the most rewarding things about developing is the aspect of discovery and figuring out the hard things.

  • Take the responsibility and initiative of a leader, even if you are not

    If we don’t do this, how can we be seen

DEV community

New Relic x DEV “Hack the Planet” hackerthon

TOP author of the week on DEV

  1. Danny (11 Easy UI Design Tips for Web Devs)
  2. Caitlyn (Non-Technical Frontend Interview Questions)
  3. Evan (Announcing Vite 2.0)
  4. Paul (Are You a Good Developer Already?)
  5. Laurie (Performance Tools)
  6. Sylwia (Why Do You Love Ruby, Actually? An Ode)
  7. Lucius (How To Know If An Element Is Visible In Viewport)

This week’s hot words

  • The Ear Cleaning Kits | Ear Cleaning kit
  • FIFINE | USB microphone
  • A good Software | another SaaS
  • Non-Fungible Token | A non-fungible token (NFT) is a digital representation of something with unique properties.

On startup

  • See how 100+ startups are running – MRR & Stats

    ↑ As a business owner, I can tell you this is next to useless. Hacker News Comment

  • Interviews with Indie Hackers

Other reading

  • Git is my buddy: Effective Git as a solo developer
  • Switch from LassPass to another password management tool:How to leave LastPass and move to another password manager
    • Export from LassPass:
      • Go to LastPass.com and sign in to your account.
      • Click on “Advanced Options” in the left-hand menu.
      • Click on “Export” and enter your Master Password if asked.
    • alternative
      • BITWARDEN: Instructions for importing from LastPass
      • KEEPASS: Instructions for importing CSV files
      • LOGMEONCE: Instructions for importing from LastPass
      • NORDPASS: Instructions for importing CSV files
      • 1PASSWORD: Instructions for importing from LastPass

Some important takeaways

  • Typora is very easy to use, especially with keyboard shortcuts for a smooth writing experience.

  • Linux | dig < domain > query the domain name system

  • Git | Git blame can see a file’s modification history

  • Communication | provide views and information to take into account each other’s position pain point

  • What communication | What: speak – > according to: Why and How: How to do