2023.10.6
Done on a MacBook Pro (Apple Silicon). This worked for me, your mileage may vary.
2023.10.6
Done on a MacBook Pro (Apple Silicon). This worked for me, your mileage may vary.
@echo off | |
@REM WinSCP PuTTY/Terminal client path: | |
@REM "<drive>:\<Path_to_file>\WindowsTerminal.bat" "!K" !U@!@ !# !/ "!N" | |
@REM setlocal | |
setlocal enabledelayedexpansion | |
SET "debugMode=n" | |
SET "Line=======================" |
using System.Collections.Generic; | |
using System.Text; | |
/***************************************************************************** | |
MIT License | |
Copyright (c) 2019 Werner Vänttinen | |
Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | |
"0":{ | |
"day":{ | |
"description":"Sunny", | |
"image":"http://openweathermap.org/img/wn/01d@2x.png" | |
}, | |
"night":{ | |
"description":"Clear", | |
"image":"http://openweathermap.org/img/wn/01n@2x.png" | |
} |
/** | |
* Stop an iframe or HTML5 <video> from playing | |
* @param {Element} element The element that contains the video | |
*/ | |
var stopVideo = function ( element ) { | |
var iframe = element.querySelector( 'iframe'); | |
var video = element.querySelector( 'video' ); | |
if ( iframe ) { | |
var iframeSrc = iframe.src; | |
iframe.src = iframeSrc; |
import SwiftUI | |
struct PhotoView: View { | |
@State var scale: CGFloat = 1 | |
@State var scaleAnchor: UnitPoint = .center | |
@State var lastScale: CGFloat = 1 | |
@State var offset: CGSize = .zero | |
@State var lastOffset: CGSize = .zero | |
@State var debug = "" |