Skip to content

Instantly share code, notes, and snippets.

View yogesh-aggarwal's full-sized avatar

Yogesh Aggarwal yogesh-aggarwal

View GitHub Profile
---
AccessModifierOffset: "-3"
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: false
0
# Variables (Change to Alter the Environment)
BROWSER="firefox"
IS_INSTALL_VSCODE=true
VSCODE_URL="https://az764295.vo.msecnd.net/stable/622cb03f7e070a9670c94bae1a45d78d7181fbd4/code_1.53.2-1613044664_amd64.deb"
# CONSTANT Variables
KERNEL_VERSION=$(uname -r)
TEMP_DIR=".temp_setup"
VSCODE_FILE_NAME="code.deb"
readonly KERNEL_VERSION TEMPDIR VSCODE_FILE_NAME
@yogesh-aggarwal
yogesh-aggarwal / cloudSettings
Last active February 18, 2021 05:58
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-02-18T05:58:20.255Z","extensionVersion":"v3.4.3"}
@yogesh-aggarwal
yogesh-aggarwal / material.module.ts
Last active July 18, 2020 06:27
Import all the angular-material components.
// IMPORT ALL MATERIAL COMPONENTS
// #STEPS
// 1- Import this file as module in app.module.ts ==> import { MaterialModule } from './xyz/abc';
// 2- Initialize it in imports:[] array ==> imports:[MaterialModule]
import { NgModule } from '@angular/core';
// *************** FORM CONTROLS ***************
import { MatAutocompleteModule } from '@angular/material/autocomplete';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatDatepickerModule } from '@angular/material/datepicker';
// ElectronJS basic window
import { app, BrowserWindow } from "electron";
let win: BrowserWindow;
function loadWindow() {
win = new BrowserWindow({
width: 1080,
height: 760,
"""
Hotel management system
"""
import time
import datetime
foodChoice = {}
activityChoice = {}
serviceCharge = 100
"""
Employee Management System
Name: Nishika | Saloni
Class: XII-B
Roll no: "I don't know"
"""
filename = "emp.txt"
seperator = "="*60
"""
CMS: Content Management System
Manages content specifically for a blogging website which have many posts & requires to update its content on daily basis.
This project is based on functional approach & specifically designed for processing huge amount of data.
The project supports all types of CRUD operations.
-- Note: Designed for School project --
Name: Yogesh