Skip to content

Instantly share code, notes, and snippets.

View LPiotr's full-sized avatar
🎯
Focusing

Piotr Lebelt LPiotr

🎯
Focusing
  • 09:23 (UTC +02:00)
View GitHub Profile
@luuksommers
luuksommers / .gitlab-ci.yml
Created May 31, 2022 18:50
Gitlab CI dotnet iis
# This file shows how to setup the template for your projects
include:
- project: 'templates'
file: 'gitlab-templates/dotnet-framework.v1.gitlab-ci.yml'
variables:
ENABLE_UNITTESTS: 'true'
DEFAULT_IIS_SITENAME: "my-awesome-deployment.nl" # For dev deploys this gets prefixed with 'development.', for prod it gets prefixed with 'www.'
DEFAULT_DEVELOPMENT_URL: "https://my-awesome-deployment.devserver.nl/"
DEFAULT_PRODUCTION_URL: "https://www.my-awesome-deployment.nl/"
@theorigin
theorigin / SQLServer-APIPost.sql
Last active March 15, 2025 03:16
SQL Server code to POST to an API
DECLARE @Object AS INT;
DECLARE @ResponseText AS VARCHAR(8000);
DECLARE @Body AS VARCHAR(8000) =
'{
"what": 1,
"ever": "you",
"need": "to send as the body"
}'
EXEC sp_OACreate 'MSXML2.XMLHTTP', @Object OUT;