Skip to content

Instantly share code, notes, and snippets.

View vraravam's full-sized avatar

Vijay Aravamudhan vraravam

  • ThoughtWorks Inc.
  • Chennai, India
  • X @avijayr1
View GitHub Profile
@vraravam
vraravam / crontab
Last active October 21, 2025 03:24
cron job template
# Reference: https://crontab.guru/
# Note: 'chronic' is a utility installed using 'moreutils' from homebrew and is needed so that a successful run of any cron job does not cause a mail to get generated
# Env
SHELL=/opt/homebrew/bin/zsh
USERNAME=vijay
HOME="/Users/${USERNAME}"
DOTFILES_DIR="${HOME}/.dotfiles"
PERSONAL_PROFILES_DIR="${HOME}/personal/${USERNAME}/profiles"
@vraravam
vraravam / ssh config
Created May 30, 2025 00:41
Template for configuring ssh
# file location: ${HOME}/.ssh/config
# Note: To generate new ssh key (replace placeholders with your values):
# ssh-keygen -t ed25519 -a 100 -b 4096 -f ${HOME}/.ssh/id_ed25519-tw -q -N '' -C "XXXX@tw.com"
# ssh-keygen -t rsa -a 100 -b 4096 -f ${HOME}/.ssh/id_rsa-YYYY -q -N '' -C "YYYYY@gmail.com"
# TODO: This can be removed if the 'pushInsteadOf' setting is removed from the dotfiles repo
Host github.com
IdentityFile ${HOME}/.ssh/YYYYYY
@vraravam
vraravam / History|-1bc2dacd|entries.json
Last active December 30, 2025 06:13
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/vijay/Desktop/to-watch.txt","entries":[{"id":"Hh9A.txt","timestamp":1766989725186},{"id":"ptFk.txt","timestamp":1766989735986}]}
@vraravam
vraravam / .gitconfig-template.inc
Last active December 18, 2024 11:08
~/.gitconfig-template.inc
# file location: ${HOME}/.gitconfig-template.inc
[user]
name = <your-name>
email = <your-email>
# For more advanced usage using seamless url-rewriting (which mandates configuring ~/.ssh/config correctly), please see https://medium.com/@biradarav.100/manage-multiple-git-github-gitlab-accounts-efficiently-on-a-single-machine-2ecde70f522f
# [url "git@github-personal:"]
# insteadOf = git@github.com:
# insteadOf = https://github.com/