Skip to content

Instantly share code, notes, and snippets.

View dubeyji10's full-sized avatar
💭
Cogito, ergo sum

Abhishek Dubey dubeyji10

💭
Cogito, ergo sum
View GitHub Profile
@dubeyji10
dubeyji10 / paint.py
Created August 14, 2020 16:37 — forked from nikhilkumarsingh/paint.py
A simple paint application using tkinter in Python 3
from tkinter import *
from tkinter.colorchooser import askcolor
class Paint(object):
DEFAULT_PEN_SIZE = 5.0
DEFAULT_COLOR = 'black'
def __init__(self):
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dubeyji10
dubeyji10 / index_gita_in_es.ipynb
Created June 18, 2022 06:52 — forked from achinta/index_gita_in_es.ipynb
Elastic Search functions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dubeyji10
dubeyji10 / regex.py
Created June 22, 2022 06:58 — forked from MishraKhushbu/regex.py
Regular expression
,Regex summary and examples
. - any charcter except newline
\d - Digit(0-9)
\D - Not a digit(0-9)
\w - word charcter(a-z, A-Z,0-9,_)
\W- not a word charcter
\s - whitespace(space , tab, newline)
\S - not a whitespace(space , tab , newline)
@dubeyji10
dubeyji10 / 00 - Table of Contents.md
Created July 8, 2022 13:14 — forked from amelieykw/00 - Table of Contents.md
[Django - Forms] #forms #django #GET # POST
  • Working with forms
    • HTML forms
      • GET and POST
    • Django’s role in forms
    • Forms in Django
      • The Django Form class
      • Instantiating, processing, and rendering forms
    • Building a form
      • The work that needs to be done
  • Building a form in Django
@dubeyji10
dubeyji10 / sql-mongo_comparison.md
Created July 31, 2022 04:40 — forked from aponxi/sql-mongo_comparison.md
MongoDb Cheat Sheets

SQL to MongoDB Mapping Chart

SQL to MongoDB Mapping Chart

In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.

Executables

The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.

@dubeyji10
dubeyji10 / index.html
Created August 6, 2022 10:54 — forked from gaearon/index.html
Add React in One Minute
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Add React in One Minute</title>
</head>
<body>
<h2>Add React in One Minute</h2>
<p>This page demonstrates using React with no build tooling.</p>
@dubeyji10
dubeyji10 / Linux_Administrator_Daily_Tasks
Created August 18, 2022 13:49 — forked from githubfoam/Linux_Administrator_Daily_Tasks
Linux_Administrator_Daily_Tasks
------------------------------------------------------------------------------------------
#CLI shortcut keystrokes(linux&MAC)
Ctrl+L: Clear the screen. This is similar to running the “clear” command.
Ctrl+C: Interrupt (kill) the current foreground process running in in the terminal. This sends the SIGINT signal to the process
Ctrl+Z: Suspend the current foreground process running in bash. This sends the SIGTSTP signal to the process. To return the process to the foreground later, use the fg process_name command.
Ctrl+D: Close the bash shell.This is similar to running the exit command
Ctrl+L: Clear the screen. This is similar to running the “clear” command.
Ctrl+S: Stop all output to the screen. This is particularly useful when running commands with a lot of long, verbose output, but you don’t want to stop the command itself with Ctrl+C.
Ctrl+Q: Resume output to the screen after stopping it with Ctrl+S.
@dubeyji10
dubeyji10 / df_flexi_query.py
Created October 4, 2022 14:52 — forked from asehmi/df_flexi_query.py
Flexible data filtering UI with declarative query builder [Streamlit, Pandas]
import streamlit as st
import pandas as pd
st.header('Flexible Data Filtering UI')
data = [
{
'name':'name1',
'nickname':'nickname1',
'date':2010,