Skip to content
Menu
e-lo [IT Engineer life]
  • Home
    • Notes
    • Important notes
  • Database
    • T-SQL
    • SQL Server quick
    • SQL server docs
    • MySql quick sheet
    • Postgre
    • InfluxDB
  • Programming
    • MS Azure Powershell
    • MS Azure Command-Line Interface (CLI) doc
    • Python Docs
    • Python Logging
    • Python-cheat-sheet
    • Git-guide
  • Azure
    • MS Windows virtual machines in Azure
    • MS ARM Docs
    • MS ARM Template Docs
    • MS ARM Functions
    • MS Bicep+ARM
    • MS ARM Tutorial
    • MS Deployment scripts (intern/extern)
    • MS Virtual Network
  • Az-nutshell
    • ms-technology-choices-compute-decision-tree
    • ms-data-store-decision-tree
    • ms-data-explorer
    • ms-storage-explorer
    • ms-azure-sql
    • ms-common-data-services
    • ms-azure-mysql-daas
    • ms-sla
    • az paas
    • az glossary-quicksheet
    • az-test-vm-script-quickguide
  • Linux
    • Top CMD’s
    • Useful CMD Linux
    • ss64 Linux
    • Ubuntu
    • 30 things Ubuntu 18.04
    • Bootable Ubuntu USB
    • LinuxFilesystemTreeOverview
  • Sys Admin
    • System Administrator
    • Sys News
    • Packet Sniffers
  • Zen
    • Not thinking about anything is Zen
e-lo [IT Engineer life]

Category: Github

TODO ARM Actions MS (CI/CD)

Posted on December 11, 2020January 4, 2021 by espenk

CI/CD Workflow Deploy credentials Configure secret Add ARM Template Create workflow The workflow is trigger when there is a push event on the main branch, which modifies at least one of the two files specified. Workflow status https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-github-actions

+

Git pull request

Posted on May 22, 2020May 22, 2020 by espenk

https://opensource.com/article/19/7/create-pull-request-github Account donaldtest fork the repos from spawnmarvel: https://github.com/donaldtest/powershellcode git clone https://github.com/request-user/demo cd foldergit checkout -b new_branch git remote add upstream https://github.com/fork-user/demo Now you can make changes to the code. Once you push the changes to your repo, the Compare & pull request button will appear in GitHub. Click Compare & pull request Open a…

+

Python Development in Visual Studio Code

Posted on February 11, 2019February 19, 2020 by espenk

https://realpython.com/python-development-visual-studio-code/ (Real Python and Jon Fincher tutorial) In this article, you’ll learn about Python development in Visual Studio Code, including how to: Install Visual Studio Code Discover and install extensions that make Python development easy Write a simple Python application Learn how to run and debug existing Python programs in VS Code Connect Visual Studio…

+

Apache Solr 7.5 Index build with DirectUpdateHandler2 HTTP (with delete index)

Posted on November 3, 2018July 1, 2022 by espenk

http://lucene.apache.org/solr/guide/7_5/uploading-data-with-index-handlers.html Index Handlers are Request Handlers designed to add, delete and update documents to the index. In addition to having plugins for importing rich documents using Tika or from structured data sources using the Data Import Handler, Solr natively supports indexing structured documents in XML, CSV and JSON. The default in solrconfig.xml is an UpdateHandler:…

+

pywinservice, running a simple Python script as a windows service

Posted on August 16, 2018November 4, 2018 by espenk

pywinservice, running a simple Python script as a windows service Code: https://github.com/spawnmarvel/pywinservice Make a virtualenv, store your code there. Make a run.py file, in that file you can start / call a database, a webcrawler, http, mail or whatever code you want to execute. When you are done with coding your scripts, test this: Make…

+

Django database API foreign key 102

Posted on August 8, 2018November 4, 2018 by espenk

https://docs.djangoproject.com/en/2.0/topics/db/queries/   Our models have now changed and a new model has been added to e-lo. In RawText, we store the input, in BlobText we store the functions from TextBlob lib. If we remove the instance from the first table, we also need to remove it from the second. Ref on_delete = models.CASCADE Lets add…

+

Django database API migrations and models 101

Posted on August 8, 2018November 4, 2018 by espenk

Django API Once you’ve created your data models, Django automatically gives you a database-abstraction API that lets you create, retrieve, update and delete objects. This document explains how to use this API. Refer to the data model reference for full details of all the various model lookup options. https://docs.djangoproject.com/en/2.0/topics/db/queries/ So our testmodel is a simple…

+

Github 101 + ssh

Posted on July 30, 2018September 20, 2021 by espenk

Commit and push to a newly created repository: https://git-scm.com/docs Navigate to folder with git cmdAdd the files in your new local repository. This stages them for the first commit.Commit the files that you’ve staged in your local repository.At the top of your GitHub repository’s Quick Setup page, click to copy the remote repository URL. In…

+

Python and Flask

Posted on July 26, 2018November 19, 2018 by espenk

I have been learning flask for about 1 year now. It has been fun, frustrating at times and I wish I would have finished the full documentation for it. But at least now I know how the different parts fit together, and all the “magic” that is inculde in Django is a developer’s choice when…

+

RSS Azure

  • MLOps Blog Series Part 3: Testing scalability of secure machine learning systems using MLOps June 30, 2022

RSS RabbitMQ

  • RabbitMQ 3.8.15 release

RSS Python

  • PEP 694: Upload 2.0 API for Python Package Repositories June 11, 2022

Tags

5 min (29) Ansible (1) ARM (10) azure (41) cmd (3) Django (4) Docker (1) e-lo (2) Flask (2) Github (9) Grafana (2) Information (7) Information Retrieval (13) JAVA (1) kivy (2) Kotlin (6) linux (15) mobile (2) Natural Language Prossesing (NLP) (2) Net.Core (1) Networking and Security (9) OPC (2) PEP8 (1) Philosophy (3) Python (48) Python Networking and Security (5) Reason (2) RMQ (3) Solr (11) Sql (10) Uncategorized (2) VSC (1) Warframe (2) WMVARE (4) Zabbix (7)

Recent Posts

  • 401 access denied win server (iis), Local Security Policy
  • Callback
  • Share-level permissions IAM Azure AD
  • Packet Sniffers
  • MSA Account

Archives

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Photo by Markus Spiske from Pexels "Matrix"

©2022 e-lo [IT Engineer life] | Powered by WordPress & Superb Themes