Are you over 18 and want to see adult content?
More Annotations
A complete backup of kettererkunst.de
Are you over 18 and want to see adult content?
A complete backup of blackstoneproducts.com
Are you over 18 and want to see adult content?
A complete backup of desjardinsgeneralinsurance.com
Are you over 18 and want to see adult content?
A complete backup of delawarebusinesstimes.com
Are you over 18 and want to see adult content?
A complete backup of evilcontrollers.com
Are you over 18 and want to see adult content?
Favourite Annotations
✅ Download Instagram Profile Picture • Full Size
Are you over 18 and want to see adult content?
A complete backup of frugalhausfrau.com
Are you over 18 and want to see adult content?
Almost Alive Lures, The best there ever was.
Are you over 18 and want to see adult content?
Mix Rx Apothecary Collection | Skin Care To Make You Feel Radiant
Are you over 18 and want to see adult content?
Text
interpreter.
AVOID IIS TO BIND TO EVERY IP ADDRESS PORT AND OTHER The solution to this problem is limiting the binding of IIS only to some IP addresses with netsh command. 1. netsh http add iplisten 127.0.0.2:443. As usual netsh is a really useful command and the add iplisten command allows you to add one ip to the list of ip that could be used by the HTTP service. After an IIS restart, if I run first NO AGENT COULD BE FOUND WITH THE FOLLOWING As an example, in TFS 2015 Build I’ve added task to run Sonar Qube Analysis on my code. Figure 1: A build with SonarQube analysis enabled. Now if I queue a build manually, TFS warned me that it is not able to find a suitable agent, and if you ignore that warning and queue the build here is the result. Figure 2: Build failed because no AZURE DEVOPS PILLS: AVOID TRIGGERING PIPELINES CONTINUOUS There are situation when you need to push frequently on a Git repository, a typical example is when you are authoring a yaml pipeline and you are experimenting stuff; in such a situation you modify the pipeline, push, test and go on.It is quite common to push really frequently and this usually saturate standard pipelines. SET IP OF WSL2 MACHINE IN HOST FILE • CODEWRECKS 1. wsl -d ubuntu -- /etc/init.d/smbd start. This is really simple, just use the wsl command, then specify the distribution and you can simply specify command you want to run after two dashes. This become really powerful if you need to launch a command in the machine and you want to parse the content in PowerShell from host machine. This is how AZURE DEVOPS PIPELINE TEMPLATE FOR BUILD AND RELEASE NET The ability to create template pipeline in Azure DevOps is a great opportunity to define a standard way to build / test / deploy projects in your organization. Everything starts with a dedicated repository where I store a single build template file to create a MultiStage pipeline, where the first stage is a.NET core build test, and thesecond
EXPORT WORK ITEM INFORMATION TO WORD DOCUMENT • CODEWRECKS This is a series of posts on how to export data from Azure DevOps to a Word Document, composing word templates with Open XML Sdk. The projectis open source and
RUN CODE COVERAGE FOR PYTHON PROJECT WITH AZURE DEVOPS Creating a simple build that runs Python tests written with PyTest framework is really simple, but now the next step is trying to have code coverage. Even if I’m pretty new to Python, having code coverage in a build is really simple, thanks to a specific task that comes out-of-the-box with Azure DevOps: Publish Code Coverage. In Azure DevOps you can create build with Web Editor or with BIND AN IMAGE TO A PROPERTY IN WPF • CODEWRECKS The situation is the following: I have a class that has a Status property of type SingleAnalysisStatus enum, and I want to show a different png image, based on the status of the object. The solution is to write a custom IValueConverter that convert from the enum to a valid resource file, but we need to pay specific attention. In WPF you can include images as resources in a very simple way HOW TO HANDLE ERRORS IN POWERSHELL SCRIPT USED IN AZURE If you decide to use PowerShell for your build and then use it in Azure DevOps pipeline you should pay attention to manage error code PIP AND PYTHON IN VISUAL STUDIO CODE • CODEWRECKS The problem arise because Visual Studio Code is not using the very same installation of python you are using from your command line / terminal. When you edit Python files in Visual Studio Code you should select interpreter path command to specify which version of Python you want to use, as showed in Figure 2: Figure 2: Choose Pythoninterpreter.
AVOID IIS TO BIND TO EVERY IP ADDRESS PORT AND OTHER The solution to this problem is limiting the binding of IIS only to some IP addresses with netsh command. 1. netsh http add iplisten 127.0.0.2:443. As usual netsh is a really useful command and the add iplisten command allows you to add one ip to the list of ip that could be used by the HTTP service. After an IIS restart, if I run first NO AGENT COULD BE FOUND WITH THE FOLLOWING As an example, in TFS 2015 Build I’ve added task to run Sonar Qube Analysis on my code. Figure 1: A build with SonarQube analysis enabled. Now if I queue a build manually, TFS warned me that it is not able to find a suitable agent, and if you ignore that warning and queue the build here is the result. Figure 2: Build failed because no AZURE DEVOPS PILLS: AVOID TRIGGERING PIPELINES CONTINUOUS There are situation when you need to push frequently on a Git repository, a typical example is when you are authoring a yaml pipeline and you are experimenting stuff; in such a situation you modify the pipeline, push, test and go on.It is quite common to push really frequently and this usually saturate standard pipelines. SET IP OF WSL2 MACHINE IN HOST FILE • CODEWRECKS 1. wsl -d ubuntu -- /etc/init.d/smbd start. This is really simple, just use the wsl command, then specify the distribution and you can simply specify command you want to run after two dashes. This become really powerful if you need to launch a command in the machine and you want to parse the content in PowerShell from host machine. This is how AZURE DEVOPS PIPELINE TEMPLATE FOR BUILD AND RELEASE NET The ability to create template pipeline in Azure DevOps is a great opportunity to define a standard way to build / test / deploy projects in your organization. Everything starts with a dedicated repository where I store a single build template file to create a MultiStage pipeline, where the first stage is a.NET core build test, and thesecond
EXPORT WORK ITEM INFORMATION TO WORD DOCUMENT • CODEWRECKS This is a series of posts on how to export data from Azure DevOps to a Word Document, composing word templates with Open XML Sdk. The projectis open source and
RUN CODE COVERAGE FOR PYTHON PROJECT WITH AZURE DEVOPS Creating a simple build that runs Python tests written with PyTest framework is really simple, but now the next step is trying to have code coverage. Even if I’m pretty new to Python, having code coverage in a build is really simple, thanks to a specific task that comes out-of-the-box with Azure DevOps: Publish Code Coverage. In Azure DevOps you can create build with Web Editor or with BIND AN IMAGE TO A PROPERTY IN WPF • CODEWRECKS The situation is the following: I have a class that has a Status property of type SingleAnalysisStatus enum, and I want to show a different png image, based on the status of the object. The solution is to write a custom IValueConverter that convert from the enum to a valid resource file, but we need to pay specific attention. In WPF you can include images as resources in a very simple way SONAR CLOUD ANALYSIS IN GITHUB • CODEWRECKS To analyze a project with a compiled language, you need some CI engine that automates the mundane task to configure and run Sonar Cloud analyzer-. Once you choose GitHub actions, Sonar Cloud wizard asks you to add a secret to you repository. Figure 3: A wizard walks you into setting your GitHub Action to analyze the project. BIND AN IMAGE TO A PROPERTY IN WPF • CODEWRECKS The situation is the following: I have a class that has a Status property of type SingleAnalysisStatus enum, and I want to show a different png image, based on the status of the object. The solution is to write a custom IValueConverter that convert from the enum to a valid resource file, but we need to pay specific attention. In WPF you can include images as resources in a very simple way NET CORE CONFIGURATION ARRAY WITH BIND • CODEWRECKS The solution was quite simple, I created a method inside the Configuration object that will allows binding from a standard.NET Core IConfiguration object. As you can see I explicitly get the section Rules, and for each child I explicitly created a FirewallRule and populate properties with standard Bind () method. And everythingworked perfectly.
COMPILING ANGULAR APP IN WSL2 • CODEWRECKS Windows Subsystem for Linux was a nice toy to play, but never impressed me very much, one of the reason is its limitations. I do not work much on Linux, but usually I have Linux boxes with MongoDB, Elasticsearch and play with security related stuff and for those purposes I have dedicated virtual machines.. This was the reason why I did not found any real useful usage for WSL, I’ve tried to GROUP APPLICATION INSIGHT LOGS BY CUSTOM PROPERTY • CODEWRECKS Group application insight logs by custom property. Sometimes you need to group by or filter Application Insight logs using a custom property, it is really easy with the expand capabilities. Today we found excessive number of logs in Application Insight instance, an application that usually cost few bucks each month, started to usemore resources.
WINDOWS DOCKER CONTAINER FOR AZURE DEVOPS BUILD AGENT Thanks to Docker Compose, I can spin off an agent for Azure Devops in mere seconds (once you have all the images). Everything I need is just insert the address of my account a valid token and an agent is ready. With.NET core everything is simple, because we have a nice build task that automatically install.NET Core SDK in the agent, the very samefor node.js.
AZURE DEVOPS YAML PIPELINE AUTHORIZATION PROBLEM • CODEWRECKS It could happen, sometimes, that when you create a pipeline in Azure Devops at first run you got the following error. ##Pipeline does not have permissions to DEPLOY CLICK-ONCE APPLICATION ON AZURE BLOB WITH AZURE It was a long time ago I blogged on how to publish a click-once application from a VSTS Build to Azure Blob, long time was passed, and lots of stuff changed. The whole process is now simpler, thanks to many dedicated tasks that avoid doing any manual work. My new build always start with a GitVersion custom tasks, that populates some environment variables with version numbers generated CHANGE USER OF A WORKSPACE IN TFS • CODEWRECKS Suppose you have a workspace made with a certain user and you want to move it to a different user. One of the reason could be, you started working with an account WHERE IS MY DNS NAME FOR AZURE VM WITH NEW RESOURCE Azure is changing management mode for resources, as you can read from this article and this is the reason why, in the new portal, you can see two different entry for some of the resources, ex: Virtual Machines. Figure 1: Classic and new resource management in action Since the new model has more control over resources, I’ve create a linux machine with the new model to do some testing. SONAR CLOUD ANALYSIS IN GITHUB • CODEWRECKS To analyze a project with a compiled language, you need some CI engine that automates the mundane task to configure and run Sonar Cloud analyzer-. Once you choose GitHub actions, Sonar Cloud wizard asks you to add a secret to you repository. Figure 3: A wizard walks you into setting your GitHub Action to analyze the project.SECURITY ONION 2020
Security Onion 2020 - The hunt. Thanks to security onion The Hunt, searching for anomalies in network traffic is really easy and intuitive. Posted on. 2021, Jan 03 One min read. I’ve done another couple of videos about Security Onion focusing on how I can use The hunt to look for anomalies in network traffic. As for the previousvideo I give
PIP AND PYTHON IN VISUAL STUDIO CODE • CODEWRECKS The problem arise because Visual Studio Code is not using the very same installation of python you are using from your command line / terminal. When you edit Python files in Visual Studio Code you should select interpreter path command to specify which version of Python you want to use, as showed in Figure 2: Figure 2: Choose Pythoninterpreter.
HOW TO HANDLE ERRORS IN POWERSHELL SCRIPT USED IN AZURE If you decide to use PowerShell for your build and then use it in Azure DevOps pipeline you should pay attention to manage error code NO AGENT COULD BE FOUND WITH THE FOLLOWING As an example, in TFS 2015 Build I’ve added task to run Sonar Qube Analysis on my code. Figure 1: A build with SonarQube analysis enabled. Now if I queue a build manually, TFS warned me that it is not able to find a suitable agent, and if you ignore that warning and queue the build here is the result. Figure 2: Build failed because no EXPORT WORK ITEM INFORMATION TO WORD DOCUMENT • CODEWRECKS This is a series of posts on how to export data from Azure DevOps to a Word Document, composing word templates with Open XML Sdk. The projectis open source and
USE A WEBBROWSER TO LOGIN INTO A SITE THAT USE HTTPONLY Suppose you need to programmatically analyze some web pages that are protected by a login procedure and you have a valid login to the site. A simple solution is issuing a POST request to the login page with the correct credentials, then continue to use the same cookie container to issue subsequent downloads, but in some situation this is not enough. BIND AN IMAGE TO A PROPERTY IN WPF • CODEWRECKS The situation is the following: I have a class that has a Status property of type SingleAnalysisStatus enum, and I want to show a different png image, based on the status of the object. The solution is to write a custom IValueConverter that convert from the enum to a valid resource file, but we need to pay specific attention. In WPF you can include images as resources in a very simple way TFS 2018 UPDATE 3 IS OUT WHAT CHANGES FOR SEARCH • CODEWRECKS TFS 2018 Update 3 is finally out and in release notes there is a nice news for Search functionality, basic security now enforced through a custom plugin. Here is what you can read in release notes Basic authorization is now enabled on the communication between the TFS and Search services to make it more secure. Any user installing or upgrading to Update 3 will need to provide a user name WHERE IS MY DNS NAME FOR AZURE VM WITH NEW RESOURCE Azure is changing management mode for resources, as you can read from this article and this is the reason why, in the new portal, you can see two different entry for some of the resources, ex: Virtual Machines. Figure 1: Classic and new resource management in action Since the new model has more control over resources, I’ve create a linux machine with the new model to do some testing. SONAR CLOUD ANALYSIS IN GITHUB • CODEWRECKS To analyze a project with a compiled language, you need some CI engine that automates the mundane task to configure and run Sonar Cloud analyzer-. Once you choose GitHub actions, Sonar Cloud wizard asks you to add a secret to you repository. Figure 3: A wizard walks you into setting your GitHub Action to analyze the project.SECURITY ONION 2020
Security Onion 2020 - The hunt. Thanks to security onion The Hunt, searching for anomalies in network traffic is really easy and intuitive. Posted on. 2021, Jan 03 One min read. I’ve done another couple of videos about Security Onion focusing on how I can use The hunt to look for anomalies in network traffic. As for the previousvideo I give
PIP AND PYTHON IN VISUAL STUDIO CODE • CODEWRECKS The problem arise because Visual Studio Code is not using the very same installation of python you are using from your command line / terminal. When you edit Python files in Visual Studio Code you should select interpreter path command to specify which version of Python you want to use, as showed in Figure 2: Figure 2: Choose Pythoninterpreter.
HOW TO HANDLE ERRORS IN POWERSHELL SCRIPT USED IN AZURE If you decide to use PowerShell for your build and then use it in Azure DevOps pipeline you should pay attention to manage error code NO AGENT COULD BE FOUND WITH THE FOLLOWING As an example, in TFS 2015 Build I’ve added task to run Sonar Qube Analysis on my code. Figure 1: A build with SonarQube analysis enabled. Now if I queue a build manually, TFS warned me that it is not able to find a suitable agent, and if you ignore that warning and queue the build here is the result. Figure 2: Build failed because no EXPORT WORK ITEM INFORMATION TO WORD DOCUMENT • CODEWRECKS This is a series of posts on how to export data from Azure DevOps to a Word Document, composing word templates with Open XML Sdk. The projectis open source and
USE A WEBBROWSER TO LOGIN INTO A SITE THAT USE HTTPONLY Suppose you need to programmatically analyze some web pages that are protected by a login procedure and you have a valid login to the site. A simple solution is issuing a POST request to the login page with the correct credentials, then continue to use the same cookie container to issue subsequent downloads, but in some situation this is not enough. BIND AN IMAGE TO A PROPERTY IN WPF • CODEWRECKS The situation is the following: I have a class that has a Status property of type SingleAnalysisStatus enum, and I want to show a different png image, based on the status of the object. The solution is to write a custom IValueConverter that convert from the enum to a valid resource file, but we need to pay specific attention. In WPF you can include images as resources in a very simple way TFS 2018 UPDATE 3 IS OUT WHAT CHANGES FOR SEARCH • CODEWRECKS TFS 2018 Update 3 is finally out and in release notes there is a nice news for Search functionality, basic security now enforced through a custom plugin. Here is what you can read in release notes Basic authorization is now enabled on the communication between the TFS and Search services to make it more secure. Any user installing or upgrading to Update 3 will need to provide a user name WHERE IS MY DNS NAME FOR AZURE VM WITH NEW RESOURCE Azure is changing management mode for resources, as you can read from this article and this is the reason why, in the new portal, you can see two different entry for some of the resources, ex: Virtual Machines. Figure 1: Classic and new resource management in action Since the new model has more control over resources, I’ve create a linux machine with the new model to do some testing. ADD A CAPABILITY TO AGENT IN A DEPLOYMENT GROUP • CODEWRECKS When you deploy a Build agent in VSTS / TFS, in the administration page you have the ability to add custom Capabilities to the agent, as you can see in Figure 1. Figure 1: Adding capabilities to a standard build agent. With the new Release Management, you can install agents in machine that will be added to Deployment Groups. If you look at the UI, you can see that the capabilities tab is GROUP APPLICATION INSIGHT LOGS BY CUSTOM PROPERTY • CODEWRECKS Group application insight logs by custom property. Sometimes you need to group by or filter Application Insight logs using a custom property, it is really easy with the expand capabilities. Today we found excessive number of logs in Application Insight instance, an application that usually cost few bucks each month, started to usemore resources.
AVOID IIS TO BIND TO EVERY IP ADDRESS PORT AND OTHER The above output confirms me that ports 443 was already bound for all IPv4 and IPv6 addresses by process ID 4 (system/IIS), leading to the obvious conclusion: IIS is binding port 443 to every IP address in the system even if I specify the binding to happen only for specific IP. The solution to this problem is limiting the binding of IIS only to some IP addresses with netsh command. SET IP OF WSL2 MACHINE IN HOST FILE • CODEWRECKS 1. wsl -d ubuntu -- /etc/init.d/smbd start. This is really simple, just use the wsl command, then specify the distribution and you can simply specify command you want to run after two dashes. This become really powerful if you need to launch a command in the machine and you want to parse the content in PowerShell from host machine. This is how BIND AN IMAGE TO A PROPERTY IN WPF • CODEWRECKS The situation is the following: I have a class that has a Status property of type SingleAnalysisStatus enum, and I want to show a different png image, based on the status of the object. The solution is to write a custom IValueConverter that convert from the enum to a valid resource file, but we need to pay specific attention. In WPF you can include images as resources in a very simple way USE A WEBBROWSER TO LOGIN INTO A SITE THAT USE HTTPONLY Suppose you need to programmatically analyze some web pages that are protected by a login procedure and you have a valid login to the site. A simple solution is issuing a POST request to the login page with the correct credentials, then continue to use the same cookie container to issue subsequent downloads, but in some situation this is not enough. CONVERTING REGULAR BUILD IN YAML BUILD • CODEWRECKS YAML build in VSTS / TFS is one of the most welcomed feature in the Continuous Integration engine , because it really opens many new possibilities. Two of the most important advantages you have with this approach are: build definitions will follow branches, so each branch can have a different definition, then, since the build is in the code, everything is audited, you can pull CHANGE USER OF A WORKSPACE IN TFS • CODEWRECKS Suppose you have a workspace made with a certain user and you want to move it to a different user. One of the reason could be, you started working with an account TROUBLESHOOT WCF EXCEPTION • CODEWRECKS After adding this section to the configuration file you can fire the program and use it until you get the WCF exception you are trying to troubleshoot, once you had the exception you can simply double click on the client.svclog file and Microsoft Service Trace Viewer will open, showing you detailed information of everything happened in WCF stack.. The tool is really super easy to use, all GIT FOR WINDOWS GETTING INVALID USERNAME OR PASSWORD WITH Figrue 1: Credential manager in your Control Panel settings. Opening Credential manager you can manage windows and web credentials. Now simply have a look to both web credentials and windows credentials, and delete everything related to GitHub or the server you are using. The next time you issue a git command that requires authentication,you
Skip to Main Menu Toggle SidebarCODEWRECKS
Wrecks of code floating in the sea of internet* Home
TAGS
* release
* Tools
* TfsAPI
* AzDo
* Books
* VSTSDBEdition
* log4net
* Python
* VSTS
* lucene
* Team Foundation Server* Nhibernate
* Debugging
* blogging
* Continuous Deployment* SSIS
* Branch
* CQRS
* Mongo
* Visual Studio 2013* NoSql
* NDepend
* Winforms
* Nunit
* Tfs service
* Uncategorized
* Blog
* Testing
* ClickOnce
* signalr
* Programming
* Office
* ICriteria
* Unit Testing
* SpringNET
* masstransit
* MongoDB
* Git
* ALM
* Rest APIs
* CUIT
* VCS
* VSDBEdition
* JQuery
* Solr
* Tools and library
* WCF IIS7
* Enterprise Library* Sql Server
* Agile
* TFVC
* ApplicationInsights* RavenDB
* Hardware
* OOP
* IoC
* General
* SQLite
* Power Tools
* developing
* Tfs Power Tools
* Web Test
* WebBrowser
* git-tf
* Net
* ASPNET
* UnitTesting
* NETCORE
* mms
* WSL
* dev11
* Virtual Machine
* ssh
* Performance
* EF Code First
* VSAlm
* Process Template
* Gecko
* Backup
* TestLab
* TFS11
* DataDude
* sonarcloud
* EF41
* ReleaseManagement
* VS11
* GitHub Actions
* Castle
* Languages
* EF5
* Visual Studio ALM
* Aop
* wsl2
* Addin
* nuget
* workflow
* Lab Management
* Resharper
* Tfs
* VS2010
* Linux
* shim
* sonarqube
* Scrum
* Entity Framework
* SSD
* Visual Studio
* security
* Silverlight
* Upgrade
* Software Architecture* searching
* github
* TfsBuild
* Blend
* TFS Build
* DevOps
* Html
* VSO
* LINQ
* Symbols
* RhinoMock
* TeamFoundationServer* DDD
* ORM
* terraform
* Azure
* EverydayLife
* tika
* IIS
* Pipeline
* WPF
* vNext
* Azure Pipelines
* kali
* AspNet MVC
* HQL
* Javascript
* PowerShell
* Continuous Integration* C
* nsm
* Architecture
* NET framework
* T4 Generator
* API
* Plugin
* Macro
* Zero Trust Security* AzureDevOps
* UAT
* build
* MEF
* CodeAnalysis
* Pills
* MVVM
* MsTest
* Microsoft Test Manager* Hacking
* VS2012
* YAML
* XAML
* NET Core
* Docker
* securityonion
* DataGrid
* Azure Devops
* Excel
* Ubuntu
* Frameworks
* Visual Studio Database Edition * Architecture Castle* MetroUi
* windows
* Wcf
* hugo
* TF Service
* Experiences
* EF
* OpenXml
* Nablasoft
* Continuos Integration* Msbuild
Skip to Content Toggle Sidebar* Home
* Categories
* About
* Privacy
* Home
CODEWRECKS
Wrecks of code floating in the sea of internet Welcome to my blog, a place where I can track down solution to common problem I found during my work or interesting stuff I come across wandering in the internet. Actually all of my posts were converted from WordPress to Hugo, and the old blog folder (/blog) is not active anymore.Gian Maria.
RECENT POSTS
*
Posted on 2021, Jun 03 HOW TO RESOLVE HOSTNAME IN A WSL INSTANCE WITH INTERNAL IP*
Posted on 2021, May 28 WINGET IS FINALLY A THING*
Posted on 2021, May 27 KEEP MONGODB LOGFILE SIZE AT BAY*
Posted on 2021, Apr 26 AZURE DEVOPS: USE SPECIFIC VERSION OF JAVA IN A PIPELINE*
Posted on 2021, Apr 17 RETURN VALUE IN POWERSHELL, A TYPICAL ERROR * Open Github account in new tab * Open Twitter account in new tabTwitter icon* Contact via Email
* Open Linkedin account in new tab 2020-2021 Ricci Gian Maria This website is using cookies By continuing I assume your permission to deploy cookies, as detailed in the Privacy & Cookies Policy. ContinueLearn more about this site Privacy & Cookies Policyx
Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0