Path to mergetool:
C:/Program Files/SourceGear/Common/DiffMerge/sgdm.exe
Mergetool command:
"C:/Program Files/SourceGear/Common/DiffMerge/sgdm.exe" /m /r="$MERGED" "$LOCAL" "$BASE" "$REMOTE"
using System; | |
namespace ExpressionChainDemo | |
{ | |
public class Car | |
{ | |
public DateTime RegistrationDate { get; set; } | |
public DateTime PurchaseDate { get; set; } | |
} | |
} |
(function() { | |
var invalidElementFinders = { | |
"Lists should have titles": () => Array.from(document.querySelectorAll("ul,li")).filter(el => !el.title), | |
"Articles should be aria-labelledby": () => Array.from(document.querySelectorAll("article")).filter(el => !el.getAttribute("aria-labelledby")), | |
} | |
var validateAccessibility = function () { | |
Array.from(document.querySelectorAll("*")).forEach(el => { | |
el.classList.remove("is-not-accessible"); | |
if (el.problems) delete el.problems |
If you want to prepare your PC beforehand, I would
export async function getParcel(coords: {lat: number, lng: number}): Promise<Feature> { | |
let url = `https://gisservices.information.qld.gov.au/arcgis/rest/services/PlanningCadastre/LandParcelPropertyFramework/MapServer/4/query?geometry=${coords.lng}%2C${coords.lat}&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelIntersects&outFields=*&returnGeometry=true&outSR=4326&f=geojson` | |
let response = await fetch(url); | |
let collection = await response.json(); | |
return (collection && collection.features[0]) || null; | |
} |
<html> | |
<head> | |
<title>Model Viewer Example</title> | |
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script> | |
<script nomodule src="https://unpkg.com/@google/model-viewer/dist/model-viewer-legacy.js"></script> | |
</head> | |
<body> | |
<model-viewer src="https://stevesspace.com/assets/models/Astronaut.glb" | |
ar ar-modes="webxr scene-viewer quick-look" ar-scale="auto" camera-controls | |
alt="A 3D model of an astronaut" |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Xml; | |
using UnityEditor; | |
using UnityEditor.Build; | |
using UnityEditor.Build.Reporting; | |
using UnityEngine; | |
namespace Project.Scripts.Editor |
let imageConversion = require("image-conversion"); | |
var fs = require("fs"); | |
let jimp = require("jimp"); | |
let ImageJs = require("image-js"); | |
let output = "public/images/icon"; | |
const scales = [100, 125, 150, 200, 240, 400]; | |
const iconTargetSizes = [16,24,32,48,256]; | |
const iconTargetDecorations = ['unplated_targetsize', 'targetsize']; |
# Variables | |
$repo = "Owner/RepoName" | |
$daysAgo = 14 | |
$twoWeeksAgo = (Get-Date).AddDays(-$daysAgo).ToString("yyyy-MM-ddTHH:mm:ssZ") | |
# Fetch all artifacts older than 2 weeks | |
$artifacts = gh api "repos/$repo/actions/artifacts" --paginate --jq ".artifacts | map(select(.created_at < `"`"$twoWeeksAgo`"`"`"))" | ConvertFrom-Json | |
# Check if there are any artifacts |