Skip to content

Instantly share code, notes, and snippets.

View siddheshkand's full-sized avatar
🖥️
Focusing

Siddhesh Kand siddheshkand

🖥️
Focusing
View GitHub Profile
@siddheshkand
siddheshkand / mt5.cs
Last active September 22, 2025 05:50
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
class Program
{

.env

MONGO_DB=ajsaas
MONGO_DB_HOST=mongodb://localhost:27017/

Backend/app/settings.py

# inside apps or tenant apps register the app name
 'tenant_new_custom_app',
[
{
field: "formative",
children: [
{
field: "daily_observation",
headerName: "Daily Obs.",
cellRenderer: "minMaxValidatorRenderer",
headerComponent: "agGridHeaderV1Component",
cellEditorParams: {
// Service for pdfmake
@Injectable({
providedIn: 'root'
})
export class PdfMakeWrapperService {
constructor() { }

Angular Copilot will do static analysis of anular project on you loacal machine without using any cloud service it all happens on local machine

Why to use because :

  1. No need to go vs code to understand the project
  2. Vs code understandin will take time
  3. Usefull for develovers / tech lead / business people
  4. KT will be smooth and fast

Angular Copilot brings AngularDoc’s analytical engine to your desktop, so that you can benefit from the static analysis of your Angular applications, while your source code and its metadata remain secure on your local machine.

let student = [
{
id: 1,
name: 'ganesh'
},
{
id: 2,
name: 'dinesh'
},
{
@siddheshkand
siddheshkand / ssr.md
Last active September 4, 2022 09:16
  • ng add @nguniversal/express-engine
Inside Angular json 

insider architect key => update output path => remove ProjectName
insider server key => update output path => remove ProjectName

inside server.ts update disfolder => path to ./browser
[
{
"component": "dnTitleListComponent",
"data": {
"title": "Marquee Projects",
"list": [
"Automatic plant design from schematics to Plant3D files",
"Nesting applications for Optimized use of space",
"Automation of Drafting of product models into multiple CAD software, CAD-CAM integration, CAD Renderer integration, Export plugins (OBJ, WebGL, STL, etc.)",
"Automated 3D to 2D sheet generation, Automated 3D content generation using parametric modeling",
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Django",
"type": "python",
"request": "launch",

Create new branch locally

  • git pull / git clone
  • git checkout -b {{my_feature}} main
  • git push -u origin {{my_feature}}
  • git push

Delete branch locally after pull request is merge

  • git remote prune origin
  • git checkout master / git checkout main