This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ = ( | |
255, | |
lambda | |
V ,B,c | |
:c and Y(V*V+B,B, c | |
-1)if(abs(V)<6)else | |
( 2+c-4*abs(V)**-0.4)/i | |
) ;v, x=1500,1000;C=range(v*x | |
);import struct;P=struct.pack;M,\ | |
j ='<QIIHHHH',open('M.bmp','wb').write |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ---------------------------------------------------------------------------- | |
" vimawesome.com | |
" ---------------------------------------------------------------------------- | |
function! VimAwesomeComplete() abort | |
let prefix = matchstr(strpart(getline('.'), 0, col('.') - 1), '[.a-zA-Z0-9_/-]*$') | |
echohl WarningMsg | |
echo 'Downloading plugin list from VimAwesome' | |
echohl None | |
ruby << EOF | |
require 'json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parse_git_branch () | |
{ | |
local GITDIR=`git rev-parse --show-toplevel 2>&1` # Get root directory of git repo | |
if [[ "$GITDIR" != '/Users/shreyas' ]] # Don't show status of home directory repo | |
then | |
# Figure out the current branch, wrap in brackets and return it | |
local BRANCH=`git branch 2>/dev/null | sed -n '/^\*/s/^\* //p'` | |
if [ -n "$BRANCH" ]; then | |
echo -e "[$BRANCH]" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In powershell | |
set-executionpolicy remotesigned | |
In download color theme folder | |
.\Install-ConEmuTheme.ps1 -ConfigPath D:\cmder\config\ConEmu.xml -Operation Add -ThemePathOrName themes\oceans16-dark.xml |