Skip to content

Instantly share code, notes, and snippets.

View maze-runnar's full-sized avatar
🤞
your shadows know me

Sundaram Dubey maze-runnar

🤞
your shadows know me
  • Swiggy
View GitHub Profile
During the period of the codeheat i priorily worked on the open-event project.
But i was also involved in SUSI.AI and Badgeyay. This was the great learning experience.
The mentors were very supportive during this period. I started contribution in late october and start understanding the
depth of a project ,a real project, Rather than a school project. I knew during this period that writing correct code is
not optimal every time because there are 100 of ways to write a code for a work, but what makes yours special is the
efficiency. Here are pullrequests opened by me in open-event-frontend :
Merged and closed pull requests :-
fossasia/open-event-frontend enh: speaker image is showing properly in mobile

Sundaram Dubey | @maze-runnar | Codeheat - 2019

Overview:

I am Sundaram Dubey, Pre-final year CSE undergraduate at HBTU, Kanpur.
My main goal of this period was to focus on making the Eventyay platform more stable for new users.
I also contributed to badgeyay and in fossasia.org website in period of codeheat-2019.

Notable Work during code-heat :

  • Introducing cropper in eventyay for speaker and session form
  • Improving quality of image before sending to server
  • Making the CFS & Session/Speakers Form bug free.
  • Linkedin was not showing on speakers info
@maze-runnar
maze-runnar / media-query.css
Created March 11, 2020 07:41 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
import requests
from flask import Flask, request,render_template
import sys
import nltk
import sklearn
import pandas
import numpy
import pandas as pd
import numpy as np
from sklearn.preprocessing import LabelEncoder
<html>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<! - - - Include the above in your HEAD tag - - - - →
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
<div class="container">
<style>
from sklearn import svmprediction = clf.classify_many(my_msg) ## make your prediction here
from joblib import dump, load
## loading the model
clf = load('/home/saurabh/Desktop/smsspamcollection/frontend/model1.joblib')
@app.route('/', methods = ["GET","POST"])
def index():
if(request.method == "POST"):
#city = request.form['city']
text_msg = request.form['sms']
my_msg = find_features(text_msg)
import requests
from flask import Flask, request,render_template
import sys
app = Flask(__name__)
app.config['DEBUG'] = True
// Your view goes here
if __name__ == "__main__":
app.run(debug = True)
from joblib import load, dump
#dump your model
model1 = dump(your_model_name)
## loading the joblib model
clf = load('/home/saurabh/Desktop/smsspamcollection/frontend/model1.joblib')
from joblib import dump , load
## dump your model
model1 = dump(your_mode_name)
#load your model
clf = load('model1.joblib')
@maze-runnar
maze-runnar / gitcom.md
Created July 2, 2020 16:10 — forked from jednano/gitcom.md
Common git commands in a day-to-day workflow

Git Cheat Sheet

Initial Setup

Create an empty git repo or reinitialize an existing one

git init