- After install / launch, press Shift+F10(+fn on a Mac VM) to open the command prompt
- Enter
start ms-cxh:localonlyin the che command prompt, and press return. - Complete the local user setup (you may need to scroll, depnding on screen size)
An experiment to see if it was possible to work without a tool like nerd tree.
" Make netrw like nerdtree https://shapeshed.com/vim-netrw/
let g:netrw_banner = 0
let g:netrw_liststyle = 3
let g:netrw_browse_split = 4
let g:netrw_altv = 1
let g:netrw_winsize = 10
augroup ProjectDrawer
shellcheck is an invaluable tool for validating shell (typically Bash) scripts. When working with a codified CI
environment like AWS's CodeBuild, the shell script is defined inside a YAML list (YAML sequence). You can still
run shellcheck, by parsing the YAML file with a tool like yq and piping the output to shellcheck:
yq '.phases.build.commands[]' < buildspec.yaml | shellcheck -
Note: shellcheck assumes that everything is a single file, which would execute consecutively in the same
shell, but CodeBuild executes each string (line) in a new shell, copying exports only. So things like set
This topic has been discussed at length before, with different solutions1, but it still seems difficult re-assuring engineers that it's possible and safe to use secret environment variables during docker builds. It seems hotly debated if secrets should ever be in environment variables, with some saying all config goes in env2 and others doing their best to make it hard for people to use environment variables3.
Let's step through an example of how to use Docker secrets to create secure environment variables for npm during a Dockerfile build:
This example copies in a npm package.json and package-lock.json file, for use with npm ci
Note: The backslash in the echo command allows echo to write the envir
| #!/usr/bin/env python | |
| ## Decodes NTLM "Authenticate" HTTP-Header blobs. | |
| ## Reads the raw blob from stdin; prints out the contained metadata. | |
| ## Supports (auto-detects) Type 1, Type 2, and Type 3 messages. | |
| ## Based on the excellent protocol description from: | |
| ## <http://davenport.sourceforge.net/ntlm.html> | |
| ## with additional detail subsequently added from the official protocol spec: | |
| ## <http://msdn.microsoft.com/en-us/library/cc236621.aspx> | |
| ## |
- When running Kubuntu with Chromium installed via snap, I noticed that text
white spacing was very wide. - This will cause website to render wrong, clipping text off page, moving other DOM objects, and generally being hard to read.
- Chrominum fonts settings show it's set to "Custom" fonts
- TrueType fonts (Times New Roman, etc) appear to be missing
| This is my permanent list of things to carry during complete isolation on | |
| trails like the Rubicon. Places like Pismo and OHV parks; I usually pack | |
| lighter since it's easier to get to the road and onto a tow truck, compared to | |
| when I'm in isolation. | |
| I've relied on the bare essentials in the past but it's obvious that I need to | |
| carry more now that I'm driving further off road. So to that extent I'm buying | |
| more tools so I don't have to keep moving mine back and forth from my garage. | |
| ### Tools for toolbox / bag ### |
| # Check the usually suspects before you resize | |
| df -h # Show file systems and their current space | |
| lsblk # show block devices and file systems (do this again after resizing the EBS volume) | |
| sudo pvscan # show physical drives | |
| sudo lvscan # show logical volumes | |
| # Now after you have resized the EBS volumes (you can do this in the console or CLI), the two magic commands: | |
| sudo pvresize </dev/DEVICE> # Resize physical volume(s) | |
| sudo lvextend -r -l +100%FREE <LogicalVolume[Path]> |
| OpsWorks stack RGB color value reference, with closest possible english names that I could think of. | |
| For use in CLI or other non GUI tools like Terraform. | |
| Cosmic Purple : rgb(135, 61, 98) | |
| Purple: rgb(111, 86, 163) | |
| Blue: rgb(45, 114, 184) | |
| Teal: rgb(38, 146, 168) | |
| Green: rgb(57, 131, 94) | |
| Olive Drab: rgb(100, 131, 57) | |
| Mustard yellow (golden): rgb(184, 133, 46) |