- To create ssh secret:
oc create secret generic sshsecret \
--from-file=ssh-privatekey=$HOME/.ssh/id_rsa
<div id="errors" style=" | |
background: #c00; | |
color: #fff; | |
display: none; | |
margin: -20px -20px 20px; | |
padding: 20px; | |
white-space: pre-wrap; | |
"></div> | |
<div id="root"></div> | |
<script> |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
"Vim configuration file | |
" Enable moouse support | |
set mouse=a | |
" Enable syntax | |
syntax on | |
" Enable line numbers | |
set number |
sudo apt-get update; sudo apt-get install --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev checkinstall libncursesw5-dev libgdbm-dev libc6-dev
curl https://pyenv.run | bash # https://github.com/pyenv/pyenv#automatic-installer
After a Windows reset, certain folders may retain permissions from non-existing accounts, leading to "Permission denied" errors. This Gist provides commands to take ownership, grant full permissions, and remove a specific folder on drive to resolve the issue.
# Take ownership and grant full permissions
takeown /F D:\Foldername p /R /A
icacls D:\Foldername /grant "YourUserName":(F) /T
# Remove the folder and its contents