Skip to content

Instantly share code, notes, and snippets.

View Tiffceet's full-sized avatar

Tiffceet

  • Malaysia
View GitHub Profile
@Tiffceet
Tiffceet / Dockerfile
Last active July 3, 2025 02:41
GCP ubuntu22 cloud oss
FROM ubuntu:22.04
RUN yes | unminimize
# Install essentials
RUN apt update
RUN apt install -y openssh-client openssh-server ca-certificates curl sudo vim
# Install docker
RUN install -m 0755 -d /etc/apt/keyrings
#Requires AutoHotkey v2.0
#y::
{
X := 1090
Y := 543
; Color := PixelGetColor(X, Y)
; MouseMove X, Y
; MsgBox Color
hit := true
Loop
  1. Install mongo
  2. Setup replica set
replication:
  replSetName: "rs0"
  1. Initiate replica set
rs.initiate(
  {