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
EVENTSTORE_CLUSTER_SIZE=3 | |
EVENTSTORE_RUN_PROJECTIONS=All | |
EVENTSTORE_DISCOVER_VIA_DNS=false | |
EVENTSTORE_ENABLE_EXTERNAL_TCP=true | |
EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP=true | |
EVENTSTORE_ADVERTISE_HOST_TO_CLIENT_AS=127.0.0.1 |
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
version: "3.5" | |
services: | |
setup: | |
image: eventstore/es-gencert-cli:1.0.2 | |
entrypoint: bash | |
user: "1000:1000" | |
command: > | |
-c "mkdir -p ./certs && cd /certs | |
&& es-gencert-cli create-ca |
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
version: "3.4" | |
services: | |
eventstore.db: | |
image: eventstore/eventstore:20.10.2-buster-slim | |
environment: | |
- EVENTSTORE_CLUSTER_SIZE=1 | |
- EVENTSTORE_RUN_PROJECTIONS=All | |
- EVENTSTORE_START_STANDARD_PROJECTIONS=true | |
- EVENTSTORE_EXT_TCP_PORT=1113 |
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
{ | |
"basics": { | |
"name": "Lane Katris", | |
"label": "Full Stack Developer", | |
"image": "https://avatars1.githubusercontent.com/u/3193546?v=4", | |
"email": "[email protected]", | |
"phone": "", | |
"url": "https://lanekatris.com", | |
"summary": "Innovative Full Stack Developer with 9 years experience with microservices, distributed systems, relational and search databases, and the latest UI frameworks. Personally I enjoy learning and working with IoT/hardware projects. Outside of work you'll catch me rock climbing, playing disc golf, or basketball.", | |
"profiles": [ |
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
<Segment.Group> | |
<Responsive as={Segment} {...Responsive.onlyMobile}> | |
Mobile | |
</Responsive> | |
<Responsive as={Segment} {...Responsive.onlyTablet}> | |
Tablet | |
</Responsive> | |
<Responsive as={Segment} {...Responsive.onlyComputer}> | |
Computer | |
</Responsive> |
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
# Courtesy of https://stackoverflow.com/questions/30604846/docker-error-no-space-left-on-device | |
docker volume rm $(docker volume ls -qf dangling=true) | |
docker volume ls -qf dangling=true | |
docker rmi $(docker images | grep '^<none>' | awk '{print $3}') |
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
// This Timer.h library came from here: https://github.com/JChristensen/Timer | |
#include "Timer.h" | |
#define avoidPin 4 | |
#define relayPin 5 | |
#define delayMs 100 | |
#define timeoutMs 1000 * 30 | |
int lastValue; | |
bool isTimerRunning = 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
# .\test.ps1 -path c:\temp | |
param ( | |
[Parameter(Mandatory=$true)] | |
[string]$path, | |
[string]$folderName = "references" | |
) | |
Write-Host "Looking for folders with the name $folderName here: $path" | |
$folders = Get-ChildItem -Path $path -Filter $folderName -Recurse -Directory |
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
# sudo nano /etc/systemd/system/kestrel-hellomvc.service | |
[Unit] | |
Description=Example .NET Web API Application running on Ubuntu | |
[Service] | |
WorkingDirectory=/var/aspnetcore/hellomvc | |
ExecStart=/usr/bin/dotnet /var/aspnetcore/hellomvc/hellomvc.dll | |
Restart=always | |
RestartSec=10 # Restart service after 10 seconds if dotnet service crashes |
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
-- Remove pesky temp tables | |
IF OBJECT_ID('tempdb..#hack') IS NOT NULL DROP TABLE #hack |
NewerOlder