Skip to content

Instantly share code, notes, and snippets.

View DataCrusade1999's full-sized avatar
:octocat:
Focusing

Ashutosh Pandey DataCrusade1999

:octocat:
Focusing
View GitHub Profile
2025-03-03 10:59:22.2|Trace|CommandQueueManager|Updating command status
2025-03-03 10:59:22.4|Trace|EventAggregator|Publishing CommandUpdatedEvent
2025-03-03 10:59:22.4|Trace|EventAggregator|CommandUpdatedEvent -> CommandController
2025-03-03 10:59:22.4|Trace|EventAggregator|CommandUpdatedEvent <- CommandController
2025-03-03 10:59:22.4|Trace|EventAggregator|Publishing CommandExecutedEvent
2025-03-03 10:59:22.4|Trace|EventAggregator|CommandExecutedEvent -> TaskManager
2025-03-03 10:59:22.4|Trace|EventAggregator|CommandExecutedEvent <- TaskManager
2025-03-03 10:59:22.4|Trace|EventAggregator|CommandExecutedEvent -> TaskController
2025-03-03 10:59:22.4|Trace|EventAggregator|CommandExecutedEvent <- TaskController
2025-03-03 10:59:22.4|Trace|CommandExecutor|DeleteLogFilesCommand <- DeleteLogFilesService [00:00:00.2557811]
@DataCrusade1999
DataCrusade1999 / .vimrc
Last active February 6, 2023 08:08
My vim configuration I've used vim-plug as plugin manager
" Vim will load $VIMRUNTIME/defaults.vim if the user does not have a vimrc.
" This happens after /etc/vim/vimrc(.local) are loaded, so it will override
" any settings in these files.
" If you don't want that to happen, uncomment the below line to prevent
" defaults.vim from being loaded.
" let g:skip_defaults_vim = 1
" Uncomment the next line to make Vim more Vi-compatible
" NOTE: debian.vim sets 'nocompatible'. Setting 'compatible' changes numerous
" options, so any other options should be set AFTER setting 'compatible'.
@DataCrusade1999
DataCrusade1999 / npmcrashcourse.txt
Created December 12, 2020 09:54 — forked from bradtraversy/npmcrashcourse.txt
NPM Crash Course Commands
# GET VERSION
npm -v (or --version)
# GET HELP
npm help
npm
# CREATE PACKAGE.JSON
npm init
npm init -y (or --yes)
import matplotlib.pyplot as plt
import numpy as np
from matplotlib.animation import FuncAnimation
plt.style.use('fast')
var5 = []
var6 = []
AAPL_returns=daily_log_returns.iloc[:,0]
GS_returns=daily_log_returns.iloc[:,3]
return_data=pd.concat([AAPL_returns,GS_returns],axis=1)[1:]
X = sm.add_constant(return_data['AAPL'])
model = sm.OLS(return_data['GS'],X).fit()
print(model.summary())
@DataCrusade1999
DataCrusade1999 / Scatter_Matrix.py
Created August 25, 2020 13:17
Scatter Matrix of Different Stocks
pd.plotting.scatter_matrix(daily_pct_change,diagonal='kde',figsize=(15,15),alpha=0.1)
plt.show()
@DataCrusade1999
DataCrusade1999 / panda.py
Created July 29, 2020 14:51
Demo Panda
print(Zomato.sort_values(['Name','Cost'],ascending=[1,1]))
New_Zomato=Zomato.sort_values(['Name','Cost'],ascending=[1,1])
print(New_Zomato.reset_index())
print(New_Zomato.reset_index(drop=True))
print(Zomato)