Skip to content

Instantly share code, notes, and snippets.

View AkshayRaj's full-sized avatar
🙂
Smile and the world smile with you

Akshayraj Kore AkshayRaj

🙂
Smile and the world smile with you
View GitHub Profile
@AkshayRaj
AkshayRaj / ValidParentheses.java
Last active February 14, 2021 02:14
ParenthesesString min number of operations. Also an exhibition of coding style.
public class ValidParentheses {
private static final Character OPEN = '(';
private static final Character CLOSED = ')';
/**
* This function calculates the minimum number of operations it would take, to make a
* string containing only parentheses - '(', ')' "valid".
*
@AkshayRaj
AkshayRaj / .zshrc
Last active October 19, 2020 23:16
UtilityFunctionsCLI
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=~/.oh-my-zsh
export workspace=~/development/workspace
export scripts=~/development/scripts/
export GIT_USER=akshayrajkore@gmail.com
# Set name of the theme to load. Optionally, if you set this to "random"
@AkshayRaj
AkshayRaj / colors.sh
Last active April 30, 2019 16:44
Utility Bash Scripts
#!/bin/bash
#### color codes
RESTORE=$(echo -en '\033[0m')
RED=$(echo -en '\033[00;31m')
GREEN=$(echo -en '\033[00;32m')
YELLOW=$(echo -en '\033[00;33m')
BLUE=$(echo -en '\033[00;34m')
MAGENTA=$(echo -en '\033[00;35m')
PURPLE=$(echo -en '\033[00;35m')