Skip to content

Instantly share code, notes, and snippets.

View rajibmitra's full-sized avatar
💥
may the force be with you!

rajib rajibmitra

💥
may the force be with you!
View GitHub Profile
@rajibmitra
rajibmitra / vagrant-vmware-tech-preview-apple-m1-pro.md
Created December 8, 2022 19:40 — forked from sbailliez/vagrant-vmware-tech-preview-apple-m1-pro.md
Vagrant and VMWare Tech Preview 21H1 on Apple M1 Pro

Vagrant and VMWare Tech Preview 21H1 on Apple M1 Pro

UPDATE November 20, 2022: VMWare Fusion 13

VMWare Fusion 13 is now released. Read Vagrant and VMWare Fusion 13 Player on Apple M1 Pro for the latest.

Summary

This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated

@rajibmitra
rajibmitra / genpwd.sh
Created July 27, 2023 11:07
genpwd.sh
#!/usr/bin/env bash
set -Eeuo pipefail
# Function to generate a random string
generate_random_string() {
length="$1"
if [ -x "$(command -v openssl)" ]; then
openssl rand -base64 "$length" | tr -d '/+='
elif [ -x "$(command -v head)" ]; then
head /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | head -c "$length"
@rajibmitra
rajibmitra / settings.json
Created January 2, 2024 19:52 — forked from ixahmedxi/settings.json
My settings.json
{
"workbench.startupEditor": "none",
"workbench.iconTheme": "moxer-icons",
"workbench.colorTheme": "Aura Dark",
"workbench.settings.editor": "json",
"breadcrumbs.enabled": false,
"explorer.compactFolders": false,
"editor.wordWrap": "bounded",
"editor.tabSize": 2,
"editor.inlineSuggest.enabled": true,