Skip to content

Instantly share code, notes, and snippets.

# Server configuration
DRONE_SERVER_HOST=20.127.52.110
DRONE_SERVER_PROTO=http
DRONE_GITHUB_CLIENT_ID=338c882b16314d3d0419
DRONE_GITHUB_CLIENT_SECRET=42649d21480fb110745a5cf9ba87d6c30c5e252f
DRONE_RPC_SECRET=881960be55b0522dc6f9a2645828a85b
DRONE_TLS_AUTOCERT=false
DRONE_USER_CREATE=username:pavanbelagatti,admin:true
# Runners configuration
DRONE_RPC_HOST=20.127.52.110
@hrittikhere
hrittikhere / install.sh
Last active November 19, 2022 16:17
Pre Flight kubernetes (Ubuntu)
#!/bin/sh
# Update Base System
sudo apt update -y
sudo apt upgrade -y
# Install Docker
echo -e "\e[1;31m Installing Docker \e[0m"
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
@hrittikhere
hrittikhere / delete_namespace
Created October 2, 2021 14:10
Delete Terminating Namespace
kubectl get namespace "terminating-namespace" -o json \
| tr -d "\n" | sed "s/\"finalizers\": \[[^]]\+\]/\"finalizers\": []/" \
| kubectl replace --raw /api/v1/namespaces/terminating-namespace/finalize -f -
{
"landscape": [
{
"category": null,
"name": "Provisioning",
"subcategories": [
{
"subcategory": null,
"name": "Automation & Configuration",
"items": [
@hrittikhere
hrittikhere / vscode_remote
Created September 25, 2021 19:07
Gist to help you configure VSCode for Remote Connection via SSH
Host input_server
User input_id
HostName input_IP
IdentityFile input_path_of_key
@hrittikhere
hrittikhere / runcost.md
Last active January 18, 2022 05:37
running cost

Run a NGO for 6$ per year!

  1. DynamoDB for database
  2. Lambda / Vercel for backend
  3. Netlify / Vercel / Surge / Render for frontend
  4. S3 for file/image hosting
  5. Cloudinary for image hosting
  6. IFTTT to webhook for cron
  7. RedisLabs for queues, cache
  8. Figma for designing and prototyping
@hrittikhere
hrittikhere / SCMS.md
Created October 19, 2020 17:09 — forked from ria18405/SCMS.md
Social Currency Metric System