Skip to content

Instantly share code, notes, and snippets.

View soumyajyotih's full-sized avatar

Soumyajyoti Haldar soumyajyotih

View GitHub Profile
@soumyajyotih
soumyajyotih / iterm2kitty.py
Created June 16, 2024 12:42 — forked from unglitched/iterm2kitty.py
Convert .itermcolors file to kitty term theme colors
#!/usr/bin/env python3
#
# Convert .itermcolors files to kitty terminal color settings.
# Modded from https://gist.github.com/MSylvia/4e90860743f1a4de187d
# Might need to adjust dicts[i][NUMBER].text per your file.
import sys
import xml.etree.ElementTree as ET
def rgb_to_hex(rgb):
@soumyajyotih
soumyajyotih / Docker_p4v.md
Created July 28, 2021 07:24 — forked from Chengcheng-Xiao/Docker_p4v.md
Use Docker to run p4vasp

Using Docker to run p4vasp on Mac

Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers.

Basically, Docker container is a slim version of a virtual machine. With docker, we can run application that can not usually run on Mac.

Since compiling p4vasp on Mac has gradually became a pain in the a** and apple has decided to go ARM. I decided that using docker container is probably easier to both run and manage it.

@soumyajyotih
soumyajyotih / alias.plugin.zsh
Created August 29, 2020 22:40 — forked from thbe/alias.plugin.zsh
Local custom plugins
# Custom plugin for zsh
#
# Common aliases
#
# Author: Thomas Bendler <code@thbe.org>
# Date: Wed Jan 1 23:54:03 CET 2020
#
### Command enhancements aliases ###
alias ls='ls -GFh' # Preferred 'ls' implementation
@soumyajyotih
soumyajyotih / .p10k.zsh
Created August 29, 2020 22:39 — forked from thbe/.p10k.zsh
Enhance your macOS terminal - p10k
# p10k.zsh configuration file
#
# Author: Thomas Bendler <code@thbe.org>
# Date: Sun Jan 12 17:54:00 CET 2020
#
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 551.
# For more information see https://github.com/romkatv/powerlevel10k
#
# Apply configiguration changes without restarting zsh.
# Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`.
@soumyajyotih
soumyajyotih / update_git_repos.sh
Last active May 31, 2019 12:16 — forked from douglas/update_git_repos.sh
Update all git repositories under a base directory
#!/bin/bash
# store the current dir
CUR_DIR=$(pwd)
# Let the person running the script know what's going on.
echo -e "\n\033[1mPulling in latest changes for all repositories...\033[0m\n"
# Find all git repositories and update it to the master latest revision
for i in $(find . -name ".git" -type d | cut -c 3-); do
@soumyajyotih
soumyajyotih / Microsoft Office 2019 RTM GVLK Keys
Created October 30, 2018 10:38
Microsoft Office 2019 RTM default #GVLK (Generic Volume License Key)
GVLKs for KMS and Active Directory-based activation of Office 2019 and Office 2016
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
By default, volume licensed versions of Office 2019 and Office 2016 are installed with a Generic Volume License Key (GVLK).
The GVLK enables Office to automatically discover and activate against your KMS host computer or Active Directory infrastructure.
Important
These license keys can't be used to activate your personal copy of Office.
@soumyajyotih
soumyajyotih / README.MD
Created October 30, 2018 05:19 — forked from giordanocardillo/README.MD
Remove Office 2016 Product Key
  1. Open a command prompt as Administrator
  2. In the command prompt, type the following:
  • Office 2016 (32-bit) on a 32-bit version of Windows

    cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus

  • Office 2016 (32-bit) on a 64-bit version of Windows

    cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus

  • Office 2016 (64-bit) on a 64-bit version of Windows

@soumyajyotih
soumyajyotih / cv.tex
Created June 10, 2018 16:26 — forked from marsam/cv.tex
\documentclass[a4paper,10pt]{article}
%A Few Useful Packages
\usepackage{marvosym}
\usepackage{fontspec} %for loading fonts
\usepackage{xunicode,xltxtra,url,parskip} %other packages for formatting
\RequirePackage{color,graphicx}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[big]{layaureo} %better formatting of the A4 page
% an alternative to Layaureo can be ** \usepackage{fullpage} **