Gist

using System;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Channels;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Hosting;
namespace apiwithqueue.hostedservice {
public class QueuedHostedService : BackgroundService
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using Org.BouncyCastle.Tls.Crypto.Impl.BC;
using Org.BouncyCastle.Security;
using Org.BouncyCastle.Tls;
class CustomTlsClient : DefaultTlsClient
using System;
using Oracle.ManagedDataAccess.Client;
using Polly;
namespace frontend.ExtensionMethods
{
public static class Extensions
{
const int retryTimes = 3;
on:
push:
branches:
- master
env:
NODE_VERSION: '12.x' # set this to the node version to use
jobs:
build-and-deploy:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bogus;
namespace CSVGeneration
{
public class Card
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Topshelf;
using NLog;
namespace ListenerService
package main
import (
"context"
"flag"
"fmt"
"io"
"log"
"net/http"
"os"
using System;
using System.Collections.Generic;
using System.Threading.Channels;
using System.Threading.Tasks;
using System.Diagnostics;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace channels
package main
import (
"context"
"database/sql"
"fmt"
"strings"
"time"
godror "github.com/godror/godror"
# Install Virtualbox (from here)[https://www.virtualbox.org/wiki/Downloads]
# Install Kubectl, refer (here)[https://kubernetes.io/docs/tasks/tools/install-minikube/#install-kubectl]
# Install Minikube, refere (here)[https://kubernetes.io/docs/tasks/tools/install-minikube/#install-minikube)
# Install Helm by following instructions at (Helm)[https://github.com/helm/helm/blob/master/docs/install.md]
# Install faas-cli, refer (here)[https://docs.openfaas.com/cli/install/]
# Start Windows Powershell using Run as Administrator
# Update Path variable by adding paths to above utilities using `$env:Path += "c:\path_to_kubectl"`
# Run `minikube start` - This will download VM image and set it up in Virtualbox and kick off K8s Cluster.
# Run `& minikube docker-env | Invoke-Expression` - This means that any Docker images built will be built in your minikube, so they are readily available.
# clond faas-netes repository using `git clone https://github.com/openfaas/faas-netes.git`.

Read the original on gist.github.com ↗