Skip to content

Instantly share code, notes, and snippets.

View DavidHe1127's full-sized avatar
♥️
AWS/Azure things

David He DavidHe1127

♥️
AWS/Azure things
  • CLOUDWISE CONSULTING
View GitHub Profile
@DavidHe1127
DavidHe1127 / k9s.txt
Created December 14, 2023 00:31 — forked from BigNerd/k9s.txt
K9s column descriptions
View: Pods(<namespace>)[number of pods listed]
NAME pod name
READY number of pods in ready state / number of pods to be in ready state
RESTARTS number of times the pod has been restarted so far
STATUS state of the pod life cycle, such as Running | ... | Completed
CPU current CPU usage, unit is milli-vCPU
MEM current main memory usage, unit is MiB
%CPU/R current CPU usage as a percentage of what has been requested by the pod
%MEM/R current main memory usage as a percentage of what has been requested by the pod
ink,link,pink,sink,rink,wink
ship,shoe,shout,shrug,shriek
lick,sick,pick,kick,flick
station,fiction,action,caution,motion
movement,basement,pigment
@DavidHe1127
DavidHe1127 / aws-ebs-ec2-howtos.md
Created July 22, 2020 09:25 — forked from holmberd/aws-ebs-ec2-howtos.md
Attaching and Mounting EBS Volume to an EC2 Instance

Attaching and Mounting EBS Volume to EC2 Instance

Create

  • Create new EBS Volume in the correct Availability Zone
  • Attach new EBS Volume to EC2 Instance

Mount

  • Check filesystem type (ext4) sudo file -s /dev/xvd*
  • Find new disk sudo fdisk -l
  • Create filesystem sudo mkfs -t ext4 /dev/xvdf
@DavidHe1127
DavidHe1127 / vim.md
Last active May 25, 2017 11:44
Vim common commands
@DavidHe1127
DavidHe1127 / config_tips_on_win.md
Last active May 31, 2018 12:36
Dev environment configurations and tooling

I highly discourage people to use windows for JS-based dev!!! DO NOT ASK ME WHY!

  • Add binary (i.e SublimeText) to system $PATH

  • Use SharpKeys to swap out win and ctrl

  • Use cmder for terminal

  • To enable ctrl+pgdown and ctrl+pgup for swithcing to next/previous tab, go to settings-Keys &amp; Macros-Switch next/previous console