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
# Credits: https://stackoverflow.com/a/74313286/3647782 | |
FROM ubuntu:22.10 as ubuntu-base | |
RUN apt update && apt upgrade -y | |
FROM ubuntu-base as build | |
RUN apt install -y \ | |
wget \ |
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
package ms | |
import ( | |
"github.com/Azure/azure-sdk-for-go/sdk/azcore" | |
msgraphsdkgo "github.com/microsoftgraph/msgraph-sdk-go" | |
"sync" | |
) | |
// graphServiceClientFactoryLock is used to ensure that only one instance of any msgraphsdkgo.GraphServiceClient | |
// is created at a time. This is necessary because the standard constructor functions do not seem to be thread safe. |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: ingress-test | |
labels: | |
app: ingress-test | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl" | |
xmlns:xlink="http://www.w3.org/1999/xlink" | |
xmlns:xr="urn:ce.eu:en16931:2017:xoev-de:kosit:standard:xrechnung-1" | |
xmlns:Invoice="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" | |
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" | |
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" | |
xmlns:saxon="http://saxon.sf.net/" |
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
# You can leave this on "local". If you change it to production most console commands will ask for extra confirmation. | |
# Never set it to "testing". | |
APP_ENV=local | |
# Set to true if you want to see debug information in error screens. | |
APP_DEBUG=false | |
# This should be your email address | |
SITE_OWNER=mail@example.com |
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" | |
services: | |
gitea: | |
image: gitea/gitea:latest | |
environment: | |
- USER_UID=1000 | |
- USER_GID=1000 | |
ports: | |
- "3000:3000" |
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: '2' | |
services: | |
nginx: | |
image: jwilder/nginx-proxy | |
container_name: nginx-proxy | |
environment: | |
- DEFAULT_HOST=nuget.hangfire.io | |
links: | |
- proget | |
ports: |
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
PUT /archive_document | |
{ | |
"mappings": { | |
"document": { | |
"dynamic_templates": [ | |
{ | |
"map_string": { | |
"match_mapping_type": "string", | |
"path_match": "fields.*", | |
"mapping": { |
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
#!/bin/sh | |
# syntax: setperm.s destdir | |
# | |
if [ -z $1 ] ; then echo "Requires single argument: <directoryname>" ; exit 1 ; fi | |
destdir=$1 | |
dirmode=0700 | |
filemode=0600 |
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
gource --start-position 0.9 --seconds-per-day 2 --file-idle-time 0 --hide filenames |
NewerOlder