This file contains 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
internal class Program | |
{ | |
private const int PORT = 4843; | |
private static void Main(string[] args) | |
{ | |
Console.WriteLine("Packet Forwarding UP!"); | |
var client = new UdpClient(PORT); | |
var ipEndPoint = new IPEndPoint(IPAddress.Loopback, PORT); | |
while (true) |
This file contains 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
<style> | |
div#__nuxt, | |
#__layout, | |
#__layout > div, | |
#app { | |
min-height: 100vh; | |
} | |
</style> |
This file contains 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
<template> | |
<div> | |
<form @submit.prevent="sendMessage" method="post"> | |
<button type="submit">Send</button> | |
</form> | |
</div> | |
</template> | |
<script> | |
export default { | |
mounted() { |
This file contains 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
const { DataTypes } = require("sequelize"); | |
module.exports = { | |
name: "Breed", | |
modelName: "breed", | |
schema: { | |
name: { | |
type: DataTypes.STRING, | |
allowNull: false, | |
} |
This file contains 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
FROM node:alpine as builder | |
WORKDIR /usr/src/app | |
COPY package.json yarn.lock ./ | |
RUN yarn | |
COPY . ./ | |
RUN yarn generate | |
FROM nginx | |
COPY --from=builder /usr/src/app/dist /usr/share/nginx/html |
This file contains 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
## Instructions | |
https://collabnix.com/kubernetes-dashboard-on-docker-desktop-for-windows-2-0-0-3-in-2-minutes/ | |
## Dashboard URL | |
http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/overview?namespace=default |
This file contains 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
<template> | |
<div> | |
<!-- Properties automatically map --> | |
<LazyImage class="my-class" src="/some/asset.png" alt="" /> | |
<!-- Can use property and event binding --> | |
<LazyImage class="my-class" :src="transform(myObj.imageSrc)" :alt="myObj.alt" @click="showMessage" /> | |
</div> | |
</template> |
This file contains 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
[ | |
{ | |
"name":"About Me", | |
"slug":"", | |
"components":[ | |
{ | |
"type":"TextCard", | |
"content":"### Senior C# Developer\n\n I've been programming since the early 2000's, and almost all my projects have involved C# in some capacity. - Asp.NET (Forms, MVC, WebAPI) - .NET Standard / Core" | |
}, | |
{ |
This file contains 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
C:\windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v / -c -p C:\dev\src\Website\Website\code\obj\Release\Aspnet | |
CompileMerge\Source -u C:\dev\src\Website\Website\code\obj\Release\AspnetCompileMerge\TempBuildDir |
This file contains 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
# Need to set the policies for the subscribe and client ID within AWS | |
from AWSIoTPythonSDK.MQTTLib import AWSIoTMQTTClient | |
import logging | |
import time | |
import argparse | |
import json | |
# > pip install blinkt | |
import blinkt |