Skip to content

Instantly share code, notes, and snippets.

@dipenparmar12
dipenparmar12 / pyenv_quick_reference.md
Created December 8, 2025 05:37
Pyenv and UV comprehensive quick reference (Cheatsheet)

The Ultimate Pyenv Cheatsheet

A comprehensive quick reference guide for pyenv, the simple Python version manager. This cheatsheet is designed for both beginners and advanced users, covering everything from basic Python version management to advanced workflows and plugin usage.

Author: MiniMax AgentDate: 2025-11-19

1. Quick Start

Get up and running with pyenv in minutes.

@onlime
onlime / .eslintrc.js
Last active May 7, 2024 08:54
ESLint/Prettier config for Vue 3 in VS Code
module.exports = {
root: true,
env: {
browser: true,
node: true,
},
extends: [
'eslint:recommended',
'plugin:vue/vue3-recommended',
'prettier'
@dipenparmar12
dipenparmar12 / jsTypeValidate.js
Last active October 24, 2022 09:18
JavaScript type check
/*
* Type check
* */
const Assertion = {
isFunction(x) {
return Object.prototype.toString.call(x) === '[object Function]'
},
isString(x) {
return Object.prototype.toString.call(x) === '[object String]'
},
const winston = require('winston');
const { format } = require('winston');
const appRoot = require('app-root-path');
const config = require('./config');
const printf = (info) => {
if (typeof info.message === 'object') {
// eslint-disable-next-line no-param-reassign
info.message = JSON.stringify(info.message, null, 3);
}
@rahularity
rahularity / work-with-multiple-github-accounts.md
Last active December 29, 2025 11:48
How To Work With Multiple Github Accounts on your PC

How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.

NOTE: This logic can be extended to more than two accounts also. :)

The setup can be done in 5 easy steps:

Steps:

  • Step 1 : Create SSH keys for all accounts
  • Step 2 : Add SSH keys to SSH Agent
@dipenparmar12
dipenparmar12 / Postman_Installation.md
Last active April 19, 2025 15:08
Postman installation guide linux

How to install Postman on Linux (correct way)

Video Tutorial

1. Postman Download Link

Extract .tar.gz Files using Linux Command Line ...

@dipenparmar12
dipenparmar12 / 1. Install MySQL on Linux.md
Last active April 24, 2024 10:33
How To Install MySQL on Linux

How To Install MySQL on Linux

Video Tutorial

Update the system packages to the latest versions:

@dipenparmar12
dipenparmar12 / php_laravel_installation.md
Last active September 11, 2020 13:10
Install PHP & Laravel on Linux using Composer

How to Install PHP & Laravel on Linux using Composer.

Update the system packages to the latest versions:

sudo apt-add-repository ppa:ondrej/php

sudo apt update && sudo apt upgrade

Installing PHP

@Eseperio
Eseperio / all-file-extensions.json
Created July 16, 2019 09:50
List of all file extensions with description (listed on wikipedia) in JSON format.
{
"0": {
"descriptions": [
"Compressed harddisk data"
]
},
"1": {
"descriptions": [
"Fax",
"Roff/nroff/troff/groff source for manual page"
@wonderbeyond
wonderbeyond / vsc-settings.py
Created February 25, 2019 09:11
script to export vsc settings
#!/usr/bin/env python3
from os import path
import tempfile
import subprocess
import datetime as dt
import click
@click.group()
def cli():