This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# shellcheck disable=SC2002 | |
# shellcheck disable=SC2020 | |
# shellcheck disable=SC2086 | |
# shellcheck disable=SC2317 | |
# shellcheck disable=SC1073 | |
# shellcheck disable=SC1009 | |
# shellcheck disable=SC1072 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Web.Mvc; | |
using iText.Barcodes; | |
using iText.IO.Font; | |
using iText.IO.Font.Constants; | |
using iText.IO.Image; | |
using iText.Kernel.Colors; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Configuration for netcore 8.0 | |
using EmployeeManagement.Models; | |
using EmployeeManagement.Security; | |
using Microsoft.AspNetCore.Authorization; | |
using Microsoft.AspNetCore.Identity; | |
using Microsoft.AspNetCore.Mvc.Authorization; | |
using Microsoft.EntityFrameworkCore; | |
using NLog; | |
using NLog.Web; |
AuthenticationException: Cannot determine the frame size or a corrupted frame was received.
System.Net.Security.SslStream.GetFrameSize(ReadOnlySpan buffer)
HttpRequestException: The SSL connection could not be established, see inner exception.
System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, bool async, Stream stream, CancellationToken cancellationToken)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit } from '@angular/core'; | |
import { MatTableModule } from '@angular/material/table'; | |
import { BinanceRestService } from '../../../core/services/binance-rest.service'; | |
import { | |
BinanceData, | |
BinanceEmac, | |
} from '../../../core/interfaces/binance.interface'; | |
import { CommonModule } from '@angular/common'; | |
import { EmacPositionEmojiPipe } from '../../../core/pipes/emac-position-emoji.pipe'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table mat-table [dataSource]="dataSource" class="mat-elevation-z8"> | |
<!--- Note that these columns can be defined in any order. | |
The actual rendered columns are set as a property on the row definition" --> | |
<!-- Number Column --> | |
<ng-container matColumnDef="position"> | |
<th mat-header-cell *matHeaderCellDef> Nº </th> | |
<td mat-cell *matCellDef="let element"> {{element.position}} </td> | |
</ng-container> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum RoleEnum | |
{ | |
Student, | |
Company | |
} | |
public interface ISearchEngine | |
{ | |
void Search(string query); // General search method | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Retrieves a paginated list of trackers for a specified request, supporting sorting, searching, and pagination. | |
/// Returns a JSON result with paginated data compatible with DataTables. | |
/// See: <see cref="ListedTrackerDto"/>. | |
/// </summary> | |
/// <param name="requestId">ID of the request for which trackers are being retrieved.</param> | |
/// <returns>JSON result containing paginated tracker data, record count, and error information if applicable.</returns> | |
[HttpPost] | |
public virtual ActionResult GetTrackerPaginatedList(int requestId) { | |
var watch = Stopwatch.StartNew(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Logging": { | |
"LogLevel": { | |
"Default": "Information", | |
"Microsoft.AspNetCore": "Warning" | |
} | |
}, | |
"AllowedHosts": "*", | |
"ConnectionStrings": { | |
"RazorPagesMovieContext": "Server=localhost;Database=RazorPagesMovieContext-d67b7425-08c7-4b61-ad49-6d9eda3c0a16;Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=True;Encrypt=False" |
NewerOlder