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 static void GenerateCSV(DataTable dt) | |
| { | |
| StringBuilder sb = new StringBuilder(); | |
| try | |
| { | |
| int count = 1; | |
| int totalColumns = dt.Columns.Count; | |
| foreach (DataColumn dr in dt.Columns) | |
| { | |
| sb.Append(dr.ColumnName); |
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
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "tabWidthMode": "titleLength", | |
| "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
| "copyOnSelect": false, | |
| "copyFormatting": false, | |
| "profiles": { | |
| "defaults": { | |
| "acrylicOpacity": 1, | |
| "antialiasingMode": "grayscale", |
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
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: ingress-nginx | |
| labels: | |
| app.kubernetes.io/name: ingress-nginx | |
| app.kubernetes.io/instance: ingress-nginx | |
| --- |
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
| apiVersion: storage.k8s.io/v1 | |
| kind: StorageClass | |
| metadata: | |
| name: local-storage | |
| provisioner: kubernetes.io/no-provisioner | |
| volumeBindingMode: WaitForFirstConsumer |
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 class ScheduleHostedService: BackgroundService | |
| { | |
| private readonly ILogger<ScheduleHostedService> _logger; | |
| private readonly DaemonSettings _settings; | |
| public ScheduleHostedService(IOptions<DaemonSettings> settings, ILogger<ScheduleHostedService> logger) | |
| { | |
| _logger = logger; | |
| _settings = settings.Value; | |
| } |
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 { Injectable } from '@angular/core'; | |
| import { HttpClient, HttpHeaders, HttpParams, HttpResponse } from '@angular/common/http'; | |
| import { Observable } from 'rxjs/Observable'; | |
| /** This class implements some features that should be tested. */ | |
| @Injectable() | |
| export class HttpClientFeatureService { | |
| constructor( | |
| private http: HttpClient |
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
| This can be used in Mac by using following trick: | |
| Open trial.key at path: /Applications/Beyond\ Compare.app/Contents/Resources/trial.key | |
| Replace content of trial.key with: | |
| --- BEGIN LICENSE KEY --- | |
| H1bJTd2SauPv5Garuaq0Ig43uqq5NJOEw94wxdZTpU-pFB9GmyPk677gJ | |
| vC1Ro6sbAvKR4pVwtxdCfuoZDb6hJ5bVQKqlfihJfSYZt-xVrVU27+0Ja | |
| hFbqTmYskatMTgPyjvv99CF2Te8ec+Ys2SPxyZAF0YwOCNOWmsyqN5y9t | |
| q2Kw2pjoiDs5gIH-uw5U49JzOB6otS7kThBJE-H9A76u4uUvR8DKb+VcB | |
| rWu5qSJGEnbsXNfJdq5L2D8QgRdV-sXHp2A-7j1X2n4WIISvU1V9koIyS |
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
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: mongo | |
| labels: | |
| name: mongo | |
| spec: | |
| ports: | |
| - port: 27017 | |
| targetPort: 27017 |
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
| kind: PersistentVolumeClaim | |
| apiVersion: v1 | |
| metadata: | |
| name: mongo-pv-claim | |
| spec: | |
| storageClassName: manual | |
| accessModes: | |
| - ReadWriteOnce | |
| resources: | |
| requests: |
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
| kind: PersistentVolume | |
| apiVersion: v1 | |
| metadata: | |
| name: mongo-pv | |
| labels: | |
| type: local | |
| spec: | |
| storageClassName: manual | |
| capacity: | |
| storage: 1Gi |
NewerOlder