Friday, 16 September 2022

matdialog after closed pass data

 dialogRef.afterClosed().subscribe(result => {

      if(result.event == 'Add'){
        this.addRowData(result.data);
      }else if(result.event == 'Update'){
        this.updateRowData(result.data);
      }else if(result.event == 'Delete'){
        this.deleteRowData(result.data);
      }
    });
sedn data after dialog ref close
>>try comapare two arrays based on key value

Friday, 9 September 2022

My FIrst Python Project

 To create Python

1.create enviornment

2.install flask

2.install flaskjson

2.install flasksqlalcahmey

4.run cmds 

  1.flask run to run in local server

5.create dabase locally

i.from app import db

ii.db.create_all()
iii.from app import Employee
iv.emp = Employee(firstname="pk", lastname="p", gender="f", salary=123)
v.db.session.add(emp)
vi. db.session.commit()
vii.emp = Employee(firstname="pk", lastname="p", gender="f", salary=123)
viii. db.session.add(emp)
xi.db.session.commit()
x Employee.query.all()


sample git hub code 


Thursday, 8 September 2022

python sql conn

 


in pycharm unable to connect to the sql so suggeted to in sql configuration manager

selecet sql server network configuration select protocols

>>enable tcp/ip true


Saturday, 3 September 2022

 angular cli cmd in local getting issue that when we give cmd it is opening with select file to run chrome,notepad... to resolve this issue goto the npm path and dlt ng files npm i angular cli again

Thursday, 4 August 2022

CI/CD pipeline

 https://code.visualstudio.com/api/working-with-extensions/continuous-integration

https://docs.gitlab.com/ee/ci/troubleshooting.html


Wednesday, 3 August 2022

azure blob storage

 https://offering.solutions/blog/articles/2020/08/09/uploading-files-to-azure-blob-storage-with-angular-and-asp.net-core/

step2:

https://www.youtube.com/watch?v=YJppasNV2I8

step3:(imp)

https://www.youtube.com/watch?v=8ejbClKO5Vg



Tuesday, 2 August 2022

publish static pages in github

 Note:to make github pages make repository public

to convert repo into public use below settings



junior devops engnr

  Position Overview: We are a growing start up seeking a Junior Azure DevOps Engineer with 2 to 3 years of experience to support our Azure...