Skip to content
View raveenb's full-sized avatar
:octocat:
Learning, Always!
:octocat:
Learning, Always!
Block or Report

Block or report raveenb

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this userโ€™s behavior. Learn more about reporting abuse.

Report abuse
raveenb/README.md

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on my second startup MakeMySummary
  • ๐ŸŒฑ Iโ€™m currently learning GPT-2/3, Abstractive Summarization, Creative Writing, Designing on Canva (awesome tool btw!)
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on AI, Productivity Tools
  • ๐Ÿค” Iโ€™m looking for help with SEM and Content Marketing
  • ๐Ÿ’ฌ Ask me about Startups, Techstars, Software Development, Python, AI/ML
  • ๐Ÿ“ซ How to reach me: raveen.b@gmail.com
  • ๐Ÿ˜„ Pronouns: he/him
  • โšก Fun fact: Hanlon's Razor amazing, and Flight, try SCE to Aux is beautiful!

Pinned

  1. SSH into Android SSH into Android
    1
    # Connecting to an Android device over SSH 
    2
    
                  
    3
    ## Initial Setup
    4
    Install Android App Termux from APKPure or AppStore. 
    5
    If the app exists, just delete and re-install it to get the latest version, 
  2. Run FastAPI inside Jupyter Run FastAPI inside Jupyter
    1
    # How to Run FastAPI inside Jupyter
    2
    
                  
    3
    - Ensure you have these installed and accessible from the notebook pyngrok, nest_asyncio, fastapi, uvicorn and other libs you want
    4
    ```
    5
    %pip install pyngrok nest_asyncio fastapi uvicorn loguru
  3. Avoiding SSH Connection Timeouts Avoiding SSH Connection Timeouts
    1
    SSH Connection Timeout
    2
    ---
    3
    - Most ssh login/shell connections to servers will timeout and you will have to login again and again. 
    4
    - To avoid these and keep the shell connection alive for longer, try these steps
    5
    - The steps were initially discussed here -> https://unix.stackexchange.com/questions/200239/how-can-i-keep-my-ssh-sessions-from-freezing
  4. Fix Oauth Issue for Flask+Traefik Fix Oauth Issue for Flask+Traefik
    1
    If you are using Oauth login/register on a Flask server and its is behind Traefik. You will need to do two things to fix the https and redirect issues. You may be getting errors indicating that the OAuth callback is not valid or is not https enabled. And the intersting part to note is that it will work fine when running on local host and straight up https, but fail when the app is behing a proxy/edege router/traffic multiplexer  like  Traefik or NGinx.
    2
    
                  
    3
    1. Do the Proxy fix to the wsgi app inside of the flask app. This is from the flask documentation itself https://flask.palletsprojects.com/en/1.1.x/deploying/wsgi-standalone/#deploying-proxy-setups
    4
    
                  
    5
    ```
  5. Flask JSON numpy Encoder to work wit... Flask JSON numpy Encoder to work with Flask when using Numpy and Timestamp data
    1
    import json
    2
    import numpy as np
    3
    from flask import jsonify
    4
    from datetime import datetime, timedelta
    5
    
                  
  6. graykode/gpt-2-Pytorch graykode/gpt-2-Pytorch Public

    Simple Text-Generator with OpenAI gpt-2 Pytorch Implementation

    Python 938 219