User:Maffblaster/Notes and quotes

From Gentoo Wiki
Jump to:navigation Jump to:search

Often times Gentoo developers and members of the community have helped me in big ways. They've provided advice, training, solutions, technical expertise, guidelines, ideas, testing, etc. This article is dedicated to mentioning times when I've personally received help from those kind and helpful souls in the Gentoo community.

Version control

To quickly undo the most recent commit and push to the remote. Replace <commit_hash with the hash of the commit to be reverted:

user $git revert --no-edit -s -S <commit_hash> && git push

Check network interface speed

Network interface speed (without installing extra software such as ethtool). Replace <interface_name> with the name of the network interface:

user $cat /sys/class/net/<interface_name>/speed


Portage 'global updates' legend

Performing Global Updates
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
  s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
  p='update /etc/portage/package.*'


In reference to asking where the /lib/cpp file originates on my system:

@jcallen_ it's created by gcc-config because at one time at least one standard required that the c preprocessor (if installed) be available at exactly "/lib/cpp"

Data loss

For stager:

Three things are certain: Death, taxes, and lost data. Guess which has occurred...

- Tlhonmey

Schofield's Three Laws of Computing

Schofield's Three Laws of Computing state:

  1. You should never put data into a program unless you can see exactly how to get it out.
  2. Data doesn't really exist unless you have at least two copies of it.
  3. The easier it is for you to access your data, the easier it is for someone else to access your data.


Ideas from the book Atomic Habits:

Chapter 1

  • Habits are the compound interest of self-improvement.
  • Create systems, don't set goals. If you want better results, then forget about setting goals. Focus on the systems you've created instead.
  • You do not rise to the level of your goals; you fall to the level of your systems.

Chapter 2

  • Start doing (becoming) and eventually you will become.
  • The formation of all habits is a feedback loop. The focus should be not on what you what to obtain, but what you want to become.

Chapter 3

  • A habit is a behavior that has been repeated enough times to become automatic.