type AsProp<C extends React.ElementType> = {
as?: C
}
type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P)
/**
In this gist you can find some information on how to write a Terraform code to deploy a MongoDB Atlas project, user and cluster.
This content was inpired by two great talks. I've put the links for them in References section.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You only need to install xorg and lightdm if you have installed Ubuntu Minimal. | |
If you installed a regullar Ubuntu desktop, just skip to the i3-gaps section. | |
xorg | |
==== | |
# Xorg provides a base for a graphical environment | |
sudo apt install xorg | |
lightdm |
Prereq:
apt-get install zsh
apt-get install git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param( | |
[switch]$autoclear | |
) | |
$options = @{} | |
$options.Add('next', "Next step") | |
$options.Add('prev', "Previous step") | |
$options.Add('reset', "Reset the current changes") | |
$options.Add('rebase', "Rebase all steps that follow the current") |