Skip to content

Instantly share code, notes, and snippets.

@cevheri
cevheri / how_to_reverseproxy_proxypass_nginx_letsencrypt.md
Created September 19, 2024 09:48 — forked from gmolveau/how_to_reverseproxy_proxypass_nginx_letsencrypt.md
How to use nginx as a reverse-proxy with letsencrypt

How to use nginx as a reverse-proxy with letsencrypt

Your infrastructure

generated via plantuml

Imgur

Requirements

722284409
package net.ypmania.jio;
import de.tobiasroeser.lambdatest.junit5.FreeSpec;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
public class JIOTest extends FreeSpec {
interface HasString {
String string();
@midorinet
midorinet / setup_azure_ai.sh
Created September 19, 2024 09:47
A CLI to Setup Azure AI Hub and Serverless Model Deployment
#!/bin/bash
# Function to update the .env file with the selected model
update_env_file() {
model_choice=$1
# Remove existing AZURE_ML_REGISTRY and AZURE_LLM_MODEL lines from the .env file
grep -v '^AZURE_ML_REGISTRY=' .env > temp.env && mv temp.env .env
grep -v '^AZURE_LLM_MODEL=' .env > temp.env && mv temp.env .env
@choco-bot
choco-bot / FilesSnapshot.xml
Created September 19, 2024 09:47
pragmaticworksworkbench v2018.2.4.504 - Failed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\pragmaticworksworkbench\pragmaticworksworkbench.nupkg" checksum="AB0FD4747AC08B0E046AA89A2A95A322" />
<file path="C:\ProgramData\chocolatey\lib\pragmaticworksworkbench\pragmaticworksworkbench.nuspec" checksum="63D27609991A38243288BB8A42182DDA" />
<file path="C:\ProgramData\chocolatey\lib\pragmaticworksworkbench\tools\chocolateyinstall.ps1" checksum="F4E83A8D2728A69ED2FF4121E9FEA631" />
<file path="C:\ProgramData\chocolatey\lib\pragmaticworksworkbench\tools\chocolateyuninstall.ps1" checksum="31F71B9D98D1A83405739CCD9566EBF7" />
</files>
</fileSnapshot>
@VuongNQ
VuongNQ / Virtual host proxy Apache with SSL (Laragon config).md
Last active September 19, 2024 09:48
Virtual host proxy Apache with SSL (Laragon config)

Requiment:

Step

1: open app and choose Menu -> Apache -> SSl and enable

2: on Menu, select Quick app and choose an app Blank

3: enter name app you want to create(no space) => after tool create, your domain like: .test

#include <stdio.h>
#include <thread>
#include <unistd.h>
#include <mutex>
#include <opencv2/opencv.hpp>
class RingBuffer
{
public:
RingBuffer(size_t size, int width, int height, int type)
09-19 15:14:13.627 17199 17234 I Unity : Photon.Pun.PhotonHandler:Dispatch()
09-19 15:14:13.627 17199 17234 I Unity :
09-19 15:14:13.638 17199 17234 E Unity : Failed to connect to server after testing each known IP. Error(s):
09-19 15:14:13.638 17199 17234 E Unity : ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
09-19 15:14:13.638 17199 17234 E Unity : ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
09-19 15:14:13.638 17199 17234 E Unity : Photon.Pun.PhotonHandler:Dispatch()
09-19 15:14:13.638 17199 17234 E Unity :
09-19 15:14:13.639 17199 17234 E Unity : Connection lost. OnStatusChanged to ExceptionOnConnect. Client state was: ConnectingToGameServer. SCS v0 UDP SocketErrorCode: 0 AppOutOfFocus NetworkUnreachable WinSock
09-19 15:14:13.639 17199 17234 E Unity : Photon.Realtime.LoadBalancingClient:OnStatusChanged(StatusCode)
09-19 15:14:13.639 17199 17234 E Unity : ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
@Koennemeloen2003
Koennemeloen2003 / windmoles.ipynb
Created September 19, 2024 09:46
Windmoles.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
https://indianf.com/cdc-us-obesity-rates-2023-surge/