Skip to content

Instantly share code, notes, and snippets.

View nxvipin's full-sized avatar
👨‍💻

Vipin Nair nxvipin

👨‍💻
View GitHub Profile
@nxvipin
nxvipin / Duplicate UUIDs.md
Created December 14, 2022 21:00
Duplicate UUIDs
(["B7139A2A-0DAC-4FC5-93F8-0DE072F9E7A3"
  [["kevin.wilson@mistrasgroup.com"
    ("530a0f73-fbf9-4d7b-80bc-299dc095523d"
     "31b84b2b-b263-4ece-aab3-1d4b7140cf5b")]]]
 ["4880599C-B96E-4675-B666-0FA18D9B313C"
  [["jason.turner@leggett.com"
    ("51d1c370-9b26-4e7b-8647-ec7da6fccca7"
     "d8deed8c-5335-4199-b5d6-5e5ae1d00403")]]]
 ["6FB8C309-F2FE-4836-A848-24A5CDCE8EFF"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
export PATH="/opt/homebrew/bin:$PATH"' >> ~/.zshrc
brew install --cask keepassxc
brew install --cask emacs
brew install --cask rectangle
brew install --cask insomnia
brew install --cask docker
brew install --cask meetingbar
@nxvipin
nxvipin / Wordle.md
Last active April 13, 2022 07:21
Wordle
Wordle 298 3/6

⬛⬛⬛⬛⬛
⬛⬛🟩🟩🟩
🟩🟩🟩🟩🟩
Wordle 294 3/6
upstream p1 {
server foo.com;
}
upstream p2 {
server bar.com;
}
# Select upstream based on the value of query parameter `product`
@nxvipin
nxvipin / num.py
Created September 24, 2012 11:38
Some numerical methods in python.
"""
Bisection, Secant & Newton Raphson Method.
"""
import math
"""
* Variable Description:
*
* f : Given function
* f_ : Derivative of f
@nxvipin
nxvipin / imagegrid.py
Created May 14, 2012 08:45
Image grid generation similar to twilk.com
#Copyright (c) 2012 Vipin Nair <swvist@gmail.com>
#Permission is hereby granted, free of charge, to any person obtaining a copy of
#this software and associated documentation files (the "Software"), to deal in
#the Software without restriction, including without limitation the rights to
#use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
#of the Software, and to permit persons to whom the Software is furnished to do
#so, subject to the following conditions:
#The above copyright notice and this permission notice shall be included in all
@nxvipin
nxvipin / factorial.erl
Created September 13, 2012 15:37
Naive Parallel Factorial
% Naive Parallel Factorial
% The second line defines the number of processes that will be spawned.
% Modify the number to control the task distribution.
-module(factorial).
-define(PROC, 4).
-export([sub_factorial/2, sub_factorial/3]).
-export([calculate/1, calculate/2]).
sub_factorial(V, N, PID) ->

Keybase proof

I hereby claim:

  • I am swvist on github.
  • I am swvist (https://keybase.io/swvist) on keybase.
  • I have a public key whose fingerprint is B47F 59DE 3D01 7E58 87F2 01EE 401A C579 AFAA 31CF

To claim this, I am signing this object: