Skip to content

Instantly share code, notes, and snippets.

5/12/20

it's a waste of time to focus o what you don't have, or could have done better. what is in your control is making the most of what you have today, and taking the steps to create the future that you want and deserve. if you are able to face the future without fear -- if you can face it with the strength and conviction that you can handle whatever comes your way --- your future will indeed be bright.

5/14/20

老中还是要多学习business impact, 一个活你得转化成领导kpi上的一个数字一个图, 你tmd一堆术语老板完全不关心,就问你值多少钱把

whats the difference between a mesh system and using a router as a repeater

@gengwg
gengwg / ansible-summary.md
Created February 14, 2020 01:17 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@gengwg
gengwg / mac_python.md
Last active January 17, 2020 19:54
Brew install python on Mac

Brew install python

MacOS 10.15.2 (19C57)

$   brew link --overwrite --dry-run python
Would remove:
/usr/local/bin/python3 -> /opt/homebrew/bin/python3
$   brew link --overwrite  python
Linking /usr/local/Cellar/python/3.7.6_1... 24 symlinks created

Turns out for Protonmail there is no limit on how much email you can receive. The 150/day limit is for sending emails, not receiving. I think it's enough for general usage. I will gradually transit some communications to PM.

Only thing is the 500MB storage limit. But for now I got the habit of delete every email I read except important ones. Emails with large attachments can also be downloaded and deleted. So it should work for at least a few years of time. Maybe after a few years they will increase the storage!

pm

  • took pictures of all NICSN of PDUs in SFO102 (1/6)
  • took pictures of all NICMAC of PDUs in SFO102 (1/6)
  • Check temp sensors in SFO 102; took pictures: T59220452
  • request accesses to both building and server room in SFO102
  • T59413410 - CG Infra Incident - Two dgx1 nodes are reporting only 7 GPUs via nvidia-smi, not 8 as expected.
    • Saw errors on the two DGXs:
  • @mentions, #refs, links, formatting, and tags supported
@gengwg
gengwg / ergo.md
Last active April 18, 2020 00:22
  • wear braces only at night while asleep

    • helps straighten wrist
  • leaning foward puts too much pressure on wrist.

  • put monitor closer or make font larger so that no learn forward

  • pad on left; vertical mouse on right. use pad for scrolling, two finger; use mouse for more precision pointing.

  • move arms instead of wrist sometimes so that not only wrist stresses.

gengwg@example:~/nc$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2019-11-23 16:52:45 PST; 6min ago
Docs: man:bluetoothd(8)
Main PID: 20081 (bluetoothd)
Status: "Running"
Tasks: 1
CGroup: /system.slice/bluetooth.service
└─20081 /usr/libexec/bluetooth/bluetoothd
@gengwg
gengwg / install_mosh.md
Last active March 28, 2021 18:37
install mosh on raspberry pi

On Server

sudo apt install mosh
sudo ufw allow from 192.168.1.0/24 to any port 60000:61000 proto udp

On Client

Just got my laptop today. It is AMAZING. totally exceeds my expectation for sub-200 dollar. I was a little worried because it's so cheap, but now never regret.

  • build quality. it's metal all over. really sleek. feels good. much better than my 600 lenovo plastic one.

  • type-C charging.

  • HDMI

  • 1080p display is great. Not IPS but good enough for watching youtube. Hint: turn the scale to 125%. otherwise font seems too small for me. I may give it to parent. if so I will change it to 150%.

  • micro sd card reader is awesome! I don't have to find an adapter all the time. And can extend the storage to 512 GB if I want. (Just wait for a micro sd card deal!)

@gengwg
gengwg / github_private_email.md
Created October 10, 2019 03:44
remote: error: GH007: Your push would publish a private email address.
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 4 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 681 bytes | 681.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: error: GH007: Your push would publish a private email address.
remote: You can make your email public or disable this protection by visiting:
remote: http://github.com/settings/emails