Skip to content

Instantly share code, notes, and snippets.

View vikramsoni2's full-sized avatar

Vikram vikramsoni2

View GitHub Profile
@vikramsoni2
vikramsoni2 / uppyStore.js
Created May 12, 2024 01:16
Pinia Store for uppy js for keeping track of file upload state
import { defineStore } from 'pinia';
export const useUppyStore = defineStore({
id: 'uppyStore',
state: () => ({
state: {}
}),
actions: {
@vikramsoni2
vikramsoni2 / .syncservice.conf
Last active April 10, 2025 17:03
WSL projects folder backup to onedrive
# Sync configuration
SOURCE_DIR="/home/ubuntu/projects"
DEST_DIR="/mnt/c/Users/vsoni/OneDrive - Path"
# Exclude patterns (matching any folder name or path)
EXCLUDE_PATTERNS=(
"baxicore"
"node_modules"
".git"
"venv"