Skip to content

Instantly share code, notes, and snippets.

View shivam-deepsource's full-sized avatar
🏠
Working from home

Shivam Mishra shivam-deepsource

🏠
Working from home
View GitHub Profile
askInstall()
{
read -p "Do you wish to install $1 [Y/n]: " answer
answer=${answer:-Y}
if [[ "$answer" == [Yy] ]]; then
cd "$1" || return 1
echo -n "Installing $1: "
chmod a+x "$1"
cp "$1" /usr/local/bin > /dev/null 2>&1 || { echo "Failure"; echo "Error copying file, try running install script as sudo"; exit 1; }
---
user_message:
- Update AWS credential with Access and Secret key
- Update Workshop Credential with password used to login to Controller
controller_components:
- credentials
- inventory_sources
- job_templates
@shivam-deepsource
shivam-deepsource / example.ts
Created September 29, 2022 05:30
Example Terraform file
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.16"
}
}
required_version = ">= 1.2.0"
}
@shivam-deepsource
shivam-deepsource / statuspage.css
Last active September 5, 2022 08:04
CSS for DeepSource status page on betteruptime
:root {
--ink-50: #303540;
--ink-100: #2a2e37;
--ink-200: #23262e;
--ink-300: #16181d;
--ink-400: #121317;
--cherry: #da5565;
--vanilla-100: #ffffff;
--vanilla-200: #f5f5f5;
--vanilla-300: #eeeeee;

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example