Skip to content

Instantly share code, notes, and snippets.

@wurdum
wurdum / log.txt
Created July 17, 2018 13:42
Log file example
2018-07-17 13:17:10.102 +03:00 [INF] Starting web host
2018-07-17 13:17:13.299 +03:00 [INF] User profile is available. Using '/Users/wurdum/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
2018-07-17 13:17:45.772 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:5000/api/alerts/sdasdsa?status=HASKJDHLA&snoozed=fooob
2018-07-17 13:17:47.343 +03:00 [INF] Executing action method Enstoa.Services.SFBuild.Controllers.AlertsController.GetAll (Enstoa.Services.SFBuild) with arguments (["sdasdsa","HASKJDHLA","False"]) - ModelState is "Invalid"
2018-07-17 13:19:07.774 +03:00 [INF] Executed action Enstoa.Services.SFBuild.Controllers.AlertsController.GetAll (Enstoa.Services.SFBuild) in 81349.885000000009ms
2018-07-17 13:19:08.466 +03:00 [ERR] An unhandled exception has occurred while executing the request
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not foun
@wurdum
wurdum / uninstall.sh
Created July 8, 2018 07:22
uninstall dotnet from mac
#!/usr/bin/env bash
#
# Copyright (c) .NET Foundation and contributors. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
#
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
current_userid=$(id -u)
if [ $current_userid -ne 0 ]; then