Giter Club home page Giter Club logo

Repo to jog my memory

doggy

Why?

- Not enough sleep or my memory is fading. This helps me keep track!

Projects that are WIP

- Working on a Python|Flask|MongoDB project that uses the nba_api package 
    - Which will be filtered to pull season data from the current season (https://pypi.org/project/nba_api/)
- Goal is to display stat data (graphs, plots, tables) 
    - In a way that helps sports prop bettors or enthusiasts look at the full picture of any players stats

Python | Pandas

df = pd.read_csv('<path/to/list')
print('\nData looks like this:\n', df.head(5))
## https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#timeseries-offset-aliases
current_time = pd.Timestamp.now(tz='US/Central').floor('s')
alert_time = pd.Timestamp.now(tz='US/Central') - pd.Timedelta('10 hours')
df['copy2_newcolumn'] = pd.to_datetime(slist['copy1'], unit='ms').dt.tz_localize('US/Central').dt.tz_convert(None)
df['foo'] = df.apply(lambda row: row['f'] + row['o'] + row['o'], axis=1)
df.drop(["f", "o", "o"], axis=1, inplace=True) # drop columns

PyMongo

client = pymongo.MongoClient(url)
db = client.<dbName>> 
collection = db.<collName> 
requesting = []

with open(r"../files/files.json") as f:
    for jsonObj in f:
        myDict = json.loads(jsonObj)
        requesting.append(InsertOne(myDict))

result = collection.bulk_write(requesting)
client.close()

Unix | Shell Bash |

DevOps | Terraform | Ansible

terraform init
terraform fmt
terraform validate
terraform plan -out=terraform.plan
terraform apply terraform.plan
terraform show
terraform state list
terraform destory

Splunk SPL

| tstats count where index=* sourcetype=* by _time span=1h index | timechart span=1h sum(count) by index limit=0 usenull=false

Kevin Y's Projects

datamirror icon datamirror

C# project that can view CSV documents quick and easy.

malware-ioc icon malware-ioc

Indicators of Compromises (IOC) of our various investigations

testapp_googlemapsapi icon testapp_googlemapsapi

Mobile App to allow users to create/store contact information and will show their location on Google Maps

winpwn icon winpwn

Automation for internal Windows Penetrationtest / AD-Security

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.